[SOLVED] CCS & Proteus Data types

Status
Not open for further replies.

albus

Junior Member level 2
Joined
Dec 26, 2010
Messages
22
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,458
In the code given below I'm declaring 5 boolean variables using CCS Compiler. The code compiles okay.

Code:
int1 EnterButton=0;           			// Interrupt flag for enter button
int1 UpButton=0;                     	// Interrupt flag for up button
int1 DownButton=0;                   	// Interrupt flag for down button
int1 LeftButton=0;                 		// Interrupt flag for left button
int1 RightButton=0;                  	// Interrupt flag for right button


When I try to simulate it using Proteus, I see that Proteus accepts their data types as strings. Something funny is going on here, do you have any idea?

 

So, this was apparently this was a minor bug in Proteus. It doesn't have anything to do with microcontroller or CCS compiler. Plus, it works fine in simulation.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…