Introduction ............................................................................................................................................ 2 Peripheral set-up..................................................................................................................................... 4 Timer1 ................................................................................................................................................. 4 Timer2 ................................................................................................................................................. 4 Discussions .............................................................................................................................................. 5 Task 1; Binary Counter: Counter delay ............................................................................................... 5 Task 2 – LED increment counter using Timer1 as delay...................................................................... 6 Task 3 – Morse code generator .......................................................................................................... 7 Task 4:Writing the group number to the EEPROM ............................................................................. 8 Burglar alarm .................................................................................................................................... 10 Controlling the brightness of an LED using PWM ............................................................................. 12 Conclusion ............................................................................................................................................. 13 References ............................................................................................................................................ 13 Appendices
References: [1] Microchip. (n.d.). Tips and Tricks. [2] PIC16F62X Datasheet. (n.d.). Microchip . [3] Predko, M. (2007). Programming and Customising the PIC microcontroller. McGraw Hill. [4] Velleman. K8048 Manual. Velleman.