Guest User

Untitled

a guest
Sep 22nd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <avr/io.h>
  2. #include <util/delay.h>
  3.  
  4. int main(void) {
  5. DDRD = 0xFF;
  6. PORTD = 0xFF;
  7. }
  8.  
  9. #include <avr/io.h>
  10. #include <util/delay.h>
  11.  
  12. int main(void)
  13. {
  14. DDRD = 0xFF;
  15. unsigned char *portd = 0x0b;
  16. *portd = 0xFF;
  17. }
Add Comment
Please, Sign In to add comment