LLAP (formally aP) code, schematic and layout for building a wireless temp sensor

hippy

Technical Support
Staff member
Good stuff but I was wondering if the following is correct and I'm missing something; you seem to be sending "-" in commands but checking for "#" in the code ...

aTTTEMP-----

serin 3,T2400_4,("a",s1,s2),b0,b1,b2,b3,b4,b5,b6,b7,b8

if b0="T" and b1="E" and b2="M" and b3="P" and b4="#" and b5="#" and b6="#" then ...
 

ciseco

Senior Member
I'd have to check, you could be right in it being a typo

UPDATE: Well found I have corrected it, it's not a typo it's that on more powerful micros you can specify the format so ### is all integer, ##.# is 1 decimal place etc and the test bed was expecting it in that format, the axe hasnt enough code space so TEMP--- is the command that's most appropriate and what comes back is fixed in style. I have changed it so it'll actually respond to either it now just matches "TEMP" as bytes 4,5,6,7

Also took out "here" line, must have been a debug line.

Shows how simple LLAP phrases/commands are.
 
Last edited:

Paix

Senior Member
on more powerful micros you can specify the format so ### is all integer

Other, alternative, compilers/programming editors. The limitation is the software not the micro, although I'm sure we know what you meant :)

Nice bit of code and a very presentable board. Thank you.
 
Top