You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, I think jshSetOutputValue gets the JshPinFunction which defines the DAC or PWM device that is used. The PinFunctions come out of jsPinInfo.

    IIRC, there are 4 bits in the Pin Function free for the DAC number, so you could have up to 16 DACs - it's just that the only devices Espruino runs on currently have 2 DAC channels (obviously multiple PWM though)

About

Avatar for Gordon @Gordon started