Author |
Message |
Topic: 16 bits mask |
piko
Replies: 6
Views: 6415
|
Forum: General CCS C Discussion Posted: Wed Nov 12, 2008 1:58 pm Subject: 16 bits mask |
why not look at the inbuilt 'bit test' function, rather than using the mask?.
I come from a foreing world where it is normal not to look at the documentation because you know 'C' doesn't offer what ... |
Topic: 16 bits mask |
piko
Replies: 6
Views: 6415
|
Forum: General CCS C Discussion Posted: Tue Nov 11, 2008 11:44 pm Subject: 16 bits mask |
Thanks guys. Actually I discovered that my problem was the PIC itself. I swapped to another chip (same model) and it was working fine...
I can't believe I wasted 1 hour on that while it was only a ... |
Topic: 16 bits mask |
piko
Replies: 6
Views: 6415
|
Forum: General CCS C Discussion Posted: Tue Nov 11, 2008 11:52 am Subject: 16 bits mask |
Hi. I'm trying to write a small application that is running 16 leds turning them on and off on a specific sequence. I made an array of 16bit values that is masked to reveal if a given led should be on ... |
|