Advertisement
Guest User

SMP

a guest
May 22nd, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #include <p18f4455.h>
  2.  
  3. void main()
  4. {
  5.  
  6. Initializare_portB:
  7. PORTB = 0b00000000; //stergere buffere
  8. LATB = 0b00000000;
  9.  
  10. Configurare_portB:
  11. TRISB = 0b00000000; //configurare directie pini
  12. //RB0 - RB7 – iesiri
  13.  
  14. while(1)
  15. {
  16. LATB = 0b11111111;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement