I think the A in #include "Arduino.h" should be an uppercase letter. In my case I had to change this, to make the code compile.