This PR includes 2 main changes. I simplified and cleaned up the code for drawChar(). Now it's much easier to follow and will be faster on slow CPUs. I also optimized the setAddr() function which is used by everything. It now retains the last x/y info so that it will only use the X or Y (col / page) to avoid extra commands/data being transmitted.
This PR includes 2 main changes. I simplified and cleaned up the code for drawChar(). Now it's much easier to follow and will be faster on slow CPUs. I also optimized the setAddr() function which is used by everything. It now retains the last x/y info so that it will only use the X or Y (col / page) to avoid extra commands/data being transmitted.