Add parallel port comms to arduino

This commit is contained in:
2025-09-29 18:48:11 +02:00
parent 8b434f4434
commit e20b09f130
6 changed files with 485 additions and 200 deletions

14
arduino/kbd/parallel.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include <stdint.h>
/** Returns the byte present on D0~D7 */
uint8_t readParallel();
/** Writes a nibble on status pins */
void writeParallel(uint8_t nibble);
void setupParallel();
/** Returns true and sets the byte if a strobe was received */
bool strobeOccurred(uint8_t &byte);