Skip to content

Feature Request: Set a baudrate for TeensyStripController #10

Description

@fabianonline

My goal is to use a TeensyStripController without having to buy a Teensy. But I have lots of ESP8266 controllers lying around. So I'd like to use one of those.

I've written the firmware for the ESP based on the original Teensy one and got it working quite fine. In DirectOutput it's configured as TeensyStripController. Only problem is that the ESP doesn't have that fancy "connect with USB speed (12 MBit/s)" feature but instead I'm stuck with old-school serial-port-via-USB-stuff. Which does work fine - except the fact that the connection is only with 9600 baud, which get choosen by the SerialPort library because there is no other baudrate set. Which is okay for the Teensy because the buadrate is just ignored.

So, by setting the baudrate to a higher level, my ESP8266StripController would gain more speed, without anything changing for the TeensyStripControllers. (I think.)

So I'd like to propose a change to DirectOutput/Cab/Out/AdressableLedStrip/TeensyStripController.cs: Adding following line somewhere between lines 372 and 387 would fix this:

ComPort.BaudRate = 115200;

This would raise the speed of my ESP8266StripController by a factor of more than 100x.

Sorry for this not being a Pull Request, but I don't have a development environment for Windows at hand. :-/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions