Advertisement
Guest User

Urgh

a guest
Jun 28th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. //channel is declared as 1 here.
  2.  
  3.  
  4. //My main loop
  5. while (1)
  6. {
  7. unsigned char *buffer ;
  8. int iResult = wiringPiSPIDataRW(channel, buffer, 10);
  9. print(iResult);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement