diff --git a/docs/thonny.md b/docs/thonny.md index db36b05..cbad482 100644 --- a/docs/thonny.md +++ b/docs/thonny.md @@ -1,7 +1,8 @@ # Thonny -## Install +`MicroPython` +## Install ### Linux ``` @@ -14,3 +15,37 @@ cd thonny-4.1.7 ``` ### Windows + + + +## Code + +### (HIGH) status +led.value(1) +led.on() + +### (LOW) status + +led.value(0) +led.off() + + +### Pin +led_placa = Pin(2, Pin.OUT, value=1) + +### Button +boton_up = Pin(4, Pin.IN, Pin.PULL_DOWN) + + +## Mod + +### Time + +import utime + +utime.sleep() + +utime.sleep_ms() + +utime.sleep_us() + diff --git a/src/thonny/README.md b/src/thonny/README.md deleted file mode 100644 index 6f320d4..0000000 --- a/src/thonny/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# Thonny - -`MicroPython` - - -## Led - - -### (HIGH) status -led.value(1) -led.on() - -### (LOW) status - -led.value(0) -led.off() - - -### Pin -led_placa = Pin(2, Pin.OUT, value=1) - -### Button -boton_up = Pin(4, Pin.IN, Pin.PULL_DOWN) - - -## Mod - -### Time - -import utime - -utime.sleep() - -utime.sleep_ms() - -utime.sleep_us()