I was looking at the driver for I2C, "2432.c", I managed to read and write from a random and to a random address. Now I want to use it for multiple chips.
I know this "a0" is the control byte which specifies at the last 3 "0s" the address. Should I copy the driver as a second driver with a different control byte for the second chip or should I rewrite the "write" and "read" functions to take an address?
If I have to rewrite them, whats the difference between using "BYTE" and "unsigned int8" ? _________________ Yo! I love learning and technology! I just do not have experience so do not be angry if I ask a stupid question about a detail! From so much to remember sometimes I forget the details in order to remember the big problems!
Sorry about that, multitasking is something very bad! The human processor can also not do more than 1 thing at a time! _________________ Yo! I love learning and technology! I just do not have experience so do not be angry if I ask a stupid question about a detail! From so much to remember sometimes I forget the details in order to remember the big problems!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum