Create a schematic for Rotary encoder switch circuit. 

libSymbols:
- Device:C_Small
- Device:R_Small
- Device:RotaryEncoder_Switch
- power:GND
schematicSymbols:
- libraryNickname: Device
  entryName: R_Small
  position:
    x: 226.06
    y: 111.76
    angle: 270
  properties:
  - key: Reference
    value: R?
    position:
      x: 226.06
      y: 109.855
      angle: 90
  - key: Value
    value: 4k7
    position:
      x: 226.06
      y: 111.76
      angle: 90
- libraryNickname: Device
  entryName: R_Small
  position:
    x: 226.06
    y: 106.68
    angle: 270
  properties:
  - key: Reference
    value: R?
    position:
      x: 226.06
      y: 104.775
      angle: 90
  - key: Value
    value: 4k7
    position:
      x: 226.06
      y: 106.68
      angle: 90
- libraryNickname: Device
  entryName: C_Small
  position:
    x: 232.41
    y: 115.57
    angle: 0
  properties:
  - key: Reference
    value: C?
    position:
      x: 231.775
      y: 113.665
      angle: 0
  - key: Value
    value: 100n
    position:
      x: 231.775
      y: 117.475
      angle: 0
- libraryNickname: Device
  entryName: C_Small
  position:
    x: 237.49
    y: 115.57
    angle: 0
  properties:
  - key: Reference
    value: C?
    position:
      x: 238.125
      y: 113.665
      angle: 0
  - key: Value
    value: 100n
    position:
      x: 238.125
      y: 117.475
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 234.95
    y: 118.11
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 234.95
      y: 124.46
      angle: 0
  - key: Value
    value: GND
    position:
      x: 234.95
      y: 121.92
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 255.27
    y: 118.11
    angle: 0
  properties:
  - key: Reference
    value: '#PWR?'
    position:
      x: 255.27
      y: 124.46
      angle: 0
  - key: Value
    value: GND
    position:
      x: 255.27
      y: 121.92
      angle: 0
- libraryNickname: Device
  entryName: RotaryEncoder_Switch
  position:
    x: 246.38
    y: 109.22
    angle: 0
  properties:
  - key: Reference
    value: SW?
    position:
      x: 246.38
      y: 100.4402
      angle: 0
  - key: Value
    value: RotaryEncoder_Switch
    position:
      x: 246.38
      y: 102.9771
      angle: 0
junctions:
- position:
    x: 232.41
    y: 106.68
    angle: 0
- position:
    x: 234.95
    y: 118.11
    angle: 0
- position:
    x: 237.49
    y: 111.76
    angle: 0
noConnects: []
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 238.76
    y: 109.22
  - x: 234.95
    y: 109.22
- type: wire
  points:
  - x: 232.41
    y: 118.11
  - x: 234.95
    y: 118.11
- type: wire
  points:
  - x: 255.27
    y: 106.68
  - x: 254
    y: 106.68
- type: wire
  points:
  - x: 237.49
    y: 111.76
  - x: 238.76
    y: 111.76
- type: wire
  points:
  - x: 255.27
    y: 111.76
  - x: 254
    y: 111.76
- type: wire
  points:
  - x: 228.6
    y: 111.76
  - x: 237.49
    y: 111.76
- type: wire
  points:
  - x: 223.52
    y: 111.76
  - x: 217.17
    y: 111.76
- type: wire
  points:
  - x: 255.27
    y: 118.11
  - x: 255.27
    y: 111.76
- type: wire
  points:
  - x: 228.6
    y: 106.68
  - x: 232.41
    y: 106.68
- type: wire
  points:
  - x: 232.41
    y: 106.68
  - x: 238.76
    y: 106.68
- type: wire
  points:
  - x: 232.41
    y: 113.03
  - x: 232.41
    y: 106.68
- type: wire
  points:
  - x: 223.52
    y: 106.68
  - x: 217.17
    y: 106.68
- type: wire
  points:
  - x: 255.27
    y: 101.6
  - x: 217.17
    y: 101.6
- type: wire
  points:
  - x: 234.95
    y: 109.22
  - x: 234.95
    y: 118.11
- type: wire
  points:
  - x: 255.27
    y: 101.6
  - x: 255.27
    y: 106.68
- type: wire
  points:
  - x: 237.49
    y: 113.03
  - x: 237.49
    y: 111.76
- type: wire
  points:
  - x: 234.95
    y: 118.11
  - x: 237.49
    y: 118.11
globalLabels: []
sheetInstances:
- instancePath: /
  page: '1'
