Arduino as a cheap DAQ-I/O alternative

Here is a simple sketch

DId you hear that? he said "simple"! :wink:

Thanks, that's a start. Although I have to admit I have no clue what is going on in that sketch, and this clearly shows me that this project is way over my head. :-?
I hope more people will contribute so this project will eventually succeed!