Coder Social home page Coder Social logo

magic8's Introduction

Magic 8 Ball

The Magic 8 Ball application displays messages on the LCD when the touch sensor module is tapped. There are 20 statements out of which any one can appear randomly at each tap on the sensor. So ask away!

Table of Contents

1. Hardware

1.1 Hardware requirements:

  1. DragonBoard 410c
  2. Power Supply
  3. Sensors Mezzanine
  4. Micro USB Cable
  5. Grove-LCD 16x2 RGB Backlight
  6. Grove Touch Sensor Module

1.2 Hardware Setup:

To begin, connect the Sensors Mezzanine board onto the DragonBoard via the low-speed expansion connector on both boards. Use the Grove Universal 4 pin cables to connect the LCD to I2C0 and the Touch sensor module onto GPIO G3. You can find an image of the setup in the images folder. That’s it! We’re all set to run our application.

2. Software

2.1 Operating System

2.2 Package Dependencies

  1. MRAA Library
$ sudo apt-get install libupm-dev
  1. UPM Library
$ sudo apt-get install libmraa-dev

3. Building and Running:

$ git clone https://github.com/96boards-projects/magic8.git
$ cd projects
$ cd magic8
$ make
$ ./magic8

4. Conclusion:

When the executable is run, the application displays an initial message on the LCD and waits for the sensor to be tapped. With each tap, a new statement is displayed. These statements can be modified by the user in the code.

magic8's People

Contributors

mani-sadhasivam avatar ric96 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.