How to change pin for control automation phat board in library


#1

I want to use automation phat board library on another board(eagleye 530s), not raspberry pi.
Eagleye 530s has 40 pins just like the rasp pi, but the pin roles are different.
(eagle 530s pin description : http://wiki.seeedstudio.com/Eagleye_530s/#play-with-pin-programming)
Can I use phat library described in the link?(https://pinout.xyz/pinout/automation_phat#)
If I can, how can i use this library on eagle 530s.
Thank you


#2

The pins are defined in the top of the library:

https://github.com/pimoroni/automation-hat/blob/master/library/automationhat/init.py

As for getting it to work on the Eagle- I don’t know. It’s not a board I’ve got any experience with. But good luck!