Elenco Snap Circuits SnapMicro ® I Standard User Manual

Page 66

Advertising
background image

65

Create the following flowchart:

In the above flowchart the data is stored in registers 80 to 127 with the “poke” command and retreived
by using a subroutine called ddump wi

th the “peek” command. The “gosub” command only stops the

time keeping process to retreive the data and send it to the terminal. Time keeping is then resumed
where it left off by the return command at the end of the ddump subroutine. Use the PICAXE

®

drop down

menu and convert the flow chart to a program similar to the one shown on the next page. Be sure to add
your own notes and change labels to make your program easy to understand when you revisit this
program at a later date.

Advertising