Jp3141
Well-known member
I'm working on some I2C tools, and am trying to use two Teensies (3.0) on one computer (Mac). One T3 will be an I2C Master, and one an I2C Slave. Each is plugged in to a different USB port.
It all works, but what seems to happen is that the last T3 plugged in gets to be the one which the loader addresses -- I'd really like to be able to choose which one my code gets uploaded to (I'm working on the master and slave code simultaneously). Is there a good way to do this ? I've tried to select the related T3 serial port (/dev/tty/usbmodemXXXXX), but that doesn't work for the loader.
One trick I do use is to program the LED to different patterns on each -- that way I can at least see which code each is running.
It all works, but what seems to happen is that the last T3 plugged in gets to be the one which the loader addresses -- I'd really like to be able to choose which one my code gets uploaded to (I'm working on the master and slave code simultaneously). Is there a good way to do this ? I've tried to select the related T3 serial port (/dev/tty/usbmodemXXXXX), but that doesn't work for the loader.
One trick I do use is to program the LED to different patterns on each -- that way I can at least see which code each is running.