PENGUIN ROBOT Tick Clock - the Code
As promised, here's the code to TickClock.
penguin_tiny_timer.bpx
humanoido
penguin_tiny_timer.bpx
humanoido
' ---------------------- Descriptions ------------------------------- ' ' This program turns Penguin robot into an accurate timer without ' any clock or components add-on. It has code to accurately do ' timing. This is made possible by the new faster Penguin board which ' has more cycles per unit time. The code has all the tiny frills - ' lights, sound, and timing! Exactly, it's penguin_tiny_timer. ' ' It does tick-clock. Ticks like a watch, clocks like a digital ' timer. Uses the segment display and special sound echo subroutine ' to generate a bonified tick sound. ' ' The Penguin Tiny Timer is a ten second digital watch with display, ' audible start beep, and watch "second" ticking sounds. It counts 0 ' to 9 then 0, for ten seconds. ' ' To operate, switch on Penguin, hear startup tone, and the display ' will show a zero. This is the starter. Counting of time begins ' exactly when the 0 appears. ' ' The number on the display indicates the elapsed seconds. After ' the nine digit, a zero indicates the ten second mark and the ' program ends with an audible mark. Press reset to start. ' ' Note, the statements in this program contribute to timing.
Comments
As with all your Penguin software applications, this one delivers as promised and is a great piece of coding work.
Thanks again for making it available.
Carl