Shop OBEX P1 Docs P2 Docs Learn Events
Tracy Allen''s state machine — Parallax Forums

Tracy Allen''s state machine

ArchiverArchiver Posts: 46,084
edited 2002-09-23 10:50 in General Discussion
Hello,

> Sounds like you need to store the initial (non-alarm) state of the
sensors
> in the EEPROM and then compare the actual inputs to this state to
see if
> something is wrong. Check out the DATA command in the Stamp manual.

That's a good idea, I don't need to use the data statement, I can
just compare against a number, the non-alarm state represent a
binaire number, I can simply use the $ identifier and compare against
a HEX number.

Thx

Michel
Sign In or Register to comment.