Skip to main content

Release 14

New Features

  • Much more free RAM available for user code (code usually starts with over 50kB of free RAM nowadays)
  • API to read free memory: imp.getmemoryfree()
  • API to read BSSID of AP imp is associated to: imp.getbssid()
  • New SPI API with multibyte read and write (see SPI section in docs)
  • APIs to read millisecond and microsecond elapsed time: hardware.millis() and hardware.micros()
  • uart.flush() returns only when last data has hit the wire
  • UARTs now have a data ready callback, meaning they no longer need to be polled
  • imp-002 module support: access to the additional pins, UARTs and PWMs
  • When wifi association is lost, imp will blink red immediately vs when a transmit failed

Bug Fixes

  • Fixed: DNS client randomizes XID to ensure that buggy DNS caches/relays work correctly
  • Fixed: Server pipe is now flushed before sleep modes are entered
  • Fixed: DAC outputs now work
  • Fixed: time() could wrap strangely around midnight UTC
  • Fixed: pin9 change handler re-registration would cause crash
  • Fixed: DIGITAL_OUT_OD was actually push-pull (DIGITAL_OUT)