Hop til hovedindhold

The standard library

The standard library, sdp, has the nodes you need to start. Studio shows them in its library panel with their pins and descriptions.

LibraryNodes
sdp/coreadd, subtract, multiply, divide, equal, greater, less, and, or, not, if-else, sample, defer, boot, continuously, constants and conversions between types
sdp/logicand, or, xor, not, any, gate, flip-flop, pulse-on-change, pulse-on-true
sdp/mathabs, clamp, count, map-range, max, min, round
sdp/timeclock, delay, debounce, system-time
sdp/gpiodigital-read, digital-write, analog-read, pwm-write
sdp/textformat-number, join, length
sdp/debugwatch (see a value live while the program runs), tweak-boolean, tweak-number, tweak-string-16 (change a value live without rebuilding)

The debug nodes only do something in debug builds, when the board is connected to Studio. In a release build they're left out.