I wonder if some kind soul could point me in the right location with the above.
I've designed a board with an Atmega328P and a TLC5947. I tested this using the Adafruit5947 library and it works as expected. So far so good.
I now want to replicate the functionality with native C code using Studio 7. The board uses MISO/MOSI etc ports for ISP programming. The Arduino code allows you to use any of the digital ports to send the serial data to the TLC. Having read a number of posts on this subject in the forums, it would appear I need to bitbang the ports. Is this correct? If so, the code I've looked at seems fairly complex, yet the Arduino lib just seems to fire out the data to the TLC via digital writes.
Would it be better to redesign the boards and make use of native SPI (hate to ditch the boards though) or is it a fairly simple thing to do (Arduino code was adequate speed wise)?
Any guidance would be appreciated