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:
[ Ссылка ]
Amazon link for Logic analyzer:
[ Ссылка ]
JavaScript code for bit banging:
[ Ссылка ]
Logic Software:
[ Ссылка ]
Support this channel:
Option 1. Like, Subscribe and click the Bell (to get notified)
Option 2. [ Ссылка ] (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). [ Ссылка ]
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
![](https://s2.save4k.ru/pic/Yy5VraUdxUg/maxresdefault.jpg)