Temp sensor problems

Related to the development libraries, released by Curt Binder
Post Reply
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: Temp sensor problems

Post by Bryan »

Hi Roberto:

Afraid you may be right <sigh>. Do you mind posting the sketch you used. I think I might know what the problem is in AVRStudio, but want to make sure I have the right sketch code first.
-=Bryan=-
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Temp sensor problems

Post by rimai »

I actually used the standard libraries, but here is the sketch.
Attachments
LibraryTest.pde
(2.18 KiB) Downloaded 413 times
Roberto.
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: Temp sensor problems

Post by Bryan »

I think it might be one of the compiler optimization flags I am using in AVRStudio that could be causing the problem. They both use AVR-GCC so can't see why it would not work other than my addition of additional flags.
-=Bryan=-
Bryan
Posts: 147
Joined: Wed Jul 06, 2011 1:49 am
Location: Vancouver, B.C.

Re: Temp sensor problems

Post by Bryan »

Yup, that was what it was, one of the optimization flags I was using, just not sure which one though, will be a process of elimination. Used the standard flags that Arduino uses and it worked, albeit a larger hex size.
-=Bryan=-
Post Reply