I would like to write a bash to light up an OLED screen with SSD1306 driver, I can use below code to send commands:
echo -ne $cmd > /dev/spidev0.0
however the SPI clock seems too fast for SSD1306, is there a way to slowdown the clock (to like 4Mhz) in the shell? thanks for any advice, I am using pi zero W.