hi to all
I have a simple micro controller project. It's an intelligent switch based on lighting systems. I need to read the status in another light in same i2c data bus.
It has 21 switches (with one bulb in each switch).
The main task is the switch should be able to control our bulb and others bulbs by using a switch.
That's why i need to read the status of another switch and control it. I know i2c is a simple method to do it.
My question is "How can use i2c data bus with pic 16f84a?" . Do i need a A/D converter?
If you have asm file which shows the instruction it will very useful to me!!!!!!!!!
Regards
I have a simple micro controller project. It's an intelligent switch based on lighting systems. I need to read the status in another light in same i2c data bus.
It has 21 switches (with one bulb in each switch).
The main task is the switch should be able to control our bulb and others bulbs by using a switch.
That's why i need to read the status of another switch and control it. I know i2c is a simple method to do it.
My question is "How can use i2c data bus with pic 16f84a?" . Do i need a A/D converter?
If you have asm file which shows the instruction it will very useful to me!!!!!!!!!
Regards