Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[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
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?

asdsaz.png
 

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top