Skip to main content

imp006 Breakout Kit Sample Code

The following code samples have been developed specifically for the imp006 Breakout Kit, but they can be readily adapted for use with other imp-based development devices.

Examples which make use of the Kit’s Grove connectors can be adapted by connecting the add-on hardware direct to the imp breakout board’s GPIO pins.

imp006-specific Examples

  • Visual thermometer — Read the temperature using one the Kit’s on-board sensors and present it on a Grove-connected LED display.
  • Visual Distance Ranger — Measure the distance to objects using a Grove-connected ultrasonic ranger and present the result on a Grove-connected LED display.

Generic Examples

The following examples either provide versions written for the imp006 Breakout Kit or can be readily adapted for it.