Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 1 of 1

Thread: WS2812Serial non blocking question

  1. #1

    WS2812Serial non blocking question

    main hardware:
    T4.1
    arduino nano v3
    WS2812 - lots of them.....
    ADUM1201ARZ-RL7 logic level shifter

    Im using https://github.com/PaulStoffregen/WS2812Serial library, works great.

    I am using TX8 (pin 35) to send WS2812 D signal.

    Question: Can I use t4.1 pin RX8 (pin 34) as an interrupt only pin? Apart from the WS2812, I am also going to use an arduino nano to scan my input buttons and pots. The idea is to relieve the hardware Mux scan from the T4.1 which is also doing allot of other work. The nano will just scan the mux and present its data over i2c. I want to hook the nano up to a pin on the t4.1 as an interrupt to let the teensy know that a button event has occoured and it needs to read the i2c data from the nano....

    I am using a ADUM1201ARZ-RL7 2 channel i/o logic level converter, one is for the WS2812 serial out from teensy to convert it up to 5v. I will use the other channel to convert 5v from the nano to 3v3.

    I am wondering if anyone knows if the WS2812Serial library may use the RX line of the "serial port" too....

    Click image for larger version. 

Name:	3v3-to-5v-level-shift.JPG 
Views:	7 
Size:	115.5 KB 
ID:	29902
    Last edited by snowsh; 12-08-2022 at 10:12 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •