Class: PiDriver::Pin::Board

Inherits:
Object
  • Object
show all
Defined in:
lib/pi_driver/pin/board.rb

Constant Summary collapse

PIN11 =
0
PIN12 =
1
PIN13 =
2
PIN15 =
3
PIN16 =
4
PIN18 =
5
PIN22 =
6
PIN07 =
7
PIN03 =
8
PIN05 =
9
PIN24 =
10
PIN26 =
11
PIN19 =
12
PIN21 =
13
PIN23 =
14
PIN08 =
15
PIN10 =
16
PIN29 =
21
PIN31 =
22
PIN33 =
23
PIN35 =
24
PIN37 =
25
PIN32 =
26
PIN36 =
27
PIN38 =
28
PIN40 =
29
PIN27 =
30
PIN28 =
31
VALID_NUMBERS =
[
  PIN11,
  PIN12,
  PIN13,
  PIN15,
  PIN16,
  PIN18,
  PIN22,
  PIN07,
  PIN03,
  PIN05,
  PIN24,
  PIN26,
  PIN19,
  PIN21,
  PIN23,
  PIN08,
  PIN10,
  PIN29,
  PIN31,
  PIN33,
  PIN35,
  PIN37,
  PIN32,
  PIN36,
  PIN38,
  PIN40,
  PIN27,
  PIN28
].freeze