Create a schematic for LED dimmer circuit. 

libSymbols:
- Connector_Generic:Conn_01x03
- Device:LED
- Device:R
- Device:R_Potentiometer_US
- Mechanical:MountingHole
- Transistor_FET:BSS138
- power:+3.3V
- power:GND
- power:PWR_FLAG
schematicSymbols:
- libraryNickname: power
  entryName: +3.3V
  position:
    x: 119.38
    y: 100.33
    angle: 0
  properties:
  - key: Reference
    value: '#PWR03'
    position:
      x: 119.38
      y: 104.14
      angle: 0
  - key: Value
    value: +3.3V
    position:
      x: 119.38
      y: 96.52
      angle: 0
- libraryNickname: power
  entryName: +3.3V
  position:
    x: 173.99
    y: 50.8
    angle: 0
  properties:
  - key: Reference
    value: '#PWR02'
    position:
      x: 173.99
      y: 54.61
      angle: 0
  - key: Value
    value: +3.3V
    position:
      x: 173.99
      y: 46.99
      angle: 0
- libraryNickname: Device
  entryName: LED
  position:
    x: 173.99
    y: 58.42
    angle: 90
  properties:
  - key: Reference
    value: D1
    position:
      x: 177.8
      y: 59.3725
      angle: 90
  - key: Value
    value: OP166A
    position:
      x: 177.8
      y: 61.9125
      angle: 90
- libraryNickname: Device
  entryName: R
  position:
    x: 171.45
    y: 105.41
    angle: 90
  properties:
  - key: Reference
    value: R3
    position:
      x: 171.45
      y: 100.33
      angle: 90
  - key: Value
    value: '100'
    position:
      x: 171.45
      y: 102.87
      angle: 90
- libraryNickname: power
  entryName: GND
  position:
    x: 184.15
    y: 124.46
    angle: 0
  properties:
  - key: Reference
    value: '#PWR01'
    position:
      x: 184.15
      y: 130.81
      angle: 0
  - key: Value
    value: GND
    position:
      x: 184.15
      y: 129.54
      angle: 0
- libraryNickname: power
  entryName: PWR_FLAG
  position:
    x: 106.68
    y: 92.71
    angle: 0
  properties:
  - key: Reference
    value: '#FLG02'
    position:
      x: 106.68
      y: 90.805
      angle: 0
  - key: Value
    value: PWR_FLAG
    position:
      x: 106.68
      y: 87.63
      angle: 0
- libraryNickname: Device
  entryName: R_Potentiometer_US
  position:
    x: 173.99
    y: 86.36
    angle: 0
  properties:
  - key: Reference
    value: RV1
    position:
      x: 171.45
      y: 87.63
      angle: 0
  - key: Value
    value: 500 125mW
    position:
      x: 171.45
      y: 85.09
      angle: 0
- libraryNickname: power
  entryName: GND
  position:
    x: 119.38
    y: 111.76
    angle: 0
  properties:
  - key: Reference
    value: '#PWR04'
    position:
      x: 119.38
      y: 118.11
      angle: 0
  - key: Value
    value: GND
    position:
      x: 119.38
      y: 116.84
      angle: 0
- libraryNickname: Mechanical
  entryName: MountingHole
  position:
    x: 160.02
    y: 130.81
    angle: 0
  properties:
  - key: Reference
    value: H2
    position:
      x: 162.56
      y: 130.175
      angle: 0
  - key: Value
    value: MountingHole
    position:
      x: 162.56
      y: 132.715
      angle: 0
- libraryNickname: Transistor_FET
  entryName: BSS138
  position:
    x: 181.61
    y: 105.41
    angle: 0
  properties:
  - key: Reference
    value: Q1
    position:
      x: 187.96
      y: 104.775
      angle: 0
  - key: Value
    value: BSS138
    position:
      x: 187.96
      y: 107.315
      angle: 0
- libraryNickname: Connector_Generic
  entryName: Conn_01x03
  position:
    x: 81.28
    y: 105.41
    angle: 0
  properties:
  - key: Reference
    value: J1
    position:
      x: 81.28
      y: 97.79
      angle: 0
  - key: Value
    value: Conn_01x03
    position:
      x: 81.28
      y: 100.33
      angle: 0
- libraryNickname: power
  entryName: PWR_FLAG
  position:
    x: 95.25
    y: 92.71
    angle: 0
  properties:
  - key: Reference
    value: '#FLG01'
    position:
      x: 95.25
      y: 90.805
      angle: 0
  - key: Value
    value: PWR_FLAG
    position:
      x: 95.25
      y: 87.63
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 173.99
    y: 71.12
    angle: 0
  properties:
  - key: Reference
    value: R1
    position:
      x: 176.53
      y: 70.485
      angle: 0
  - key: Value
    value: '36'
    position:
      x: 176.53
      y: 73.025
      angle: 0
- libraryNickname: Mechanical
  entryName: MountingHole
  position:
    x: 142.24
    y: 130.81
    angle: 0
  properties:
  - key: Reference
    value: H1
    position:
      x: 144.78
      y: 130.175
      angle: 0
  - key: Value
    value: MountingHole
    position:
      x: 144.78
      y: 132.715
      angle: 0
- libraryNickname: Device
  entryName: R
  position:
    x: 165.1
    y: 113.03
    angle: 0
  properties:
  - key: Reference
    value: R2
    position:
      x: 167.64
      y: 112.395
      angle: 0
  - key: Value
    value: 10k
    position:
      x: 167.64
      y: 114.935
      angle: 0
junctions:
- position:
    x: 184.15
    y: 119.38
    angle: 0
- position:
    x: 106.68
    y: 107.95
    angle: 0
- position:
    x: 95.25
    y: 102.87
    angle: 0
- position:
    x: 165.1
    y: 105.41
    angle: 0
noConnects:
- position:
    x: 173.99
    y: 90.17
    angle: null
busEntries: []
graphicalItems:
- type: wire
  points:
  - x: 173.99
    y: 62.23
  - x: 173.99
    y: 67.31
- type: wire
  points:
  - x: 165.1
    y: 116.84
  - x: 165.1
    y: 119.38
- type: wire
  points:
  - x: 106.68
    y: 107.95
  - x: 119.38
    y: 107.95
- type: wire
  points:
  - x: 86.36
    y: 102.87
  - x: 95.25
    y: 102.87
- type: wire
  points:
  - x: 173.99
    y: 74.93
  - x: 173.99
    y: 82.55
- type: wire
  points:
  - x: 184.15
    y: 110.49
  - x: 184.15
    y: 119.38
- type: wire
  points:
  - x: 86.36
    y: 105.41
  - x: 121.92
    y: 105.41
- type: wire
  points:
  - x: 156.21
    y: 105.41
  - x: 165.1
    y: 105.41
- type: wire
  points:
  - x: 86.36
    y: 107.95
  - x: 106.68
    y: 107.95
- type: wire
  points:
  - x: 184.15
    y: 119.38
  - x: 184.15
    y: 124.46
- type: wire
  points:
  - x: 175.26
    y: 105.41
  - x: 176.53
    y: 105.41
- type: wire
  points:
  - x: 165.1
    y: 105.41
  - x: 167.64
    y: 105.41
- type: wire
  points:
  - x: 119.38
    y: 107.95
  - x: 119.38
    y: 111.76
- type: wire
  points:
  - x: 119.38
    y: 102.87
  - x: 119.38
    y: 100.33
- type: wire
  points:
  - x: 177.8
    y: 86.36
  - x: 184.15
    y: 86.36
- type: wire
  points:
  - x: 173.99
    y: 50.8
  - x: 173.99
    y: 54.61
- type: wire
  points:
  - x: 165.1
    y: 119.38
  - x: 184.15
    y: 119.38
- type: wire
  points:
  - x: 95.25
    y: 102.87
  - x: 119.38
    y: 102.87
- type: wire
  points:
  - x: 184.15
    y: 86.36
  - x: 184.15
    y: 100.33
- type: wire
  points:
  - x: 165.1
    y: 105.41
  - x: 165.1
    y: 109.22
- type: wire
  points:
  - x: 106.68
    y: 92.71
  - x: 106.68
    y: 107.95
- type: wire
  points:
  - x: 95.25
    y: 92.71
  - x: 95.25
    y: 102.87
globalLabels:
- text: BALL_TX
  shape: input
  position:
    x: 121.92
    y: 105.41
    angle: 0
- text: BALL_TX
  shape: input
  position:
    x: 156.21
    y: 105.41
    angle: 180
sheetInstances:
- instancePath: /
  page: '1'
