added another example for foo

interrupts
polymurph 4 years ago
parent e8c353bc59
commit 78f9c210e8

@ -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[])

Binary file not shown.
Loading…
Cancel
Save