Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update HAGIWO_Display.ino #12

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update HAGIWO_Display.ino
Fixed a bug where Encoder EEPROM Address required 2 bytes to store the negative values.
  • Loading branch information
Asrafiel committed Aug 25, 2024
commit 169484f3e1246945dbc9de3dfb17b40467a57400
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT,
OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);
//EEPROM
#define ENCODER_DIR_ADDR 0 // EEPROM address to store the encoder direction
#define MENUTIMER_DIR_ADDR 1 // EEPROM address to store the menuTimer direction
#define MENUTIMER_DIR_ADDR 2 // EEPROM address to store the menuTimer direction

//rotary encoder setting
#define ENCODER_OPTIMIZE_INTERRUPTS //contermeasure of rotery encoder noise
Expand Down