8 years, 5 months ago.

nm

1 Answer

8 years, 4 months ago.

Hi :),

So for this sensor it should be pretty straight forward, you just need to look at and change the API used in Arduino to mbed, such as delay() would become wait() etc etc.

This can be found here.

https://docs.mbed.com/docs/mbed-os-api-reference/en/latest/

I'd also look at an mbed library for the PIR sensor, which we have. These sensors are all very similar so it may help.

https://developer.mbed.org/components/PIR-Motion-Sensor/

Regards,

Andrea, team mbed