Search found 4 matches
Search found 4 matches • Page 1 of 1
- Sat Jun 29, 2019 4:49 pm
- Forum: ESP32 boards
- Topic: PIR Sensor + LED || Is this code well implemented?
- Replies: 2
- Views: 832
Hello! I made this testing of a PIR Sensor (movement) that just turns a LED on, using ISR's. I just want to share it with you and ask if this interrupt is well implemented, and else how can it be improved. from machine import Pin from time import sleep motion = False def handle_interrupt(pin): #Avoi...
- Fri Jun 14, 2019 11:29 am
- Forum: General Discussion and Questions
- Topic: Micropython Language for VS Code
- Replies: 6
- Views: 1210
There is one extension on VS Code calle PyMakr, it is focused on Pycom boards but it seemed to work for many people who wanted to run MicroPython on VSCode. For me personally it didn't work. After installation it always prompt an error message about serialport module one time and another (I think it...