Download Logicator for PIC Micros User Guide
Transcript
Time The PICAXE M2 chips have an internal clock module. The Time On command starts the clock cycle. The Time Off command will stop the clock. The elapsed time will be measured in seconds by the variable ‘Time’. The flowchart below will measure the elapsed time until a button is pressed. The Time can be viewed in the Time panel and in this case its value is stored in the variable A. Using READ and WRITE commands to store a count This flowchart shows how the Read and Write commands are use to store the number of times a switch is pressed. 51