Richard, I'm using the 32-bit SPI-write for my most recent ESP32 based clock. I'm saving the data for all six tubes and the colons in a single 64-bit variable (uint64_t), so sending out the data can be done with just four lines of code:
digitalWrite(SS, LOW); SPI.write32(nixData); SPI.write32(nixData >> 32); digitalWrite(SS, HIGH); No special setup is required to use the 32-bit SPI functions. As for the pins, looking at the ESP32 Arduino GitHub <https://github.com/espressif/arduino-esp32/blob/master/libraries/SPI/src/SPI.cpp>, the SPI begin function takes four variables for the pins: void SPIClass::begin(int8_t sck, int8_t miso, int8_t mosi, int8_t ss) If the function is called with empty brackets, the default pins will be used. Has to be said that my design uses the default pins, so I haven't tested this. -- You received this message because you are subscribed to the Google Groups "neonixie-l" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/neonixie-l/2d415b70-2b56-457f-a013-f079ded0b988o%40googlegroups.com.
