PA3040
Advanced Member level 3
- Joined
- Aug 1, 2011
- Messages
- 883
- Helped
- 43
- Reputation
- 88
- Reaction score
- 43
- Trophy points
- 1,308
- Activity points
- 6,936
Dear All,
This is related to PIC16f877a MCU and Ds1307 RTC
I need to display DAY using following array
My I2C reading program is working well
I2C reading verging Day 0 to 7
char* weekdayname[] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};
I need to send to USART data on array weekdayname[]
Please advice to display on serial port
Thanks in advance
This is related to PIC16f877a MCU and Ds1307 RTC
I need to display DAY using following array
My I2C reading program is working well
I2C reading verging Day 0 to 7
char* weekdayname[] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};
I need to send to USART data on array weekdayname[]
Code:
TXREG = weekdayname[i] // i hear veriable
Please advice to display on serial port
Thanks in advance