jancumps / pico_scpi_usbtmc_labtool

LabVIEW compatible instrument on a Raspberry Pico
https://github.com/jancumps/pico_scpi_usbtmc_labtool/wiki
MIT License
13 stars 17 forks source link

pwm #15

Closed jancumps closed 1 year ago

jancumps commented 1 year ago

ANALOG:OUTP0:RAW to set the raw duty cycle value of the first PWM pin in array of pwm pins

API to reside in src/pwm look for placeholders and TODO in scpi-def.c and pwm_utils.c attention: template code has uint32_t for duty cycle, let's use a uint16_t, in line with pico pwm api

pwm_set_gpio_level(gpio, x)

jancumps commented 1 year ago

merged, closing