Switch to software spi to avoid conflict with ICSP pins
This commit is contained in:
parent
10b41546c9
commit
3cbbe3ad7e
@ -1 +1 @@
|
|||||||
Subproject commit 438765511c8965357b20c3f46e092da5fd00aba1
|
Subproject commit 9a4193ee75ca2e25ff8dc1de5fa1e14802725e04
|
@ -236,6 +236,9 @@
|
|||||||
<Compile Include="spi\hardware.hpp">
|
<Compile Include="spi\hardware.hpp">
|
||||||
<SubType>compile</SubType>
|
<SubType>compile</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="spi\software.hpp">
|
||||||
|
<SubType>compile</SubType>
|
||||||
|
</Compile>
|
||||||
<Compile Include="spi\spi.hpp">
|
<Compile Include="spi\spi.hpp">
|
||||||
<SubType>compile</SubType>
|
<SubType>compile</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
2
eink/io
2
eink/io
@ -1 +1 @@
|
|||||||
Subproject commit 80de36ee7ee3e6b0842d5eaee81d54062cb496b2
|
Subproject commit d89322bdaae6c08bedc65209373e0a1fc5c9af05
|
@ -441,7 +441,7 @@ constexpr auto IMAGE [[gnu::progmem]] = util::to_array<uint8_t>({
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
using spi_t = spi::Hardware<spi::Config<>>;
|
using spi_t = spi::Software<spi::SoftwareConfig<io::P::C4, io::P::NONE, io::P::C5, io::P::C3>>;
|
||||||
|
|
||||||
uart_t serial;
|
uart_t serial;
|
||||||
serial.init();
|
serial.init();
|
||||||
@ -450,7 +450,7 @@ int main()
|
|||||||
|
|
||||||
serial << F("e-Paper demo") << F("\r\n");
|
serial << F("e-Paper demo") << F("\r\n");
|
||||||
|
|
||||||
auto einkDisplay = eink::Eink<200, 200, spi_t, io::P::C1, io::P::C0, io::P::C2>{};
|
auto einkDisplay = eink::Eink<200, 200, spi_t, io::P::C1, io::P::C2, io::P::C0>{};
|
||||||
einkDisplay.init();
|
einkDisplay.init();
|
||||||
|
|
||||||
serial << F("e-Paper init") << F("\r\n");
|
serial << F("e-Paper init") << F("\r\n");
|
||||||
|
2
eink/spi
2
eink/spi
@ -1 +1 @@
|
|||||||
Subproject commit bb78d2291d603647b19600eb3cc02dabce2f8ea5
|
Subproject commit 999cd0e0c973834e641f7bbeb0c339d696b45415
|
Loading…
Reference in New Issue
Block a user