Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 2.19 KB

File metadata and controls

25 lines (20 loc) · 2.19 KB

CIT banner

LoRa Board Display Exercise

An exercise for using either the TTGO or Heltec LoRa board OLED displays.

Who this is for

This is a beginning exercise for displaying text on an ESP32 development board. The level of proficiency required is in alignment with CSC121 at University of Michigan - Flint, which is Programming I in C++. While this exercise can be done inside of a first C++ programming course, one will need to be familiar with command line tools and a CLI environment, especiallly if using Linux.

Pre-requisites

To get started, you will need the C++ compiler, cmake, python and platformio installed. There are a few ways to do this, but the Platformio IDE is the easiest. It is simply a distribution of VSCode with Platformio's CLI tools integrated within. There are also many other IDEs supported by Platformio, which can be viewed here. This service is a dependency manager that makes it easy to work with embeded software projects.

Setup

If you are having trouble deciding which avenue to take, first install python and then install PlatformIO through the installer script according to this documentation: https://docs.platformio.org/en/latest/core/installation/methods/installer-script.html Afterward, the Assignment.md file will show you how to use this CLI tool to flash your code to a board.

If you happen to use CLion like the author...

Then I have instructions to make everything pretty easy for you.

Compatible Boards

The CDP currently supports the following boards:

Assignment

The assignment is to print your name, UMID and course number on the screen. The instruction for the assignment can be found in the Assignment.md file.