PiIO Contents - pmeloy/PiIO.Net GitHub Wiki

Home

PiIO Contents

  • enum Measures : int { Metric, Imperial }
  • enum EndianType : int { Big, Little }
  • Init - Initialize IO system, 4 options which are the wiringPi options
    • Setup() - Use wiringPi pin numbering
    • SetupGPIO() - Use Broadcom pin numbering (requires root privileges).
    • SetupPhys() - As GPIO but only P1 pins can be used.
    • SetupSys() - Use /sys/class/gpio interface (requires exporting pins or root privileges).
  • Timing - Access time and delays
    • millis() - Milliseconds
    • micros() - Microseconds
    • delay(uint Milliseconds)
    • delayMicros(uint Microseconds)