Digistump Forums
The Digispark => Digispark (Original) Support => Topic started by: analog10 on January 13, 2015, 05:46:02 am
-
Is there a way to use a Digispark as a generic linux i2c bridge? Sort like this solution for the AtTiny45: http://www.harbaum.org/till/i2c_tiny_usb/index.shtml
-
You could use the firmware from that site and upload it to the Digispark using the micronucleus command line
-
Thanks, but I don't think that's easy to do since the pinout is different and I am not sure it plays well with the Digispark bootloader. I was hoping something already existed for Digispark.
-
Opps I should have looked at the pinout - you'd have to modify it to work with the Digispark pins.
You could use the DigiCDC library and the Wire library to make something similar - but nothing exists already.
The bootloader doesn't care what runs after the bootloader - so no conflicts there
-
For the Linux driver to work the Digispark has to change its vid/pid as well as the protocol it is talking.
I think it would take a lot of porting work to get a Digispark working with the Linux driver; I will probably just buy something.
Thanks