This content originally appeared on Level Up Coding - Medium and was authored by The Tech Maker
I’ve creates a compendium of code and pinouts for boards and displays
Sooner or later we need a display for one of our Maker projects. Although they’re easy to get and affordable, documentation is often hard to find.
So the big question quickly arises, what pins are needed, what library is needed, and how do you program it?
This has happened to me several times. For every display I wanted to use in a project, I had to go on a scavenger hunt. I couldn’t remember where I’d stored the information I found the last time. Usually it was nowhere to be found, so I went back on the Internet to see if I could dig it up again. Again I’d waste time sifting through millions of hits, until I found the right information.
The Arduino ESP Display Compendium
Since I’ve spent a lot of time trying to find the right information for what should be a simple task, I decided to create a compendium for all my displays and boards. To save you some time and make your live easier I would like to share this collection with you:
ArduinoESPDisplayCompendium
The collection is organized in different subdirectories for
- Arduino
- Attiny85
- ESP32
- ESP8266
Within these directories you’ll find sketches for connecting and coding various displays.
All sketches start with a comment describing the hardware pinning and some other info. This is followed by the libraries, the pin definition, the setup code and a loop where a counter is incremented and its value is printed on the display.
Example: Connecting the I2C OLED 128x64 to an Arduino Board
This collection is a quick and easy way to connect and program a display for my projects. It’s also a quick way to check if a display is broken or not.
Just upload the sketch and off you go.
A word about the source code, it can all be found somewhere on the internet. I just took the time to put it together in one place for easy access.
Many thanks to all the people who make their work available to our Maker community.
So, feel free to download anything you need for your projects.
Happy making!
My Arduino/ESP Display Sketch Collection for Your Maker Projects was originally published in Level Up Coding on Medium, where people are continuing the conversation by highlighting and responding to this story.
This content originally appeared on Level Up Coding - Medium and was authored by The Tech Maker
The Tech Maker | Sciencx (2021-08-30T01:10:04+00:00) My Arduino/ESP Display Sketch Collection for Your Maker Projects. Retrieved from https://www.scien.cx/2021/08/30/my-arduino-esp-display-sketch-collection-for-your-maker-projects/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.