Cool project to begin with OLED 128x64 work, done with a twisted logic to fix the refresh flashing screen.
Step 1: What You Need?
1 x Breadboard
1 x USB Type-B Cable
Don't have components? Don't worry. Just click the component's name.
Step 2: Build Your Circuit.
Step 3: Download The Library & Upload The Code.
We comment the 128x32 define line and uncomment the 128x64 define line because our screen has 128x64 pixels of definition
Your library should end like that |
Short scheme of how are the pixels maped in our screen:
The origin of coordinates is for some silly reason located on the top left of the screen and our function display.drawFastVLine cant draw negative heights so we are going to play with the cursor point along with the databar height
Step 4: Test Your Circuit.
Thanks for reading.
Download:
0 comments:
Post a Comment