Hi Jerry, I did a little more digging and found this E2E post discussing a similar topic: Differences between "msp430.h" and "io430.h" The discussion about accessing individual I/O bits starts about halfway through the post. In general, msp430.h does not have support for PxOUT.BITy accesses and masking to a bit structure generates very bad and inefficient object code. This could be the reason you see it work only sometimes. Hope this helps! Best regards, Caleb Overbay
↧