Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //channel is declared as 1 here.
- //My main loop
- while (1)
- {
- unsigned char *buffer ;
- int iResult = wiringPiSPIDataRW(channel, buffer, 10);
- print(iResult);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement