1

Topic: PY32F003 with HM-10 BLE module how to use remoteXY

I got a custom made board with a PY32F003 (Arm M0) processor, I prefer not to want to use Arduino IDE as I use uVsion . How can I use remoteXY in such application ?

2

Re: PY32F003 with HM-10 BLE module how to use remoteXY

At the moment the library is tightly tied to some Arduino functions. These are functions such as:
- millis (); // to replace it you need to use timer interrupts
- pgm_read_byte_near(); // quite easy to replace
- Stream class (stream.h);  // maybe it's better to add it to your code
- any your class inherited from Stream class that will implement interaction with a serial port. This is an analogue of the serial class in Arduino

You can remove definition #include <Arduino.h> from RemoteXY library and you can see that you need add to you code

3

Re: PY32F003 with HM-10 BLE module how to use remoteXY

Thank you for the valuable tips. Now I can proceed and give it a shot.