Skip to content

axelfauvel/sophiaconf-2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

conf_af_tv_sophia_2021

How to use it ?

prerequisites

You'll need a mosquitto and redis up and running

web server

Install dependencies in requirements.txt and run gunicorn -b 0.0.0.0:8080 app:app from frontend folder

backend

Install dependencies in requirements.txt and run python consumer.py

load code to m5stick

You need to have ampy and picocom installed You need to know which port your m5stick uses, something like /dev/tty.usbserial-6152A0EFA8

Then you need to fill config.py with proper configuration

Once it's done, upload config.py and main.py to your m5stick using ampy

ampy -p /dev/tty.usbserial-6152A0EFA8 --baud 115200 put main.py /flash/main.py

ampy -p /dev/tty.usbserial-6152A0EFA8 --baud 115200 put config.py /flash/config.py

slides

Slides are made with marp. To generate them in html format, use cli marp slides.md -o html/slides.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published