I have to do it in c.
So if the pic doesnt have hardware I2C how do you use it.
Search found 7 matches
- Wed Nov 07, 2012 9:02 pm
- Forum: C and ASM Programming
- Topic: get average voltage
- Replies: 3
- Views: 6426
- Tue Nov 06, 2012 6:08 pm
- Forum: C and ASM Programming
- Topic: get average voltage
- Replies: 3
- Views: 6426
get average voltage
Hi I have to get the average value of 4 inputs to a philips pcf8591 using I2C and a 16F88. However I have read that the pic cant handle I2C that well and I will have ' bit bang' the data. I dont really know what this means.If anyone could give me some idea of the c code I would be very grateful. the...
- Sun May 27, 2012 11:45 am
- Forum: General Programming
- Topic: Circuit will not work with 20MHZ xcal
- Replies: 2
- Views: 2472
Re: Circuit will not work with 20MHZ xcal
Hi Martin Thanks for inquiring. After three days of torture i found the problem, it was the capacitors on the voltage regulator,they werent the correct value. They were close but not right, when I put in the correct values it worked. So obviosly if your working with a high frequency xcal you need to...
- Wed Apr 11, 2012 12:29 pm
- Forum: E-blocks
- Topic: EB006 with PIC16F88 - Keypad problem
- Replies: 9
- Views: 7570
Re: EB006 with PIC16F88 - Keypad problem
Hi
Just a possibility, have you a ground wire on keypad
if you are getting different readings then some of your connection could be floating.
Just a possibility, have you a ground wire on keypad
if you are getting different readings then some of your connection could be floating.
- Wed Apr 11, 2012 10:29 am
- Forum: General Programming
- Topic: Circuit will not work with 20MHZ xcal
- Replies: 2
- Views: 2472
Circuit will not work with 20MHZ xcal
Hi guys Im a bit stuck at the moment I am trying to get a motor running with PWM and things were going well but I wanted a higher PWM frequency for better control and eliminate audible hum. So I changed out my 4MHZ crystal and put in a 20MHZ made all the necessarily changes but nothing works properl...
- Tue Apr 10, 2012 11:03 am
- Forum: Flowcode V2 & V3
- Topic: USB port on a 16F877A
- Replies: 3
- Views: 5670
Re: USB port on a 16F877A
Hi John
Thanks for the reply
Unfortunately I have to use the 16F877A, I will check out what you suggested see how it goes.
Puddy
Thanks for the reply
Unfortunately I have to use the 16F877A, I will check out what you suggested see how it goes.
Puddy
- Mon Apr 09, 2012 12:48 pm
- Forum: Flowcode V2 & V3
- Topic: USB port on a 16F877A
- Replies: 3
- Views: 5670
USB port on a 16F877A
Hi all Im doing a project at collage at the moment with a 16F877A, motor controller with PID, Im nearly finished and in the process of programming so I want to put a USB port onto my circuit board so i can programme it in circuit. However I cant seem to get it right and it is frustrating to have to ...