Verified Commit ea119a8c authored by Jakob Moser's avatar Jakob Moser
Browse files

Add edge detection

parent 20ce126d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
			background: blue !important;
		}

		.pin18 .pin {
		.pin37 .pin {
			background: rgb(165, 118, 42) !important;
			/* brown */
		}
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ class Pirc522CardReader(CardReader):
        # Technically, it might be possible to connect both LCD and Card Interface to
        # the same SPI0 bus (making one device=0, and the other device=1),
        # but I think that by just separating the buses, it should be less of a hassle.
        self._reader = RFID(bus=1, device=0, pin_irq=None)
        self._reader = RFID(bus=1, device=0, pin_irq=37)

    def read_id(self) -> int:
        # TODO Cleanup implementation