I am working on a project to make electronic toys to hand out for Halloween. I already have a PCB made for it, and it uses an ATTiny841 MCU & APA102 leds. I am using the Pololu APA102 library (https://github.com/pololu/apa102-arduino) and it works great. I need it to be fast as I am using other functions including touch sensing and sound output. Fastgpio doesn’t compile for the ATTiny841 (only ATMega328), but I see on an Uno that a test sketch runs faster and compiles smaller when using fastgpio.
I would like to adapt the fastgpio library to use with the ATTiny841. I am not a professional programmer, but I have made a few things with Arduino as a hobby and adapted some other libraries successfully.
Could you possibly tell me what I would have to do to adapt this library to the ATTINY841? It seems fairly abstract. At least tell me some kind of overview guidance for what would be needed to be done?