I decided to go with an Arduino Uno because it seemed a little easier to learn. I got it up and running, even wrote a sequential LED program from scratch. Now the question... I'm looking into building a simple motion detector/alarm circuit, but do not know enough about the language to work it out.
In Assembly, you would scan the motion sensor, if the bit has changed (alarm), you would wait 15 seconds, scan the disable bit, and either sound the alarm, or loop to the previous step. It is easier to loop to specific points in assembly. I cannot find the concept in the library, nor can I find a reference to a disable or sleep mode. Any hints or ideas would be greatly appreciated! (keep in mind, I'm a real noob with this program...)
Thanks!!
In Assembly, you would scan the motion sensor, if the bit has changed (alarm), you would wait 15 seconds, scan the disable bit, and either sound the alarm, or loop to the previous step. It is easier to loop to specific points in assembly. I cannot find the concept in the library, nor can I find a reference to a disable or sleep mode. Any hints or ideas would be greatly appreciated! (keep in mind, I'm a real noob with this program...)
Thanks!!