123456789101112 |
- require "led"
- require "pins"
- pmd.ldoset(2,pmd.LDO_VLCD)
- -- local blueLed = pins.setup(pio.P0_2, 0)
- -- local redLed = pins.setup(pio.P0_0, 0)
- netLed.setup(true, pio.P0_2)
- netLed.updateBlinkTime("SCK",1000,4000)
- netLed.updateBlinkTime("SIMERR",0,0xFFFF)
|