File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
examples/arduino-uno-pcd8544 Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
authors = [" Nabil ELQATIB <nabilelqatib@gmail.com>" ]
3
- name = " pcd8544"
3
+ name = " pcd8544-hal "
4
4
version = " 0.1.0"
5
5
license = " MIT OR Apache-2.0"
6
6
description = " A hardware abstraction layer for PCD8544 LCD controllers (mainly used in Nokia 5510 displays)"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ bench = false
11
11
12
12
[dependencies ]
13
13
panic-halt = " 1.0.0"
14
- pcd8544 = { path = " ../.." }
14
+ pcd8544-hal = { path = " ../.." }
15
15
arduino-hal = { git = " https://github.com/Rahix/avr-hal" , rev = " ravedude-0.2.0" , features = [" arduino-uno" ] }
16
16
17
17
Original file line number Diff line number Diff line change 2
2
#![ no_main]
3
3
4
4
use panic_halt as _;
5
- use pcd8544 :: Pcd8544 ;
5
+ use pcd8544_hal :: Pcd8544 ;
6
6
7
7
static RUST_LOGO : & [ u8 ; 504 ] = include_bytes ! ( "logo.bin" ) ;
8
8
@@ -11,7 +11,7 @@ fn main() -> ! {
11
11
let dp = arduino_hal:: Peripherals :: take ( ) . unwrap ( ) ;
12
12
let pins = arduino_hal:: pins!( dp) ;
13
13
14
- let mut pcd8544 = pcd8544 :: Pcd8544Gpio :: new (
14
+ let mut pcd8544 = pcd8544_hal :: Pcd8544Gpio :: new (
15
15
/* sck/clk */ pins. d7 . into_output ( ) ,
16
16
/* miso/din */ pins. d6 . into_output ( ) ,
17
17
/* mosi/dc */ pins. d5 . into_output ( ) ,
You can’t perform that action at this time.
0 commit comments