Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/le-krogoth/mc_helloworld
Small project to learn how to use PlatformIO together with Heltec WifiKit8
https://github.com/le-krogoth/mc_helloworld
esp8266 learn-to-code pio platformio wifikit8
Last synced: 7 days ago
JSON representation
Small project to learn how to use PlatformIO together with Heltec WifiKit8
- Host: GitHub
- URL: https://github.com/le-krogoth/mc_helloworld
- Owner: le-krogoth
- License: agpl-3.0
- Created: 2022-05-27T08:47:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-27T13:09:45.000Z (over 2 years ago)
- Last Synced: 2024-10-16T11:34:34.796Z (21 days ago)
- Topics: esp8266, learn-to-code, pio, platformio, wifikit8
- Language: C++
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Micro Controller Hello World
Small project to get some code running on the Heltec WifiKit 8 (easily adapted to another esp8266 based device, as long as there is a screen attached).This code is based on the source written for the 2018 Area41 Security Conference Badge and will do nothing more than display a helix on the screen. Nicely animated with
## Howto
### Preparation
Initialise the project.Important:
- If you pulled this repo, already done, won't be needed anymore
- If you use another IDE, either remove or replace the --ide param> pio project init --board heltec_wifi_kit_8 --ide clion
To use CLion as an IDE, or when things wont work as expected, (re-)run this command. Sometimes the IDE gets confused by PlatformIO and needs its config to be re-initialised.
> pio project init --ide clion
### Having fun
To update middleware> pio update
To compile
> pio run
To upload to the device (attached via USB)
> pio run -t upload
To start the serial monitor
> pio device monitor
## What to look into after things compile and run
- Have a look at the platformio.ini to see some special configuration like monitor_speed and build_flags.
- Can you change speed?
- Can you show more, less discs?
- Can you stop and start the animation using a button?
-