/boatshantiesapi

Programming interface for boatshanties microbots.

Primary LanguageJupyter Notebook

boatshantiesapi

Programming interface for boatshanties microbots.

Pin Values

Outputs (Write)

LED

  • LED_FRONT = 22; #GPIO 22 (Pin 15)
  • LED_BACK = 23; #GPIO 23 (Pin 16)
  • LED_LEFT = 27; #GPIO 27 (Pin 13)
  • LED_RIGHT = 17; #GPIO 17 (Pin 11)

Servo

  • SERVO_1 = 12; #GPIO 12 (Pin 32)
  • SERVO_2 = 13; #GIPO 13 (Pin 33)

Inputs (Read)

Light Sensors

  • PHOTO_FRONT = 24; #GPIO 24 (Pin 18)
  • PHOTO_BACK = 25; #GPIO 25 (Pin 22)
  • PHOTO_LEFT = 8; #GPIO 8 (Pin 24)
  • PHOTO_RIGHT = 7; #GPIO 7 (Pin 26)