??? 01/19/10 07:22 Read: times |
#172584 - Yes, you were correct originally! Responding to: ???'s previous message |
Yash Chitalia said:
I replaced my bit initializations with the following...
#define MTRS P2_0 #define MTRE P2_1 #define MTRW P2_2 #define MTRH P2_3 But this doesn't work with Keil. Correct - that is not the way to define bit variables in Keil C51 This shows how important it is that you clearly state what compiler you are using! Will switching over to the Atmega series help? Do you have any specific reason to beleive that the problem is due to a basic hardware limitation of the 8051 chip that an ATMega doesn't have? Changing the underlying hardware architecture will do nothing to fix problems in the software design! |