As requested here is the current source code for my Scope Tracker. It’s not clean but it works for me.
Two main files, – main.c & scopetrack.h – in this zip file
I’ll get some schematics up later
One important thing to note, the redlib library that is supplied for NXP Programming has a bad file that unless they’ve fixed it since WILL need to be fixed of this code wont work, basically there is a bad offset in the port mapping, I’ll see if I can track down the file I changed to fix it and add it to this post…
edit: Found the file: #include <NXP/LPC17xx/LPC17xx.h> I had to fix the offsets for FIO2 & FIO3 references (I think – check differences with your own version and change as needed)