ledTask.lua 255 B

123456789101112
  1. require "led"
  2. require "pins"
  3. pmd.ldoset(2,pmd.LDO_VLCD)
  4. -- local blueLed = pins.setup(pio.P0_2, 0)
  5. -- local redLed = pins.setup(pio.P0_0, 0)
  6. netLed.setup(true, pio.P0_2)
  7. netLed.updateBlinkTime("SCK",1000,4000)
  8. netLed.updateBlinkTime("SIMERR",0,0xFFFF)