Guest User

Untitled

a guest
May 1st, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. uint8_t * adres;
  2. adres = Read(TX_ADDR, 5);
  3.    
  4. if(adres[0] == 0xE7)
  5. {
  6.     DebugLED::On();
  7.     _delay_ms(1000);
  8.     DebugLED::Off();
  9.     _delay_ms(1000);
  10. }
  11. if(adres[1] == 0xE7)
  12. {
  13.     DebugLED::On();
  14.     _delay_ms(1000);
  15.     DebugLED::Off();
  16.     _delay_ms(1000);
  17. }
  18. if(adres[2] == 0xE7)
  19. {
  20.     DebugLED::On();
  21.     _delay_ms(1000);
  22.     DebugLED::Off();
  23.     _delay_ms(1000);
  24. }
  25. if(adres[3] == 0xE7)
  26. {
  27.     DebugLED::On();
  28.     _delay_ms(1000);
  29.     DebugLED::Off();
  30.     _delay_ms(1000);
  31. }
  32. if(adres[4] == 0xE7)
  33. {
  34.     DebugLED::On();
  35.     _delay_ms(1000);
  36.     DebugLED::Off();
  37.     _delay_ms(1000);
  38. }  
  39. if(adres[5] == 0xE7)
  40. {
  41.     DebugLED::On();
  42.     _delay_ms(1000);
  43.     DebugLED::Off();
  44.     _delay_ms(1000);
  45. }
Advertisement
Add Comment
Please, Sign In to add comment