Step 3: Clean up your Pulse Codes

The raw pulse codes come out a little messy for what we want to do with them so we need to clean them up.

1)  Copy/Paste your raw codes into an empty Notepad (or similar) Doc and Label them 0 through 9.
2)  The first pulse (large red circles in the Serial Monitor picture) is a sort of warm up for the IR LED so you want to delete it.
3)  Then move on and delete any negative (-) signs you see in your pulses (small red circles in the Serial Monitor picture)
4)  Go through your code and delete all the spaces leaving a coma (,) between each pulse.

Your finished pulses should look nice and clean like the string of pulses pictured in my code.

About This Instructable


115 favorites


Bio: Former custom bike manufacturer, spent four years in the military and now I'm an Industrial Engineer spending my free time thinking up things to ... More »
More by Schmidtn: How To Have A Talking Dog Zombie Overrun Gingerbread House Fart Operated Random Channel TV Remote
Add instructable to: