Skip to content

Roen00/calculator-micro-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

calculator-micro-controller

Diody sa podpiete do portu D

Porty: A, B, C, D

Rejestry: PORTx - dwojakie dzialanie zaleznie od DDR. Jesli DDR wyjscie (1) i PORTX = 0 to masa 1 to plus

DDRx - ustawia wejscie lub wyjscie (0b00000000 - wejscie) (1 - wyjscie) PINx - przedstawia aktualny stan napiec sygnalow na wejsciu

DDRB = 0b00010000 PORTB= 0b00000000

PINB = 4 bit bedzie pull up

1 - wycisniety przycisk 0 - wcisniety przycisk

LCD: D7 - PA5 RS - PA7 RW - GND E - PA6 D5 - PA3 D6 - PA4 D4 - PA2

PA0 - PA2 PA1 - IR

Guziki: SW0 - PB0 SW1 - PB1 SW2 - PB2 SW3 - PB3

ADC: Port PA0 - P2

min: value: 0x90, 0x95 PINA: 10010001 PORTA: 10010000

max: value: 0x80 PINA: 10000000 PORTA: 10000000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published