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 (1.93 KiB) Viewed 12847 times
- thunderbolt2b.gif (1.94 KiB) Viewed 12847 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 :
Last edited by
Awot on Wed May 03, 2017 3:32 pm, edited 1 time in total.