D3rPole / BS-LightToSerial

A Beatsaber mod that allows you to output the lightning events as a serial signal to be used in a Arduino,ESP32 and more
9 stars 1 forks source link

Example Code? #1

Open eth-nn opened 5 years ago

eth-nn commented 5 years ago

Hi there,

Got here from reddit and am having trouble figuring out your serial messaging. Could you add in your ESP32 code that you used for the demo on reddit to the repo?

Thanks!

grufkork commented 5 years ago

Haven’t been able to try this library yet so not sure if this actually matters, but have you tried closing the serial monitor? It might hog the serial port so Beat Saber can’t use it.

eth-nn commented 5 years ago

My bad, should have clarified. The formatting of the messages is whats tripping me up. Like which light group is mapped to Type 0-4. And how they were able to get the running effects done using the laser speed and type color.

grufkork commented 4 years ago

I'm very late now, but I just wanted to tell you the entire messaging system-thing has been updated, and there's a library + example code for the Arduino now! Should be much easier and faster to work with it now.