sipeed / Maixduino

Arduino port on Maix board ( k210 )
https://maixduino.sipeed.com
Other
216 stars 96 forks source link

Constant to identify Maixduino #22

Open dimitre opened 5 years ago

dimitre commented 5 years ago

It would be great to have a constant to identify Maixduino. Is there any? I've seen this one in ArduinoCore-k210 , Arduino.h file

#ifndef KENDRYTE_K210
#define KENDRYTE_K210 1
#endif

which enables the usage of this library here, updated to work with K210 https://github.com/baorepo/Adafruit_NeoPixel

bitsk commented 5 years ago

I have forked it for maixduio, look at here. https://github.com/btx000/Adafruit_NeoPixel