ATTINY85 driving I2C Oled 128 x 32 Display
I hack some code in a careless way to get the mini SSD1306 OLED display working with the ATTINY85.
EXAMPLES: (NOTE!! Change quotes in '#includes' to angle brackets !!!!
============================================
#include "TinyWireM.h"
#include "TinyOzOLED.h"
void setup() {
OzOled.init();
// OzOled.setInverseDisplay(); // Invert display
OzOled.printString("Hi there!");
}
void loop() {
// put your main code here, to run repeatedly:
}
============================================
#include "TinyWireM.h"
#include "TinyOzOLED.h"
byte brightness = 0;
void setup() {
OzOled.init();
OzOled.clearDisplay();
OzOled.printString("Brightness..", 0, 0);
delay(1000);
}
void loop() {
OzOled.setBrightness(brightness++);
OzOled.printNumber((long)brightness, 0, 2);
delay(50);
if(brightness = 255) {
brightness = 0;
OzOled.printString(" ", 0, 2); // reached 255 so clear
}
}
============================================
Step-by-step guide in setting up UNO as ISP for ATTINY:
https://www.youtube.com/watch?v=9CX4i6rMXS8
ATTINY Boards for Arduino IDE:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
TinyWireM library:
https://github.com/adafruit/TinyWireM
Andrreas' OzOled with TinyWireM library:
https://github.com/SensorsIot/TinyOzOled
Andreas' Channel:
https://www.youtube.com/channel/UCu7_D0o48KbfhpEohoP7YSQ
Видео ATTINY85 driving I2C Oled 128 x 32 Display канала Tom Donnelly
EXAMPLES: (NOTE!! Change quotes in '#includes' to angle brackets !!!!
============================================
#include "TinyWireM.h"
#include "TinyOzOLED.h"
void setup() {
OzOled.init();
// OzOled.setInverseDisplay(); // Invert display
OzOled.printString("Hi there!");
}
void loop() {
// put your main code here, to run repeatedly:
}
============================================
#include "TinyWireM.h"
#include "TinyOzOLED.h"
byte brightness = 0;
void setup() {
OzOled.init();
OzOled.clearDisplay();
OzOled.printString("Brightness..", 0, 0);
delay(1000);
}
void loop() {
OzOled.setBrightness(brightness++);
OzOled.printNumber((long)brightness, 0, 2);
delay(50);
if(brightness = 255) {
brightness = 0;
OzOled.printString(" ", 0, 2); // reached 255 so clear
}
}
============================================
Step-by-step guide in setting up UNO as ISP for ATTINY:
https://www.youtube.com/watch?v=9CX4i6rMXS8
ATTINY Boards for Arduino IDE:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json
TinyWireM library:
https://github.com/adafruit/TinyWireM
Andrreas' OzOled with TinyWireM library:
https://github.com/SensorsIot/TinyOzOled
Andreas' Channel:
https://www.youtube.com/channel/UCu7_D0o48KbfhpEohoP7YSQ
Видео ATTINY85 driving I2C Oled 128 x 32 Display канала Tom Donnelly
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![ATtiny85 Microcontroller Interfaced with I2C OLED](https://i.ytimg.com/vi/vosYBYiBc08/default.jpg)
![#13 Automated Battery Tester with an Attiny85 and an OLED (Tutorial)](https://i.ytimg.com/vi/mKPKQm0uPBQ/default.jpg)
![How to use SSD1306 128x32 OLED Display I2C with Arduino code](https://i.ytimg.com/vi/RjyulqVsz2o/default.jpg)
![ATtiny85 Game Console PCB - Multiple Games](https://i.ytimg.com/vi/ddHbItTluKU/default.jpg)
![ATTiny85 128x64 OLED - Display an Image from Program Memory](https://i.ytimg.com/vi/_J_96iEm2-g/default.jpg)
![Arduino Anxiety - Uno, 128x32 OLED and u8g2lib](https://i.ytimg.com/vi/MHogSbRPa28/default.jpg)
![ATTiny85 with OLED Display interfacing and upload custom image in Display( i2C OLED Display)](https://i.ytimg.com/vi/z0WKXSjfcac/default.jpg)
![I2C LCD MODULE WITH DIGISPARK ATTINY85 - HARDWARE AND CODE - 2021 UPDATED TUTORIAL](https://i.ytimg.com/vi/WLkLt4zWeKs/default.jpg)
![ESP32 super smart watch tutorial](https://i.ytimg.com/vi/LUGhLd94f8A/default.jpg)
![Thank you for 100 subscribers! 💯 Arduino Uno, 128x64px Transparent OLED SSD1309, Tutorial Beginners](https://i.ytimg.com/vi/hIFDcksXgBk/default.jpg)
![Tutorial-5: Interfacing OLED Display to De0-nano FPGA](https://i.ytimg.com/vi/JHZET6O8dQo/default.jpg)
![How to make DIY I2C slave devices with ease - ATtiny Device](https://i.ytimg.com/vi/6BXPm6O2VaI/default.jpg)
![Beginners Guide to I2C on the Raspberry Pi Pico (BNO055 IMU Example)](https://i.ytimg.com/vi/092xFEmAS98/default.jpg)
![Arduino Tutorial – ATtiny85 explained in 4 minutes!](https://i.ytimg.com/vi/AmpHIHM41Hw/default.jpg)
![Animations on OLED display - Arduino](https://i.ytimg.com/vi/0KGMFhFQ0YY/default.jpg)
![TOP 10 Best Games On This ATtiny85 - based Keychain Game Console](https://i.ytimg.com/vi/hfZAt3iuPUc/default.jpg)
![How to Connect NRF24L01 to ATTiny84 and Communicate with another NRF24L01 - Part 2](https://i.ytimg.com/vi/z7ejMTxf8rE/default.jpg)
![Programming an ATtiny85/45 with an Arduino UNO (Getting started)](https://i.ytimg.com/vi/i9WOwDrpRKs/default.jpg)
![OLED Displays with Arduino - I2C & SPI OLEDs](https://i.ytimg.com/vi/7x1P80X1V3E/default.jpg)
![Tutorial on I2C OLED Display with Arduino/NodeMCU](https://i.ytimg.com/vi/_e_0HJY0uIo/default.jpg)