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.

Microcontrollers receiving raw data from zigbee?

Status
Not open for further replies.
hi, the code isn't working. It just show Zigbee on LCD and won't display the data i sent.
 

hi, i written this. But i must send data 5-6times before the LCD will start displaying the data. and when the LCD is displaying the data, it keep repeating. may i know what's wrong with the code.thank you
 

Attachments

  • working3.txt
    2.2 KB · Views: 54

Yes, I see that code but I don't see any code which prints RTC data to LCD. You posted the old file. Add LCD code to the new code which I gave.


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void LCD_DisplayString(char *String)
{
    int i = 0;
    while (*String)
    {
        LCD_WriteDataReg(*String++);
    }
}
 
 
// In while(1) loop
 
// LCD Cmd 0xC0 here
LCD_WriteDataReg(infor[1]);
 
LCD_WriteDataReg(min / 10);
LCD_WriteDataReg(min % 10);

 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top