Teensy 4 to receive serial commands through USB and read/write EEPROM on i2c

rick_otake

New member
I'm investigating the use of Teensy 4 to receive commands from USB Serial to read and write EEProm using I2C.

I found examples of I2C, and Serial. I was wondering if there any examples available integrating both.

Thank you in advance for any help
 
samples in use not indicated?

Sometimes here for integrating two 'sketches' for a quick test:

> Copy one to the other, perhaps in a new file
> rename ONE sketche's setup() and loop() to setup1() and loop1().
> from setup() call setup1() and from loop() call loop1()
> remove any duplicate startup or other from setup1()
> build until it works and if working as desired refine the xxx1() code as needed
 
Back
Top