Search results

  1. C

    New MCP23S17 Library

    Does anyone know of a library like this for the I2C version of these expanders? I can no longer get the SPI version, but can get the i2c version. I would like to just redesign the board and change a bit of the code, instead of a large rewrite. crossing my fingers. Thank you in advance for your help
  2. C

    New MCP23S17 Library

    Thank you. Connected all of the CS to one pin, and now everything is working well.
  3. C

    New MCP23S17 Library

    In order to use this on multiple chips, does the chip select need to go to the same pin on the teensy? i.e. pin 10 in your example? I am thinking that is the way it is supposed to work now that I am looking at it. I currently have each chip's CS going to it's own pin. I also have them addressed...
  4. C

    ArduinoModbus porting question

    Excellent, Thank you for your help. I will try those items.
  5. C

    ArduinoModbus porting question

    Hello all. I am looking to use a teensy 4.1 as a Modbus RTU Client over RS485. It seems that it is attempting to use the Serial port associated with the USB. I need it to operate on Serial1. Is there a way to do this? #include <Arduino.h> #include <Metro.h> #include <SPI.h> #include...
  6. C

    FlexCAN_T4 - FlexCAN for Teensy 4

    Thank you. that helps I got the available() use from an example in the old libraries github page. If it is unnecessary, I don't need it.
  7. C

    FlexCAN_T4 - FlexCAN for Teensy 4

    Good morning. Is there something similar to the myCan.available() function (like in the older FlexCAN library) in this new library? I am using the 4.1 for a new project and I would like to only read in a message when one is waiting. Is there a function like this? Thank you for your time...
Back
Top