Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <avr\io.h> // Most basic include files
- #include <avr\interrupt.h> // Add thenecessary ones
- #include <avr\signal.h> // here
- //#define F_CPU 11059200U
- #include <util\delay.h>
- int main(void){
- DDRA = 0xff;
- DDRE = 0xff;
- PORTE = _BV(PE4); // ustawiamy pierwszy wyświetlacz
- for(;;){ //nieskonczona petla
- PORTA = PINB; //port A przyjmuje wartości pinu B
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement