Předmět PV172 Architektura číslicových počítačů

Cvičení - Introduction to C for PIC

Chyba: Odkazovaný objekt neexistuje nebo nemáte právo jej číst.
https://is.muni.cz/el/1433/jaro2008/PV172/um/5107977/5444845/pic6_introC.pdf
Chyba: Odkazovaný objekt neexistuje nebo nemáte právo jej číst.
https://is.muni.cz/el/1433/jaro2008/PV172/um/5107977/5444845/C_main.zip
Chyba: Odkazovaný objekt neexistuje nebo nemáte právo jej číst.
https://is.muni.cz/el/1433/jaro2008/PV172/um/5107977/5444845/PICC_manual.pdf

Task 1

Write in C language following example: Two GPIO ports as outputs to diods. Period 1second (intruction cycle takes 1microsedond (1MHz)) - change the lighting diod after 1 sec using counters, not timers. The sequence shoud be: LED1ON & LED2OFF, BOTH OFF, LED1OFF & LED2ON, BOTH OFF, LED1ON & LED2OFF, BOTH OFF, LED1OFF & LED2ON, BOTH OFF, etc.