Currently JavaScript on the Flipper Zero does not support the SPI protocol. In this video we use the existing GPIO module (available in all custom firmware) to do bit banging of the data! We also use an inexpensive logic analyzer to analyze the signals (sampling at 16MS/s) from a working app to reverse engineer the data we need to send to the device.
Discord Server:
/ discord
Amazon link for Logic analyzer:
https://www.amazon.com/gp/product/B07...
JavaScript code for bit banging:
https://github.com/jamisonderek/flipp...
Logic Software:
https://www.saleae.com/pages/downloads
Support this channel:
Option 1. Like, Subscribe and click the Bell (to get notified)
Option 2. https://ko-fi.com/codeallnight (donate $3 via PayPal or Venmo)
Option 3. Click the "Thanks" button on YouTube.
Option 4. Purchase a FlipBoard (I get a portion of the sale). https://github.com/MakeItHackin/FlipB...
Timeline:
0:00 - Introduction
0:32 - Inexpensive logic analyzer
1:00 - Logic 2.4.14 config
1:30 - Capture SPI data
1:50 - GPIO initialization
2:25 - Implement SPI protocol (bit banging)
4:10 - Initialize Max7219
4:35 - Led patterns
4:42 - Install/Run on Flipper Zero
5:05 - Capture our SPI output
5:30 - Summary