Create a schematic for Rotary encoder circuit. 

libSymbols:
- Connector_Generic:Conn_02x03_Odd_Even
- Device:C
- Device:R
- Device:RotaryEncoder_Switch
- power:GND
schematicSymbols:
- libraryNickname: Device
  entryName: C
  position:
    x: 41.91
    y: 64.77
    angle: 180
  properties:
  - key: Reference
    value: C1
    position:
      x: 38.989
      y: 65.9384
      angle: 0
  - key: Value
    value: 10nF
    position:
      x: 38.989
      y: 63.627
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 116.84
    y: 59.69
    angle: 270
  properties:
  - key: Reference
    value: R6
    position:
      x: 116.84
      y: 54.4322
      angle: 90
  - key: Value
    value: 10k
    position:
      x: 116.84
      y: 56.7436
      angle: 90
- libraryNickname: Device
  entryName: R
  position:
    x: 81.28
    y: 59.69
    angle: 270
  properties:
  - key: Reference
    value: R5
    position:
      x: 81.28
      y: 54.4322
      angle: 90
  - key: Value
    value: 10k
    position:
      x: 81.28
      y: 56.7436
      angle: 90
- libraryNickname: Device
  entryName: C
  position:
    x: 76.2
    y: 64.77
    angle: 180
  properties:
  - key: Reference
    value: C2
    position:
      x: 73.279
      y: 65.9384
      angle: 0
  - key: Value
    value: 10nF
    position:
      x: 73.279
      y: 63.627
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 121.92
    y: 71.12
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0106'
    position:
      x: 121.92
      y: 77.47
      angle: 0
  - key: Value
    value: GND
    position:
      x: 121.92
      y: 76.2
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 87.63
    y: 71.12
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0104'
    position:
      x: 87.63
      y: 77.47
      angle: 0
  - key: Value
    value: GND
    position:
      x: 87.63
      y: 76.2
      angle: 0
- libraryNickname: Device
  entryName: C
  position:
    x: 121.92
    y: 64.77
    angle: 180
  properties:
  - key: Reference
    value: C3
    position:
      x: 118.999
      y: 65.9384
      angle: 0
  - key: Value
    value: 10nF
    position:
      x: 118.999
      y: 63.627
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 86.36
    y: 46.355
    angle: 0
  properties:
  - key: Reference
    value: R4
    position:
      x: 81.1022
      y: 46.355
      angle: 90
  - key: Value
    value: 10k
    position:
      x: 83.4136
      y: 46.355
      angle: 90
- libraryNickname: Device
  entryName: R
  position:
    x: 46.99
    y: 59.69
    angle: 270
  properties:
  - key: Reference
    value: R3
    position:
      x: 46.99
      y: 54.4322
      angle: 90
  - key: Value
    value: 10k
    position:
      x: 46.99
      y: 56.7436
      angle: 90
- libraryNickname: Device
  entryName: RotaryEncoder_Switch
  position:
    x: 99.06
    y: 62.23
    angle: 0
  properties:
  - key: Reference
    value: SW1
    position:
      x: 99.06
      y: 52.07
      angle: 0
  - key: Value
    value: RotaryEncoder_Switch
    position:
      x: 99.06
      y: 54.61
      angle: 0
- libraryNickname: Connector_Generic
  entryName: Conn_02x03_Odd_Even
  position:
    x: 183.515
    y: 93.345
    angle: 0
  properties:
  - key: Reference
    value: J7
    position:
      x: 184.785
      y: 85.09
      angle: 0
  - key: Value
    value: TE MicroMatch
    position:
      x: 184.785
      y: 87.63
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 110.49
    y: 71.12
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0105'
    position:
      x: 110.49
      y: 77.47
      angle: 0
  - key: Value
    value: GND
    position:
      x: 110.49
      y: 76.2
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 41.91
    y: 71.12
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0101'
    position:
      x: 41.91
      y: 77.47
      angle: 0
  - key: Value
    value: GND
    position:
      x: 41.91
      y: 76.2
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 52.07
    y: 45.72
    angle: 0
  properties:
  - key: Reference
    value: R1
    position:
      x: 46.8122
      y: 45.72
      angle: 90
  - key: Value
    value: 10k
    position:
      x: 49.1236
      y: 45.72
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 212.725
    y: 93.345
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 212.725
      y: 99.695
      angle: 0
  - key: Value
    value: GND
    position:
      x: 212.725
      y: 98.425
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 111.76
    y: 45.72
    angle: 180
  properties:
  - key: Reference
    value: R2
    position:
      x: 117.0178
      y: 45.72
      angle: 90
  - key: Value
    value: 10k
    position:
      x: 114.7064
      y: 45.72
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 76.2
    y: 71.12
    angle: 0
  properties:
  - key: Reference
    value: '#PWR0103'
    position:
      x: 76.2
      y: 77.47
      angle: 0
  - key: Value
    value: GND
    position:
      x: 76.2
      y: 76.2
      angle: 0
junctions:
- position:
    x: 76.2
    y: 39.37
    angle: 0
- position:
    x: 76.2
    y: 59.69
    angle: 0
- position:
    x: 111.76
    y: 59.69
    angle: 0
- position:
    x: 52.07
    y: 59.69
    angle: 0
- position:
    x: 86.36
    y: 59.69
    angle: 0
- position:
    x: 121.92
    y: 59.69
    angle: 0
- position:
    x: 86.36
    y: 39.37
    angle: 0
- position:
    x: 41.91
    y: 59.69
    angle: 0
noConnects:
- position:
    x: 191.135
    y: 95.885
    angle: null
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 68.58
    y: 59.69
  - x: 76.2
    y: 59.69
- type: wire
  points:
  - x: 76.2
    y: 39.37
  - x: 86.36
    y: 39.37
- type: wire
  points:
  - x: 86.36
    y: 50.165
  - x: 86.36
    y: 59.69
- type: wire
  points:
  - x: 76.2
    y: 59.69
  - x: 76.2
    y: 60.96
- type: wire
  points:
  - x: 91.44
    y: 62.23
  - x: 87.63
    y: 62.23
- type: wire
  points:
  - x: 43.18
    y: 59.69
  - x: 41.91
    y: 59.69
- type: wire
  points:
  - x: 76.2
    y: 68.58
  - x: 76.2
    y: 71.12
- type: wire
  points:
  - x: 191.135
    y: 93.345
  - x: 195.58
    y: 93.345
- type: wire
  points:
  - x: 163.195
    y: 93.345
  - x: 178.435
    y: 93.345
- type: wire
  points:
  - x: 76.2
    y: 31.75
  - x: 76.2
    y: 39.37
- type: wire
  points:
  - x: 86.36
    y: 59.69
  - x: 91.44
    y: 59.69
- type: wire
  points:
  - x: 121.92
    y: 59.69
  - x: 128.27
    y: 59.69
- type: wire
  points:
  - x: 173.99
    y: 90.805
  - x: 178.435
    y: 90.805
- type: wire
  points:
  - x: 110.49
    y: 64.77
  - x: 110.49
    y: 71.12
- type: wire
  points:
  - x: 52.07
    y: 41.91
  - x: 52.07
    y: 39.37
- type: wire
  points:
  - x: 52.07
    y: 49.53
  - x: 52.07
    y: 59.69
- type: wire
  points:
  - x: 86.36
    y: 39.37
  - x: 111.76
    y: 39.37
- type: wire
  points:
  - x: 111.76
    y: 59.69
  - x: 111.76
    y: 49.53
- type: wire
  points:
  - x: 85.09
    y: 59.69
  - x: 86.36
    y: 59.69
- type: wire
  points:
  - x: 191.135
    y: 90.805
  - x: 212.725
    y: 90.805
- type: wire
  points:
  - x: 50.8
    y: 59.69
  - x: 52.07
    y: 59.69
- type: wire
  points:
  - x: 121.92
    y: 68.58
  - x: 121.92
    y: 71.12
- type: wire
  points:
  - x: 212.725
    y: 90.805
  - x: 212.725
    y: 93.345
- type: wire
  points:
  - x: 52.07
    y: 59.69
  - x: 52.07
    y: 78.74
- type: wire
  points:
  - x: 90.17
    y: 64.77
  - x: 91.44
    y: 64.77
- type: wire
  points:
  - x: 87.63
    y: 62.23
  - x: 87.63
    y: 71.12
- type: wire
  points:
  - x: 173.99
    y: 95.885
  - x: 178.435
    y: 95.885
- type: wire
  points:
  - x: 52.07
    y: 78.74
  - x: 90.17
    y: 78.74
- type: wire
  points:
  - x: 41.91
    y: 68.58
  - x: 41.91
    y: 71.12
- type: wire
  points:
  - x: 120.65
    y: 59.69
  - x: 121.92
    y: 59.69
- type: wire
  points:
  - x: 111.76
    y: 59.69
  - x: 113.03
    y: 59.69
- type: wire
  points:
  - x: 34.29
    y: 59.69
  - x: 41.91
    y: 59.69
- type: wire
  points:
  - x: 106.68
    y: 59.69
  - x: 111.76
    y: 59.69
- type: wire
  points:
  - x: 77.47
    y: 59.69
  - x: 76.2
    y: 59.69
- type: wire
  points:
  - x: 111.76
    y: 41.91
  - x: 111.76
    y: 39.37
- type: wire
  points:
  - x: 86.36
    y: 39.37
  - x: 86.36
    y: 42.545
- type: wire
  points:
  - x: 86.36
    y: 31.75
  - x: 76.2
    y: 31.75
- type: wire
  points:
  - x: 41.91
    y: 59.69
  - x: 41.91
    y: 60.96
- type: wire
  points:
  - x: 90.17
    y: 78.74
  - x: 90.17
    y: 64.77
- type: wire
  points:
  - x: 110.49
    y: 64.77
  - x: 106.68
    y: 64.77
- type: wire
  points:
  - x: 121.92
    y: 59.69
  - x: 121.92
    y: 60.96
- type: wire
  points:
  - x: 52.07
    y: 39.37
  - x: 76.2
    y: 39.37
globalLabels:
- text: RB4{slash}SW
  shape: output
  position:
    x: 128.27
    y: 59.69
    angle: 0
- text: RB7{slash}CHB
  shape: output
  position:
    x: 195.58
    y: 93.345
    angle: 0
- text: RB6{slash}CHA
  shape: output
  position:
    x: 163.195
    y: 93.345
    angle: 180
- text: RB7{slash}CHB
  shape: output
  position:
    x: 34.29
    y: 59.69
    angle: 180
- text: RB6{slash}CHA
  shape: output
  position:
    x: 68.58
    y: 59.69
    angle: 180
- text: RB4{slash}SW
  shape: output
  position:
    x: 173.99
    y: 95.885
    angle: 180
- text: VCC
  shape: output
  position:
    x: 173.99
    y: 90.805
    angle: 180
- text: VCC
  shape: output
  position:
    x: 86.36
    y: 31.75
    angle: 0
sheetInstances:
- instancePath: /
  page: '1'
