Advertisement
jh_elec

Untitled

Feb 21st, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. Dann mach das doch genau so
  2.  
  3. Zur besseren Lesbarkeit würde ich es aber so schreiben:
  4.  
  5. void sendRAM( uint8_t image[] )
  6. {
  7.   for(uint8_t x = 0 ; x < 64 ; x++)
  8.   {
  9.     for(uint8_t i = 0; i < 128 ; i++)
  10.     {
  11.       send(image[x+64*i]);
  12.     }
  13.   }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement