jostlowe / Pico-DMX

A library for inputting and outputting the DMX512-A lighting control protocol from a Raspberry Pi Pico
BSD 3-Clause "New" or "Revised" License
187 stars 21 forks source link

Add support for Pico-SDK-based projects (= non Arduino) #12

Closed kripton closed 2 years ago

kripton commented 2 years ago

This PR modifies some #includes so that they are only active when building for Arduino (not actually tested, to be honest) so different #includes are being used when compiling this library outside of Arduino, for example using the Pico C/C++ SDK. Furthermore, a cmake-file is added that allows the library to be easily used in pico-sdk-based projects.