Added both syntax examples along with the original code for appendix - still needs some work, but best done after we have run some tests on the arduino