Search results

  1. C

    9-bit Serial wanted and Question on 9600,SERIAL_8E1

    Just a report to say that finally everything works fine with 9 bit ! I have moved from Windows PC to MAC Studio (M1) and also "moved" Arduino to MAC. And also changed to Arduino 2.2.1 with the Boards manager. So now for MAC the "HardwareSerial.h" was found under: /user/...my...
  2. C

    9-bit Serial wanted and Question on 9600,SERIAL_8E1

    On Mac with Arduino 2.1.0 I found 3 HardwareSerial.h. my name>Documents>Arduino>hardware>teensy>avr>cores>teensy4 my name>Documents>Arduino>hardware>teensy>avr>cores>teensy3 my name>Documents>Arduino>hardware>teensy>avr>cores>teensy On all I have uncommented the line so 9.bit should be OK...
  3. C

    9-bit Serial wanted and Question on 9600,SERIAL_8E1

    I saw that article in "PaulStroffregen / cores" about uncomment in the "HardwareSerial.h" . It is also described where to find the files. On MAC , Finder-Applications-controlclick Arduino-show packages-.. However I can't find the file !
  4. C

    9-bit Serial wanted and Question on 9600,SERIAL_8E1

    It would be great to have a confirmation that this is way to have 9-bit serial decode so the the code really reads the 9th bit.
  5. C

    9-bit Serial wanted and Question on 9600,SERIAL_8E1

    1 43 in HEX is correct . The Parity/9th bit is 1 and the 8bit data is 43 HEX. My Keysight oscilloscope with Serial decode with settings (#bits=8, parity Even, Idle High, Bit order LSB) says Data : 43 HEX, Parity OK.
  6. C

    9-bit Serial wanted and Question on 9600,SERIAL_8E1

    I want to decode 9-bit serial. It is 8bit data and the 9th bit is used for separate signal. (Not a Parity). I found here on Teensy information about support for 9-bit by editing "HardwareSerial.h". However I could not find the file under "Finder-Applications-controlclick Arduino-show package...
  7. C

    AltSoftSerial & parity, e.g. begin(9600, SERIAL_8E1)

    Hi, In marine electronics some companies use RS485 and 8 databits, 1 ´parity` bit and 2 stopbits. 9600 baud. However the parits bit is used for special control, signal to receivers. Not for parity. So I need a way to read the parity bit also! (9600, 8E_2) , parity bit avaiable for reading. Or...
  8. C

    FlexCAN_T4 - FlexCAN for Teensy 4

    I tested with Arduino UNO with CANBus shield. Inserted digitalWrite As below, and checked on an oscilloscope. 4 CAN messages transmitted. 3msec a new TX. CAN0.readMsgBuf(&canId,&ext,&len, buf); // Read data: len = data length, buf = data byte(s) digitalWrite(7, HIGH); //...
  9. C

    FlexCAN_T4 - FlexCAN for Teensy 4

    My oscilloscope with Serial decode also for CANBUS shows CAN load. Also a good indication visually. I am not in control of transmitting devices. It could be Garmin and other transmitting. It could be 11 or 29 bit, it could be 1 or 8 Data fields. So assuming I have an Teensy with FlexCan_T4 and a...
  10. C

    FlexCAN_T4 - FlexCAN for Teensy 4

    FlexCAN_T4 timestamps Hi, Thanks for the library ! I have now used it with my new Teensy 3.6 and Teensy 4 boards. (Interesting that I can find Teensy boards in my local electronics shop here in Sweden..) So far used it with CAN 2.0 only. I found some CAN test code and have then merged with...
  11. C

    Teensyduino compatible CAN library

    Thank you ! I will test at once !!
  12. C

    Teensyduino compatible CAN library

    Hi, I am new to Teensy and have some questions regarding CANBUS on Teensy 3.5 and 3.6. As I understand it there are at least these 3 libraries: https://github.com/teachop/FlexCAN_Library (Teensy 3.1) NOT 3.6. https://github.com/pawelsky/FlexCAN_Library (Teensy 3.1 - 3.6)...
Back
Top