Schematic:
.-------------------.
| |
| |
| pin_in=A0 )------------.
| | |
| | 100k |
| | ___ |
| pin_pwm=D9 )----|___|---o
| | |
| | |
| | ---
| | --- 100n
| | |
| GND )------------'
| |
| |
'-------------------'