Updated examples with bug fixes

Also added file with instructions for how to find the Arduino code.