mirror of
https://github.com/Anshorei/epd-waveshare.git
synced 2026-10-03 22:06:43 +00:00
Added back tests for epd7in5_hd commands
This commit is contained in:
@@ -152,7 +152,8 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn command_addr() {
|
fn command_addr() {
|
||||||
// assert_eq!(Command::PANEL_SETTING.address(), 0x00);
|
assert_eq!(Command::MASTER_ACTIVATION.address(), 0x20);
|
||||||
// assert_eq!(Command::DISPLAY_REFRESH.address(), 0x12);
|
assert_eq!(Command::SW_RESET.address(), 0x12);
|
||||||
|
assert_eq!(Command::DISPLAY_UPDATE_CONTROL_2.address(), 0x22);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user