GamebuinoClassic archive

Archive of the Gamebuino Classic forum (2014-2018), rebuilt from the pages kept by the Wayback Machine: only part of the topics and pages were captured. Read-only. Removal on request: hi@gamebuino.com.

Forum › Games Gallery

ThunderBolt_Calc

Awot Sun Apr 30, 2017 9:38 pm
Hello,
i share a little program i made to calculate your distance from a thunder light
it s a simple program and i share it because i think it could be a good example to start to code on Gamebuino
thunderbolt1b.gif
thunderbolt1b.gif (1.93 KiB) Viewed 3871 times

thunderbolt2b.gif
thunderbolt2b.gif (1.94 KiB) Viewed 3871 times

1 - see a lighting = press A
2 - hear the sound = press B
3 - time is * by speed of sound : give the distance from the lightning
4 - four distances are kept
5 - moving of the lightning is indicated : "approaching" or "receiding"


source and files :
Thunderbolt_Calc.zip
(15.55 KiB) Downloaded 226 times
Attachments: Thunderbolt_Calc.zip (not archived)
erico Mon May 01, 2017 3:57 am
Uau! Great idea, I´m sure going to give a go the next thunderstorm! :)
Some simple ideas are just the best, congrats!