Post Created date
[TUT] [C] Bit manipulation (AKA "Programming 101")
i do have some idea on the working of macros now,thanks to the tutorial. And i do know basic programming so i know what happens when u use a particular macro. I am already done...
Saturday, 2 April 2011 - 00:39
[TUT] [C] Bit manipulation (AKA "Programming 101")
well cos i am a student myself. and i am showing a presentation to justify the funding of my project, and the people on the panel will be staff of various departments, some of who...
Friday, 1 April 2011 - 21:57
[TUT] [C] Bit manipulation (AKA "Programming 101")
thanks, and well as u said it will be simpler to use plain c but the reason is that, i am working on a project and the panel where i have to present it to has a few members who...
Friday, 1 April 2011 - 20:02
[TUT] [C] Bit manipulation (AKA "Programming 101")
thanks! ya my mistake it should have been PINC .sorry but am new to programming an ya thanks i guess i could use if ((PORTC...
Friday, 1 April 2011 - 19:15
[TUT] [C] Bit manipulation (AKA "Programming 101")
can the macros be used with ports? for eg int totalcomplete() { int retval; if ((bit_get(PORTC, BIT(1))) && (bit_get(PORTC, BIT(0)))==0) { retval = 1; } else retval = 0;...
Friday, 1 April 2011 - 06:27