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.
math functions for 89c51
CMOS, do you mean like this:
void sendhumidity_data()
{
char humidity;
long int humidity1; //I tried int , long and long int.
humidity1 = (((6785)*(150))/10000)-27;
//humidity1 = ((6785*2)/10000) + 20;
humidity = humidity1;
bin=(humidity/10)...
keil bcd to 16 int
Hi
I am using keil to program my 89C51 using C language, and I am trying to work the following equation.
humidity = (0.6785 * (ADC_value)) - 27.1
note that ADC_value is giving correct values.
But when I build my program it will give me 8 warrnings and when I debug my...
Re: Can you help me with Power down modes plss, I realy need
What do you mean by waking up 1200 times ?
I saw some examples that used a loop with a counter and once the counter is invoked the interupt will occur and the program will leave the loop and thus the micro will wake up. Though I...
Re: Can you help me with Power down modes plss, I realy need
Hi Kurenai_ryu
Thanks for the reply. So in other words I can't make the micro wake up automatically while on power down mode.
What kind of external interupt can I make to wake up the micro while on power down mode?
I am asking...
Hi
I programmed the micro to read some analogue data from sensors and switch some relays and send data via Uart to a RF module .
All I need now is to set the micro in Power down mode since I am running the system on solar and batties.
I set the PCON register to
PCON |= 0x02 // sets the...
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.