You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • You can see which timers can be on each pins looking at the espruino board reference.

    I think you should be able to scrape together enough PWM pins for that project.

    Each timer can do 4 outputs (usually)

    Ones that I know work reliably: You have C6~9, A0~A3, B6~B9 B10+B11 are all definitely OK. That's 14 right there.

    I think - but am not sure - that Gordon has set it up so A6~B1 now always use TIM3 and hence don't fight with other timers. Too late for me to check tonight.
    If so, that's your 18.

    A8 works, and A9+10 can be made okay with that poke command (see the other thread you referred to).

    And B3 of course works.

    That would also get you the 18 you needed, even if none of the middle 4 are usable (and I think they are usable now anyway - so you've got 4 extra PWM channels )

    B13~B15 are no good for you, though - they can only output the negation of TIM1, and they overlap the SD card pins anyway!

About

Avatar for DrAzzy @DrAzzy started