Hover + Adafruit NeoMatrix
For this example, we're going to use the Adafruit NeoMatrix to display the Hover features such as swipes and touches. Also, with the NeoPixel RGB leds, we'll be able to clearly demonstrate the xyz detection - one single point in 3d space.
Hook up your NeoPixel to your Arduino
In this example, we'll be using the 8x8 - 64 RGB LED Pixel Matrix. You can find more information about this amazing LED matrix at Adafruit. For this example, you'll need to download the Adafruit Neopixel library and follow the hookup wires below.
5V - 5V
GND - GND
DIN - Any digital Pin on Arduino, but our code uses Pin D7
Download Code from Github and Flash!
The full example is posted on our Github. Click the link on the right to jump straight to Github and download our code.
Notes on the Code
Hover has 4 main features - swipes, touch, 3d position and airspin. Each feature is grouped in the code, which allows users to comment out features they don't want to see. Sometimes with both 3d position and swipes turned on, the grid may detect multiple features at once which will make the output on the neoMatrix a little hectic.
You're all set
Hopefully at this point, your project is working as expecting. Any easy way to make sure everything is working is to open up your serial monitor and check for debug messages being printed by the Beam library. We highly recommend following the quick start guide here. If it's still not working, double check your wiring or email us at email@example.com