AtomSoft
Well-Known Member
jerryf as Pommie said "I²C devices is set internally" But he didnt mention some devices have a external address like A2:A0 that 3 pin to set the last 3 digits of the address. This way you can have multiple of the same thinig needed on 1 line.
You have 1 I2C/SPI port. Which can be either but not both. I suggest I2C as you dont need CS Lines like SPI. Its great but if pin count is a issue then SPI is an issue.
For LCD stuff. You can checkout Futz code for a 2 Wire LCD controll. Which is in C so it can be used easily.
If you use I2C then be sure that your RTC & External Flash Mem is I2C compatible.
This will help you alot: (if you read the parts you want to learn)
PICmicro™ Mid-Range MCU Family Reference Manual
You have 1 I2C/SPI port. Which can be either but not both. I suggest I2C as you dont need CS Lines like SPI. Its great but if pin count is a issue then SPI is an issue.
For LCD stuff. You can checkout Futz code for a 2 Wire LCD controll. Which is in C so it can be used easily.
If you use I2C then be sure that your RTC & External Flash Mem is I2C compatible.
This will help you alot: (if you read the parts you want to learn)
PICmicro™ Mid-Range MCU Family Reference Manual