Skip to content

Commit efafa2e

Browse files
committed
Revert "Rename pcd8544-hal -> pcd8544"
This reverts commit 13df608. Name is already taken
1 parent 12e3335 commit efafa2e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
authors = ["Nabil ELQATIB <nabilelqatib@gmail.com>"]
3-
name = "pcd8544"
3+
name = "pcd8544-hal"
44
version = "0.1.0"
55
license = "MIT OR Apache-2.0"
66
description = "A hardware abstraction layer for PCD8544 LCD controllers (mainly used in Nokia 5510 displays)"

examples/arduino-uno-pcd8544/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ bench = false
1111

1212
[dependencies]
1313
panic-halt = "1.0.0"
14-
pcd8544= { path = "../.." }
14+
pcd8544-hal = { path = "../.." }
1515
arduino-hal = { git = "https://github.com/Rahix/avr-hal", rev = "ravedude-0.2.0", features = ["arduino-uno"] }
1616

1717

examples/arduino-uno-pcd8544/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#![no_main]
33

44
use panic_halt as _;
5-
use pcd8544::Pcd8544;
5+
use pcd8544_hal::Pcd8544;
66

77
static RUST_LOGO: &[u8; 504] = include_bytes!("logo.bin");
88

@@ -11,7 +11,7 @@ fn main() -> ! {
1111
let dp = arduino_hal::Peripherals::take().unwrap();
1212
let pins = arduino_hal::pins!(dp);
1313

14-
let mut pcd8544 = pcd8544::Pcd8544Gpio::new(
14+
let mut pcd8544 = pcd8544_hal::Pcd8544Gpio::new(
1515
/* sck/clk */ pins.d7.into_output(),
1616
/* miso/din */ pins.d6.into_output(),
1717
/* mosi/dc */ pins.d5.into_output(),

0 commit comments

Comments
 (0)