Hi, i'm working on Teensy3.2. I'm newbie.
Problem: it doesnt correctly work when I connect, for first time, my teensy to USB.
But it correctly works only if I upload the program.
In particular I've 2 encoder, 2 MCP23S17 via SPI, 1 OLED via I2C. Some Led connected to MCP.
Steps test are:
- I connect my teensy via USB to my Laptop just to power ON.
- I can see that OLED works fine, 2 encoder works fine (I see it via Serial monitor)
- BUT seems that MCP are not working.
- I open IDE
- upload same code or use Teensy loader to trig a reboot.
- EVERYTHING Works FINE! :-(
What's the difference?
Moreover: I saw that if i connect the teensy to my laptop, without IDE open or teensy loader, the push button on the board doenst reset program.
Is this correct?
thank you
Andrea
Problem: it doesnt correctly work when I connect, for first time, my teensy to USB.
But it correctly works only if I upload the program.
In particular I've 2 encoder, 2 MCP23S17 via SPI, 1 OLED via I2C. Some Led connected to MCP.
Steps test are:
- I connect my teensy via USB to my Laptop just to power ON.
- I can see that OLED works fine, 2 encoder works fine (I see it via Serial monitor)
- BUT seems that MCP are not working.
- I open IDE
- upload same code or use Teensy loader to trig a reboot.
- EVERYTHING Works FINE! :-(
What's the difference?
Moreover: I saw that if i connect the teensy to my laptop, without IDE open or teensy loader, the push button on the board doenst reset program.
Is this correct?
thank you
Andrea