mirror of
https://github.com/alexandrebobkov/ESP32-S3_Arduino-Uno.git
synced 2025-08-07 19:27:02 +00:00
.
This commit is contained in:
14
README.md
14
README.md
@@ -4,10 +4,22 @@ _ESP32-S3 Module embeded on Arduino Uno board_
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
### Micropython LED Blinky Code
|
||||||
```code Python
|
```code Python
|
||||||
import esp, esp32, time, os, _thread
|
import esp, esp32, time, os, _thread
|
||||||
from machine import Pin, SoftI2C, I2C
|
from machine import Pin, SoftI2C, I2C
|
||||||
from ina219 import INA219
|
|
||||||
|
def status_led():
|
||||||
|
while True:
|
||||||
|
led.value(1)
|
||||||
|
time.sleep_ms(250)
|
||||||
|
led.value(0)
|
||||||
|
time.sleep_ms(250)
|
||||||
|
led.value(1)
|
||||||
|
time.sleep_ms(250)
|
||||||
|
led.value(0)
|
||||||
|
time.sleep_ms(750)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user