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.
Re: set up ds1307
i need to set it up using mikro c codes im sorry for the troubles. I'm using Port A for temperature sensor, Port B for LCD and left Port D for ds1307 to work with.
this is my code but i think it lack of something as it dont work at all
unsigned oldstate0;
unsigned oldstate1;
unsigned tMax,tMin;
unsigned temp_value;
char out[12],out2[12]; // declares array of 12 characters
float dec_value;
void loop1() {
Lcd_Out(1,1,"Welcome to ECE")...
i have to display maximum temperature and minimum temperature on the LCD when i press 1 button connected to Port A e.g press once it show maximum temperature and press the 2nd time it will show the minimum temperature
how do i display decimal point on the resulting temperature with my Lm35 temperature circuit? Im using Pic18F452 microcontroller my code is below thanks alot
unsigned temp_value;
char out[6];
void main() {
ADCON1 = 0x80;
TRISA = 0xFF; // PORTA as input
TRISB = 0x00; // PORTB as ouput...
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.