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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.