I don't think one byte is enough to store your temperature . with one byte the maximum reading will be 25.5 degree then 25.6 will make your byte overflow to 0.
Al.
I don't think one byte is enough to store your temperature . with one byte the maximum reading will be 25.5 degree then 25.6 will make your byte overflow to 0.
Al.
All progress began with an idea
Sorry, should of mentioned, they are words
with bytes for timeCode:Temperatures VAR WORD[4] Temp1 VAR Temperatures[0] Temp2 VAR Temperatures[1] Temp3 VAR Temperatures[2] Temp4 VAR Temperatures[3]
Code:TimeH var byte TimeM var Byte
Last edited by malc-c; - 10th September 2010 at 17:55.
One alternative (assuming I can find it in the UK) is this
http://www.jianpingusa.com/datasheet...nstruction.pdf
Basically an SD/MMC card reader that communicates via serial
Ouch - $50
Have you seen this?
Need an 18F with a fair amount of memory. 18F2550 works great with it.
Dave
Always wear safety glasses while programming.
http://melabs.com/resources/samples/pbp/sdfs3.htm
It was a hidden link![]()
Dave
Always wear safety glasses while programming.
LOL - yeah right !!
Interesting and seems a simple project... the only thing is that I don't have 6 pins available, at least not without changing the package to a 44 pin package and even then I still think it would be tight or short of a pin.... not to mention the re-design of the PCB
Thanks for the link though...
I've opted to do the logging in the PC application, for now![]()
Bookmarks