Read NFC data is now displayed
This commit is contained in:
+6
-6
@@ -61,12 +61,12 @@ async fn main(spawner: Spawner) {
|
|||||||
|
|
||||||
let display: &mut PrimaryLcdDisplay = Box::leak(Box::new(init_primary_lcd(
|
let display: &mut PrimaryLcdDisplay = Box::leak(Box::new(init_primary_lcd(
|
||||||
peripherals.SPI2,
|
peripherals.SPI2,
|
||||||
peripherals.GPIO36,
|
peripherals.GPIO36, // sck
|
||||||
peripherals.GPIO35,
|
peripherals.GPIO35, // mosi
|
||||||
peripherals.GPIO37,
|
peripherals.GPIO37, // miso
|
||||||
peripherals.GPIO11,
|
peripherals.GPIO11, // primary cs
|
||||||
peripherals.GPIO10,
|
peripherals.GPIO10, // shared reset
|
||||||
peripherals.GPIO12,
|
peripherals.GPIO12, // shared dc
|
||||||
)));
|
)));
|
||||||
|
|
||||||
//setup_wifi(peripherals.WIFI, peripherals.FLASH, &spawner).await;
|
//setup_wifi(peripherals.WIFI, peripherals.FLASH, &spawner).await;
|
||||||
|
|||||||
Reference in New Issue
Block a user