I suppose having slacking for several months has really pissed Hao Xin off... and he has been dumping me with some microcontroller stuffs to learn. Still, I wasn't really putting in any effort and slacking at home. Today was the last straw and he asked me to go down to his office to help him implement some interrupt routines for his project.
He jio-ed me an early breakfast at Jackson centre for roti-prata before we proceed to his office. I had no experience in Microcontroller and the last time I did a similar work was back in NTU during one of the lab's project. Spent the whole morning trying to figure out the commands for the compiler, the register settings and the bits to enable some of the configurations.
I was suppose to implement an interrupt routine for the microcontroller such that when any key was pressed on the keyboard, the input will be displayed onto a LCD through a serial port. After going through some crash course on the registers, implementing the interrupt was pretty easy and I managed to complete it in the early afternoon. Went for a tea break around 4pm before I helped him out on a satelite project. Didn't do much as I was more like a helper, carrying the cables and equipments around. It was really really interesting and I had a really productive day after so many weeks of slacking. =)
No comments:
Post a Comment