User Manual

MakeCode Touch
There are four capacitive touch pads you can use to
detect human touch. They have big pads you can use to
attach alligator clips to extend the pads' reach.
You can connect the other end of the alligator wires to
fruit and make your own fruit-touch robot. Or move
servo motors based on touch, it's all fun.
Touch is identical on the micro:bit version of Crickit.
You can read the value of the captouch pads from the MakeCode CRICKIT block group, block crickit read touch . This
will return a value that is the change in value, touched vs. not.
Example for Crickit plus Circuit Playground Express or Feather
The program below sets up Crickit capacitive touch on pads 1, 2, 3 and 4. It then loops forever - if you touch a pad, it
lights a NeoPixel. Pressing Button A clears the NeoPixels.
Crickit Inputs such as Touch can sometimes lock up when using MakeCode with CircuitPlayground - we
recommend using the alligator connection pads on the 'bare' CPX instead of the Crickit until this is fixed! Or
you can use Arduino, CircuitPython, micro:bit, etc.
© Adafruit Industries
https://learn.adafruit.com/adafruit-crickit-creative-robotic-interactive-
construction-kit
Page 74 of 201