mirror of
https://github.com/alexandrebobkov/ESP32-S3_Arduino-Uno.git
synced 2025-08-07 03:08:46 +00:00
.
This commit is contained in:
@@ -10,7 +10,9 @@ _ESP32-S3 Module embeded on Arduino Uno board_
|
|||||||
import esp, esp32, time, os, _thread
|
import esp, esp32, time, os, _thread
|
||||||
from machine import Pin, SoftI2C, I2C
|
from machine import Pin, SoftI2C, I2C
|
||||||
|
|
||||||
|
# An infinite loop thread to blink LED
|
||||||
def status_led():
|
def status_led():
|
||||||
|
# Blink pattern short-short-long
|
||||||
while True:
|
while True:
|
||||||
led.value(1)
|
led.value(1)
|
||||||
time.sleep_ms(250)
|
time.sleep_ms(250)
|
||||||
|
Reference in New Issue
Block a user