This project - Poor Mans oscilloscope using Digilent Chipkit Uno 32, started when i wanted a very cheap alternative to my costly Digital storage oscilloscope.
I came across this wonderful project on poor mans oscilloscope with Arduino and Processing - https://www.instructables.com/id/Arduino-Oscillosc...
I have modified this project to implement it on ChipKit Uno 32 which comes with a Basic IO shield that has a beautiful OLED display.
Use the attached code to burn into the chipkit.
Note: For the code to work you will have to include the IOShieldOled library.