/* * wiringpi setup [MODE] * MODE is one of -g -1 -p, as for gpio(1) * optional, if not called is equivalent to saying just "setup" * may not be called after any other wiringpi use in whole program * there is no way to un-setup * * Most of the rest are very similar to gpio(1): * boardRev => integer (see wiringPi.h) * boardId => [list MODEL REV MEM MAKER OVERVOLTED] * mode PIN MODE * MODEs are * in out pwm pwmTone clock up down tri off * alt0 alt1 alt2 alt3 alt4 alt5 * read PIN => 0|1 * write PIN 0|1 * aread PIN => VAL * write PIN VAL * pwm PIN VAL * clock PIN FREQ * pwm-bal|pwm-ms * pwmr RANGE * pwmc DIVIDER * pwmTone PIN FREQ */ /* ---8<--- end of documentation comment --8<-- */