Totally off the top of my head, are the variables the proper size for that math?
Robert
Totally off the top of my head, are the variables the proper size for that math?
Robert
THC and result variables are WORD type.
Do you have the pins on the 71 pulled high?
Dave
Always wear safety glasses while programming.
Tried 4.7k pull-ups on all pins, does not helps.
From cs low to the out of data the maximum time delay is 70 ns. you are using 5 ms. play with that delay using pauseus.
See data sheet timing table.
Cheers
Al.
All progress began with an idea
Bookmarks