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.

plz plz help me with this

Status
Not open for further replies.

shyam reddy

Newbie level 2
Joined
Jun 7, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
hi,

float()
{
float ch0;
unsigned long ul=20;

ch0=(float)((ul)*(3300.0f/4096.0f));

}

this is my code the value in the ch0 should be some float value but i am getting constant 0 in ch0 when i'm trying in keil 4.7(for cortex-M4 controller ).plz can any one tell me where the actual problem is.

thanks and regards,
shyam reddy
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top