venerdì 28 dicembre 2012

Arduino hc-sr04 code: example arduino sketch

https://blog.giuseppeurso.net/wp-content/uploads/2012/12/pinghc-sr4-150x150.jpg
Arduino Sonar hc-sr04 codeI use the hc-sr04 for keeping my quadcopter at same altitude triggered by an added channel but also for automatic take-off and automatic landigs (still in progress). So i used this piece of code to initialize it and do some test. Is is good enough within 3,4 meters, not...
Arduino hc-sr04 code: example arduino sketch

Nessun commento:

Posta un commento