-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Hi,
I am having an issue with ssd1363 256x128 screen connected to arduino nano, it is snowing. I tried using this setup:
U8G2_SSD1363_256X128_1_HW_I2C u8g2(U8G2_R0);
U8X8_SSD1363_256X128_HW_I2C u8x8(U8X8_PIN_NONE);
here is my code:
#include <Arduino.h>
#include <U8g2lib.h>
#include <Wire.h>
U8G2_SSD1363_256X128_1_HW_I2C u8g2(U8G2_R0);
void setup(void) {
Wire.begin();
u8g2.begin();
u8g2.firstPage();
do {
u8g2.drawLine(20, 5, 5, 32);
} while ( u8g2.nextPage() );
}
void loop(void) {
}
AND
#include <Arduino.h>
#include <U8x8lib.h>
#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#include <Wire.h>
#endif
U8X8_SSD1363_256X128_HW_I2C u8x8(U8X8_PIN_NONE);
void setup(void)
{
u8x8.begin();
}
void loop(void)
{
u8x8.setFont(u8x8_font_px437wyse700a_2x2_r);
u8x8.drawString(0, 0, "ABC defg");
u8x8.setFont(u8x8_font_px437wyse700b_2x2_r);
u8x8.drawString(0, 2, "ABC defg");
u8x8.refreshDisplay(); // only required for SSD1606/7
delay(2000);
}
I got the same result for both of program but for u8x8 half of the screen is moving but still snowing.
Can you help me?
Metadata
Metadata
Assignees
Labels
No labels