Flipper Zero: JavaScript Bit Banging SPI 8x8 Display

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 9

  • @MrDerekJamison
    @MrDerekJamison  Před měsícem +1

    I was surprised how slow bit banging was in JavaScript! I decided to time instructions on my Flipper and on average each instruction takes about 80-100us (yes, I said 80000ns - 100000ns). But for protocols where you have a CLK/SCK wire, it's typically okay that things are running slow -- as long as there are only a few bytes of data.

  • @honestlocksmith5428
    @honestlocksmith5428 Před měsícem +1

    Thanks!

    • @MrDerekJamison
      @MrDerekJamison  Před měsícem

      Thank you, I appreciate the support!
      Be sure to join my Flipper Zero Discord - discord.gg/k7WX7Be3Vy

  • @manolovalenzuela
    @manolovalenzuela Před měsícem +1

    Haaaa I know that logic analyzer ❤

    • @MrDerekJamison
      @MrDerekJamison  Před měsícem +1

      I miss hanging out with you! Let me know if you need me to send you a MAX7219 display!

  • @urbezzubka
    @urbezzubka Před měsícem

    Cool video 🔥

    • @MrDerekJamison
      @MrDerekJamison  Před měsícem

      Thanks! If you are in the USA, don't forget to enter the giveaway. (If you don't have a USA address but you use Discord, you can still enter the giveaway and I'll fall back to giving you a 1-month Nitro Discord code if you win).

  • @viniHNS
    @viniHNS Před 19 dny

    Is it possible to create an application that only sends IR signals (saved in the device) through an external button connected to a GPIO pin?

    • @MrDerekJamison
      @MrDerekJamison  Před 16 dny +1

      The timing in JavaScript isn't very great. You are better to write a C program for that, or at least a new module that your JavaScript program leverages. IR is typically 38KHz with various bursts of on/off. If you don't want to write code, then you could build a circuit that oscillates at 38KHz with a NAND gate to a GPIO pin and have the JavaScript just signal when to send or not send the signal.