TinyCircuitsLaveréna Wienclaw
Published © GPL3+

Making OLED Bitmap Graphics In Arduino

This tutorial will cover the basics on how to create a sprite using a bitmap, and how to program the sprite to move around on Arduino.

BeginnerFull instructions provided10 minutes196

Things used in this project

Story

Read more

Code

Code snippet #1

Plain text
// 0.42" Screen Variables
TinierScreen display = TinierScreen(TinierScreen042);
int xPixel = 72;
int yPixel = 40;

// 0.69" Screen Variables
//TinierScreen display = TinierScreen(TinierScreen069);
//int xPixel = 96;
//int yPixel = 16;

// 0.96" Screen Variables
//TinierScreen display = TinierScreen(TinierScreen096);
//int xPixel = 128;
//int yPixel = 64;

Code snippet #2

Plain text
// 0.42" Screen Variables
TinierScreen display = TinierScreen(TinierScreen042);
int xPixel = 72;
int yPixel = 40;

// 0.69" Screen Variables
//TinierScreen display = TinierScreen(TinierScreen069);
//int xPixel = 96;
//int yPixel = 16;

// 0.96" Screen Variables
//TinierScreen display = TinierScreen(TinierScreen096);
//int xPixel = 128;
//int yPixel = 64;

TinyCircuits GraphicsBuffer Library for OLED Screen Displays

Download the zip file and place the folder in the Arduino/libraries folder

TinyCircuits TinierScreen Library for OLED Screen Displays

Download the zip file and place the folder in the Arduino/libraries folder

Sprite Example Arduino Program

Upload to Arduino development board using the Arduino IDE

Credits

TinyCircuits

TinyCircuits

31 projects • 17 followers
Laveréna Wienclaw

Laveréna Wienclaw

4 projects • 2 followers
Associate Engineer at TinyCircuits. University of Akron Computer Engineering Alumni.

Comments

Add projectSign up / Login