stupid bool question
Id there no bool type variable in spin?
smallest is just byte?
I·just want to do myVar:=!myVar and toggle between 0-1 to keep as a flag for something.
obviously with a byte it will toggle 0 and 255
whats the best / efficiant way to do that for a single flag?
thanks Jesse
smallest is just byte?
I·just want to do myVar:=!myVar and toggle between 0-1 to keep as a flag for something.
obviously with a byte it will toggle 0 and 255
whats the best / efficiant way to do that for a single flag?
thanks Jesse
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering