You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Max Narvaez edited this page Jan 12, 2021
·
1 revision
Creating an Executable Server
The AnimatedLEDStrip server library is combined with a device library to run a server on that device.
Both are added as dependencies and a short main method is added.
Example main method:
fun main(args: Array<String>) {
startServer(args, WS281xCompat::class)
}
Replace WS281xCompat::class with the class from the device library being used.
See the Raspberry Pi Server
for an example of how to create a server executable.