What are the open source C++ library for microbit?
What are the open source C++ library for microbit?
Hi,Boy.I don't want to use the micropython library for microbit. Because micropython takes up a lot of space. So,now I'm looking for some C++ libraries for microbit . Do you have any recommendations?
Re: What are the open source C++ library for microbit?
Thanks. The arduino-nRF5 have PIN define file only . I find another Full open source library :https://github.com/lancaster-university/microbit-dal/ Then,Is there any better library than this?lujo wrote: ↑Tue Jan 07, 2020 12:09 pmHi,
Arduino IDE? See https://github.com/sandeepmistry/arduino-nRF5.
lujo
Re: What are the open source C++ library for microbit?
Yes, the microbit-dal from Lancaster is probably a very good starting point.
Really the next step from there is to go directly to either mbed or nrfx, but then you'll be doing everything manually. The microbit-dal is very straightforward to use (especially if you're using it with the mbed tools like yotta).
Really the next step from there is to go directly to either mbed or nrfx, but then you'll be doing everything manually. The microbit-dal is very straightforward to use (especially if you're using it with the mbed tools like yotta).
Re: What are the open source C++ library for microbit?
Yes.I use the microbit-dal a few days,that very good. But I have a problem: What interrupts from the microprocessor can still be used and are not yet occupied by anything from the microbit-dal library? I need to be able to check for events that occur with a rate of 2kHz or I need time interrupt events to do thing,Like Serial port sends data regularly. There seems to be no API in microbit-dal library.jimmo wrote: ↑Sun Jan 12, 2020 11:12 pmYes, the microbit-dal from Lancaster is probably a very good starting point.
Really the next step from there is to go directly to either mbed or nrfx, but then you'll be doing everything manually. The microbit-dal is very straightforward to use (especially if you're using it with the mbed tools like yotta).