Small Scope with Nokia 3310 Display

This is a Project i found at

Made some minor changes in the Code and added poti for the offset. The First 2 Potis are for the Samplespeed and for the Y-scale. The third is for the offset of the complete diagram.

The Code is self explaining and hopefully readable ;-).

I use the SainSmart Shield with the 3310 LCD.

The LCD is not in the Layout, so U can use your own or change the pins.... The probe is connected to Analog Pin 1.

Pic 1 is only Noise. Pic 2 is the PWM of a dimmed LED