Hi,
I have two questions, first,
I want a easy solution to isolating a I/O pin on a pic from the nasty outside world, the only problem is the voltage could be anything! (well OK realistically 5v-300v DC) now I know about opto-isolators but canot figure out how to get the limiting resistor so it works with a wide voltage range?
Any Ideas, I was looking for a I2C opto-isolated I/O chip as this would be great, but can't see one :O(
Second, anyone seen any IC / code for reading files to and from a CF memory card, again, I'm looking for a total solutions here, baisically a IC that I can drop on the board, issue commands and it stores data in PC compatible files.
Thanks

I have two questions, first,
I want a easy solution to isolating a I/O pin on a pic from the nasty outside world, the only problem is the voltage could be anything! (well OK realistically 5v-300v DC) now I know about opto-isolators but canot figure out how to get the limiting resistor so it works with a wide voltage range?
Any Ideas, I was looking for a I2C opto-isolated I/O chip as this would be great, but can't see one :O(
Second, anyone seen any IC / code for reading files to and from a CF memory card, again, I'm looking for a total solutions here, baisically a IC that I can drop on the board, issue commands and it stores data in PC compatible files.
Thanks