Giter Site home page Giter Site logo

transferjson2wioterminal's Introduction

transferJSON2WioTerminal

Video Demo : https://twitter.com/Nicho810/status/1270609454984163328

  1. upgrade the wifi firmware of Wio Terminal

  2. upload the Arduino code(remember to change ssid/pwd/ip address)

  3. install flask via pip(python3 must)

  4. run run.py on python3

  5. open your browser: yourIP:5000 to check if it work

  6. change color by entering yourIP:5000/color/blue or yourIP:5000/color/green

  7. The serial monitor of Arduino should output message like below:

    14:58:48.331 -> HTTP/1.0 200 OK
    14:58:48.331 -> Content-Type: text/html; charset=utf-8
    14:58:48.331 -> Content-Length: 20
    14:58:48.331 -> Server: xxxxxxxxxxxxx
    14:58:48.331 -> xxxxxxxxxxxxxxx
    14:58:48.331 -> 
    14:58:48.331 -> json{"color":"blue"}start json processing...
    14:58:48.365 -> {"color":"blue"}
    14:58:48.365 -> color:blue
    14:58:48.500 -> change color to blue...
    14:58:48.500 -> Closing connection.
    14:58:48.500 -> Waiting 2 seconds before restarting...
    

transferjson2wioterminal's People

Stargazers

 avatar

Watchers

 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.