How to write an ArduPy library

Hi, I liked the tutorial on How to write an ArduPy library(https://www.youtube.com/watch?v=8vWIhDNKeo0&t=1227s)? I’m still new and want to ask if there is a more simple example of how to make libraries.

Is it possible to convert the Wio terminal backlight by Kenta (https://github.com/ciniml/WioTerminal_BackLight) into ArduPy? Can you show it how?

Thank you.
Jones

1 Like

@lakshan Please help him.

Hi Jones,
I am glad that you liked the video tutorial. If you want to write an ArduPy library, you need to follow the steps explained in the video and I am afraid there is no other way. You could also have a look at our wiki on how to write an ArduPy library:

As per your request, I have converted the Wio Terminal Backlight Arduino Library into an ArduPy Library and you can follow this repository to download it:

Also, check the README.md file in that repository to access the example code so that you can copy into your Wio Terminal and test it out!

Enjoy!

Best Regards,
Lakshantha

1 Like

Hi Lakshantha,

I really appreciated the quick response. I will study your works and try to follow the instructions.

Thank you for helping out.

Regards,
Jones

My pleasure!

Good luck to you!

Regards,
Lakshantha