- Get your ESP8266 and Seeedstudio Light Sensor ready. You can use it from any of the Seeed Grove Kits.
- Download and install mOS tool for Mongoose OS. Follow installation instructions on https://mongoose-os.com/software.html
- Follow step by step instructions from this video:
- init.js code:
load('api_grove.js');
Grove.Button.attach(5, function() {
print('Light: ', Grove.LightSensor.get(0));
});
- Enjoy!
If you like this and find useful, please hit the 'Respect project' button and don't forget to 'Share'. That way we will hear your feedback and bring even more exciting projects to you door.
Want to play with other Seedstudio sensors from Grove Kits? Check other tutorials we have for Button, Motion Sensor, Moisture Sensor, UV Sensor, Relay, Buzzer.
Check also other projects by Mongoose OS team.
Let us know if any questions or feedback -> forum.cesanta.com
Comments