Initial WIP for TFT (not working yet)

This commit is contained in:
Justin C. Miller
2025-03-30 23:00:03 -07:00
parent 090616f8b4
commit c422864bc2
7 changed files with 1482 additions and 0 deletions

17
src/edmfd/spi.hh Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
namespace spi {
void init(unsigned baud);
// RAII chip select
class cs
{
public:
cs(unsigned pin);
~cs();
private:
unsigned pin;
};
} // namespace spi