有些基于nrf52832的模块是有arduion编程支持的,比如Adafruit_nRF52_Arduino和Afantor_Bluefruit52_Arduino 的库
可以参考 https://github.com/Afantor/Afantor_Bluefruit52_Arduino