Postavke portova na 16f628

Koristim PIC16F628. Zelim da port B cijeli bude izlazni. Znaci, pisem: banksel TRISB movlw B'00000000' movwf TRISB

Port A zelim da bude: banksel TRISA movlw B'10101111' movwf TRISA

Koristim interni ocilator od 4MHz. Pinovi oscilatora trebaju biti I/O pinovi.

I, koje jos registre trebam posloziti da tako bude?

Naime, nov sam u PIC-ekima, pa mi malo steka to sve skupa. :)

Reply to
..:: Tihi ::..
Loading thread data ...

Evo sve imas ovdje :

formatting link

Reply to
coin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.