Update single value calls to use selected range
Update single value calls to use selected range

Also includes other changes to formatting.

Resolves: PSDK-650

picotech/picosdk-c-examples,picotech/picosdk-c-examples,picotech/picosdk-c-examples