Skip to content

Instantly share code, notes, and snippets.

@eccnil
eccnil / Led.py
Created July 6, 2022 21:57
Programa de prueba de micropython
from machine import Pin
import uasyncio
import utime
class Led:
def __init__(self, pin):
self.pin = pin
async def _blink(self, milis):
while True:
self.pin.value(not self.pin.value())
@eccnil
eccnil / platformio.ini
Created July 16, 2020 16:29
configuración para esp-debug
[env:lolin32]
platform = espressif32
framework = arduino
board = lolin32
monitor_speed = 115200
#upload_port = /dev/cu.SLAB_USBtoUART
upload_protocol = esp-prog
upload_port = /dev/cu.usbserial-14101

Keybase proof

I hereby claim:

  • I am eccnil on github.
  • I am eccnil (https://keybase.io/eccnil) on keybase.
  • I have a public key ASAx7magnAhkqOA_D051xNRSjvyod0QmwpxQTZFHLFSBGwo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am eccnil on github.
* I am eccnil (https://keybase.io/eccnil) on keybase.
* I have a public key ASBk1s7i5JG0mwshPMC2cUCh0GfhIu2cX9KNw-YcZMTrlgo
To claim this, I am signing this object:
{
"result": {
"httpCode": "200",
"httpMessage": "OK",
"moreInformation": "Ejecución correcta"
},
"data": {
"balance": 100405846.64
}
}
[{"constant":false,"inputs":[{"name":"x","type":"uint256"}],"name":"set","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"get","outputs":[{"name":"retVal","type":"uint256"}],"type":"function"}]