Skip to content
Jan Cumps edited this page Sep 2, 2023 · 31 revisions

Programmer reference

SCPI commands and LabVIEW driver blocks are documented on alement14 community.

SCPI functions and pins

gpio out

DIGI:OUT# 0|1
DIGI:OUT#?
0: 22 (led on pico-eurocard)
1: 14
2: 15

gpio in

DIGI:INP#?
0: 27 (button on pico-eurocard)
? other?

adc

ANA:INP#:RAW?
0: ADC0 GP26
1: ADC2 GP28

high definition adc (16 bit ADS1115)

ANA:HIRES:INP#:RAW?
0: AIN0
1: AIN1
2: AIN2
3: AIN3

pwm

ANA:OUTP#:RAW <0:4095>
ANA:OUTP#:RAW?
0: GP16
1: GP17
2: GP18

contributing

check the project backlog for pending work

branches

  • maintenance branch: main
  • development branch for next release: develop-set-3

Both branches can be updated with pull requests from this repository or (preferred) your personal fork.
When working on a new feature, base the feature branch in your fork on the development branch for the next release, and create pull request that targets this repository's development branch.
When working on a bug fix, base the feature branch in your fork on the maintenance branch main, and create pull request that targets this repository's main.
Sync your fork often. Also before starting a feature or creating a pull request.

Clone this wiki locally