I have a LED matrix connected to my Arduino board (8MHz) with the Charlieplexing method to use less pins on my Arduino. My problem is, that I have to change the state of the pins very fast to make all LEDs appear to be turned on. It seems like the rest of my code makes it too slow to do that. Is there any way to solve this problem? Maybe a way to run the switching of the pin states in a loop in the background so it can be executed faster?
Thank you for your help!