diff --git a/main.cpp b/main.cpp index 58bf127..e35d528 100644 --- a/main.cpp +++ b/main.cpp @@ -39,6 +39,8 @@ void dummy() void foo() { + + uint8_t a[]= {1,2,3,4,5,6,7,8,9,10}; std::cout << "foo" << std::endl; baa(rpin); @@ -47,6 +49,9 @@ void foo() std::cout << "SPI test:" << std::endl; spiCH.read_write_u8(10); + + spiCH.writeArray(10,a,sizeof(a)); + } int main(int argc, char *argv[]) diff --git a/runtest b/runtest index cfbc972..602907e 100755 Binary files a/runtest and b/runtest differ