The Magic HalloWing (electronic Magic 8-ball) #HalloWing #Adafruit #Gaming @cogliano
Via Dan the Geek comes a Magic 8-ball like project using the Adafruit HalloWing board.
I have created another game, the “Magic Hallowing”. Inspired by the children’s toy “Magic 8-Ball”, this Arduino sketch turns an Adafruit Hallowing into a fortune teller. Ask it a yes or no question, like “Will the Orioles have a winning season this year?”, shake the Hallowing, and the answer will appear on the screen, like “Don’t count on it”. Disclaimer: this is for recreational purposes only and should not be used to answer real life questions (but you already knew that).
The Magic Hallowing utilizes Adafruit’s HalloWing M0 Express. It contains the ATSAMD21G18 microcontroller by Microchip and has a ton of features. The Magic Hallowing sketch utilizes the HalloWing’s TFT display for displaying the answers and an accelerometer to monitor the shaking of the device. The list of answers generated by the Magic Hallowing are the same ones used the original Magic 8-Ball toy as described on Wikipedia. Also, the display fades in and out when displaying answers and the main title to make it look more mysterious.
There is an excellent article about setting up the Arduino IDE for Hallowing on Adafruit’s website. Specifically, you will need to install the following Arduino libraries for this sketch as discussed under the “Using the TFT” and the “Full Test Sketch” sections in the article:
- Adafruit ST7735
- Adafruit GFX
- Adafruit LIS3DH
- Adafruit Unified Sensor
Once the Arduino IDE and libraries are installed, you will need to install The Magic Hallowing sketch, which can be found on my Github page at https://github.com/ZContent/Adafruit_Magic_Hallowing
See more and maybe consider following @cogliano on Twitter.
from Adafruit Industries – Makers, hackers, artists, designers and engineers! http://bit.ly/2F72BEm
via IFTTT