Git Product home page Git Product logo

space-shooter-iot's Introduction

Space Shooter IOT

npm install socket.io

Error Code

Logic

the logic of blink is :

  • blink the number of the current process with an interval of 1 sec
  • 5 blink with 0.5 sec of interval for validate the test
  • 5 blink with 0.2 sec of interval for invalid process / connection
  • 10 blink with 0.2 sec of interval for invalid user interaction

example : step 1 = init phase 1 => one blink step 2 = wifi testing => 5 blink of 0.5 interval => validate step 3 = init phase 2 => 2 blink with 1 sec interval step 4 = sensor testing => 5 blink with 0.2 interval => !! ERROR of the sensor !!

ESP 32

Order test :

  1. Wifi Connection
  2. Server Connection
  3. Gyroscope Connection

Importante Note for ESP :

  • first blink its normal connection of wifi (ignore it)

Raspberry PI

Order test :

  1. Wifi Connection
  2. Server Connection
  3. Button Test => you have 5 sec for press the button
  4. HC04 Test sensor => you have 5 sec for put your hand in front of the sensor between 5 and 10 cm

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.