cesanta / mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
https://mongoose-os.com
Other
2.51k stars 432 forks source link

Arduino pulseIn() equivalent #330

Open gitcodr opened 7 years ago

gitcodr commented 7 years ago

Please implement an Arduino pulseIn() equivalent in mongoose-os. Reference can be found here: https://www.arduino.cc/en/Reference/PulseIn

grand87 commented 7 years ago

It is very important API for future Arduino libraries wrapping - for example Ultrasonic sensor requires it See below link: https://github.com/JRodrigoTech/Ultrasonic-HC-SR04

redhoodie commented 6 years ago

👍 Very keen for this to get done; for now using Arduino

jameselsey commented 6 years ago

I'm also keen for this feature, without pulseIn I can't see a way to read echo data from a HC-SR04 ultrasonic sensor