According to the input from the touch sensor, LEDs colour will change

Dependencies:   mbed MMA8451Q

Auto generated API documentation and code listings for lab11_surface

Code

main.cpp [code]