sqfmi/badgy

Cannot compile examples in Arduino IDE

sauerjc opened this issue · 4 comments

I just received my Rev 2B badgy. I'm trying to compile and upload the new bin file to my badgy using Arduino IDE 1.8.8 . I keep getting an ' stray error /'302' in program' when i compile the hello.ino example. I have tried it with the original hello.h file and once that I created withe the image2cpp application. I Even tried including all the recommended libraries ensuring I used the specified version of the libraries. I get the same error.

the following is the text from the error message copied and pasted from the IDE

any help would be appreciated. I thought this was going to be simple, cut and dry.

TIA - john

Arduino: 1.8.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

hello:31:3: error: stray '\302' in program

<title>badgy/hello.ino at master · sqfmi/badgy · GitHub</title>

^

hello:31:3: error: stray '\267' in program

hello:31:3: error: stray '\302' in program

hello:31:3: error: stray '\267' in program

hello:268:5: error: missing terminating ' character

 <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-site-search-form" role="search" aria-label="Site" data-scope-type="Repository" data-scope-id="115660478" data-scoped-search-url="/sqfmi/badgy/search" data-unscoped-search-url="/search" action="/sqfmi/badgy/search" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="&#x2713;" />

 ^

hello:314:7: error: stray '\342' in program

   <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>

   ^

hello:314:7: error: stray '\206' in program

hello:314:7: error: stray '\265' in program

hello:319:7: error: stray '\342' in program

   <span class="d-inline-block ml-1 v-align-middle">↵</span>

   ^

hello:319:7: error: stray '\206' in program

hello:319:7: error: stray '\265' in program

hello:355:7: error: stray '\342' in program

   <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>

   ^

hello:355:7: error: stray '\206' in program

hello:355:7: error: stray '\265' in program

hello:360:7: error: stray '\342' in program

   <span class="d-inline-block ml-1 v-align-middle">↵</span>

   ^

hello:360:7: error: stray '\206' in program

hello:360:7: error: stray '\265' in program

hello:387:7: error: stray '\342' in program

   <span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>

   ^

hello:387:7: error: stray '\206' in program

hello:387:7: error: stray '\265' in program

hello:392:7: error: stray '\342' in program

   <span class="d-inline-block ml-1 v-align-middle">↵</span>

   ^

hello:392:7: error: stray '\206' in program

hello:392:7: error: stray '\265' in program

hello:623:11: error: missing terminating ' character

       <!-- '"` --><!-- </textarea></xmp> --></option></form><form action="/prompt_dismissals/signup" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="&#x2713;" /><input type="hidden" name="_method" value="put" /><input type="hidden" name="authenticity_token" value="BAwVyFv90gvOUvKhmt+W1QsToWg7HRSDLrmmEgUGLg42YZVDhz0xUYu8bqCx+Gv8cpdES8JWrqVelBVasmUwEg==" />

       ^

hello:692:15: error: missing terminating " character

           <a data-pjax="true" title="added commented out code for 2.9&quot; red/white/black e-paper display" class="link-gray" href="/sqfmi/badgy/commit/8337226913017084e4a37874abb0fe2770ee68d7">added commented out code for 2.9" red/white/black e-paper display</a>

           ^

hello:789:69: error: stray '#' in program

     <td id="LC2" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxEPD.h<span class="pl-pds">&gt;</span></span></td>

                                                                 ^

hello:793:69: error: stray '#' in program

     <td id="LC3" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxGDEH029A1/GxGDEH029A1.h<span class="pl-pds">&gt;</span></span></td>

                                                                 ^

hello:801:69: error: stray '#' in program

     <td id="LC5" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxIO/GxIO_SPI/GxIO_SPI.h<span class="pl-pds">&gt;</span></span></td>

                                                                 ^

hello:805:69: error: stray '#' in program

     <td id="LC6" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxIO/GxIO.h<span class="pl-pds">&gt;</span></span></td>

                                                                 ^

hello:813:69: error: stray '#' in program

     <td id="LC8" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>Fonts/FreeMonoBold9pt7b.h<span class="pl-pds">&gt;</span></span></td>

                                                                 ^

hello:817:69: error: stray '#' in program

     <td id="LC9" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>Fonts/FreeSansBoldOblique24pt7b.h<span class="pl-pds">&gt;</span></span></td>

                                                                 ^

hello:825:70: error: stray '#' in program

     <td id="LC11" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>hello.h<span class="pl-pds">&quot;</span></span></td>

                                                                  ^

hello:833:70: error: stray '#' in program

     <td id="LC13" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266WiFi.h<span class="pl-pds">&gt;</span></span></td>

                                                                  ^

hello:837:70: error: stray '#' in program

     <td id="LC14" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>WiFiClient.h<span class="pl-pds">&gt;</span></span></td>

                                                                  ^

hello:841:70: error: stray '#' in program

     <td id="LC15" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>DNSServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                  ^

hello:845:70: error: stray '#' in program

     <td id="LC16" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266WebServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                  ^

hello:849:70: error: stray '#' in program

     <td id="LC17" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266HTTPUpdateServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                  ^

hello:853:70: error: stray '#' in program

     <td id="LC18" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>WiFiManager.h<span class="pl-pds">&gt;</span></span></td>

                                                                  ^

hello:1500:7: error: missing terminating ' character

   <!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-jump-to-line-form Box-body d-flex" action="" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="&#x2713;" />

   ^

hello:1555:5: error: stray '\342' in program

 You can’t perform that action at this time.

 ^

hello:1555:5: error: stray '\200' in program

hello:1555:5: error: stray '\231' in program

hello:7:1: error: expected unqualified-id before '<' token

^

hello:143:25: error: 'up' does not name a type

           Sign&nbsp;up

                     ^

hello:170:267: error: expected unqualified-id before '<' token

                 <a href="/features" class="py-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Features">Features <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a>

                                                                                                                                                                                                                                                                       ^

hello:184:332: error: expected unqualified-id before '<' token

                   <li class="edge-item-fix"><a href="/customer-stories" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Customer stories">Customer stories <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>

                                                                                                                                                                                                                                                                                                                                        ^

hello:185:308: error: expected unqualified-id before '<' token

                   <li class="edge-item-fix"><a href="/security" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Security">Security <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>

                                                                                                                                                                                                                                                                                                                ^

hello:205:299: error: expected unqualified-id before '<' token

                   <li class="edge-item-fix"><a href="/explore" class="py-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Explore">Explore GitHub <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>

                                                                                                                                                                                                                                                                                                       ^

hello:208:113: error: 'contribute' does not name a type

                 <h4 class="text-gray-light text-normal text-mono f5 mb-2 border-lg-top pt-lg-3">Learn &amp; contribute</h4>

                                                                                                             ^

hello:241:262: error: expected unqualified-id before '<' token

                 <a href="/pricing" class="pb-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Pricing">Plans <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a>

                                                                                                                                                                                                                                                                  ^

hello:249:312: error: expected unqualified-id before '<' token

                   <li class="edge-item-fix"><a href="/nonprofit" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Nonprofits">Nonprofit <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>

                                                                                                                                                                                                                                                                                                                    ^

hello:250:335: error: expected unqualified-id before '<' token

                   <li class="edge-item-fix"><a href="https://education.github.com" class="py-2 pb-0 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover"  data-ga-click="(Logged out) Header, go to Education">Education <span class="Bump-link-symbol float-right text-normal text-gray-light">&rarr;</span></a></li>

                                                                                                                                                                                                                                                                                                                                           ^

hello:411:21: error: 'in' does not name a type

       Sign&nbsp;in

                 ^

hello:417:23: error: 'up' does not name a type

         Sign&nbsp;up

                   ^

hello:789:148: error: expected unqualified-id before '<' token

     <td id="LC2" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxEPD.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                ^

hello:789:187: error: expected unqualified-id before '<' token

     <td id="LC2" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxEPD.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                       ^

hello:793:148: error: expected unqualified-id before '<' token

     <td id="LC3" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxGDEH029A1/GxGDEH029A1.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                ^

hello:793:205: error: expected unqualified-id before '<' token

     <td id="LC3" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxGDEH029A1/GxGDEH029A1.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                                         ^

hello:801:148: error: expected unqualified-id before '<' token

     <td id="LC5" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxIO/GxIO_SPI/GxIO_SPI.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                ^

hello:801:204: error: expected unqualified-id before '<' token

     <td id="LC5" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxIO/GxIO_SPI/GxIO_SPI.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                                        ^

hello:805:148: error: expected unqualified-id before '<' token

     <td id="LC6" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxIO/GxIO.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                ^

hello:805:191: error: expected unqualified-id before '<' token

     <td id="LC6" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>GxIO/GxIO.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                           ^

hello:813:148: error: expected unqualified-id before '<' token

     <td id="LC8" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>Fonts/FreeMonoBold9pt7b.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                ^

hello:813:205: error: expected unqualified-id before '<' token

     <td id="LC8" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>Fonts/FreeMonoBold9pt7b.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                                         ^

hello:817:148: error: expected unqualified-id before '<' token

     <td id="LC9" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>Fonts/FreeSansBoldOblique24pt7b.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                ^

hello:817:213: error: expected unqualified-id before '<' token

     <td id="LC9" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>Fonts/FreeSansBoldOblique24pt7b.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                                                 ^

hello:825:151: error: expected unqualified-id before '<' token

     <td id="LC11" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>hello.h<span class="pl-pds">&quot;</span></span></td>

                                                                                                                                                   ^

hello:825:192: error: expected unqualified-id before '<' token

     <td id="LC11" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>hello.h<span class="pl-pds">&quot;</span></span></td>

                                                                                                                                                                                            ^

hello:833:149: error: expected unqualified-id before '<' token

     <td id="LC13" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266WiFi.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                 ^

hello:833:194: error: expected unqualified-id before '<' token

     <td id="LC13" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266WiFi.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                              ^

hello:837:149: error: expected unqualified-id before '<' token

     <td id="LC14" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>WiFiClient.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                 ^

hello:837:193: error: expected unqualified-id before '<' token

     <td id="LC14" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>WiFiClient.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                             ^

hello:841:149: error: expected unqualified-id before '<' token

     <td id="LC15" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>DNSServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                 ^

hello:841:192: error: expected unqualified-id before '<' token

     <td id="LC15" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>DNSServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                            ^

hello:845:149: error: expected unqualified-id before '<' token

     <td id="LC16" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266WebServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                 ^

hello:845:199: error: expected unqualified-id before '<' token

     <td id="LC16" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266WebServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                                   ^

hello:849:149: error: expected unqualified-id before '<' token

     <td id="LC17" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266HTTPUpdateServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                 ^

hello:849:206: error: expected unqualified-id before '<' token

     <td id="LC17" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>ESP8266HTTPUpdateServer.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                                          ^

hello:853:149: error: expected unqualified-id before '<' token

     <td id="LC18" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>WiFiManager.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                 ^

hello:853:194: error: expected unqualified-id before '<' token

     <td id="LC18" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>WiFiManager.h<span class="pl-pds">&gt;</span></span></td>

                                                                                                                                                                                              ^

hello:866:187: error: expected unqualified-id before '<' token

     <td id="LC21" class="blob-code blob-code-inner js-file-line"><span class="pl-k">const</span> <span class="pl-k">char</span>* name = <span class="pl-s"><span class="pl-pds">&quot;</span>Badgy<span class="pl-pds">&quot;</span></span>;</td>

                                                                                                                                                                                       ^

hello:866:226: error: expected unqualified-id before '<' token

     <td id="LC21" class="blob-code blob-code-inner js-file-line"><span class="pl-k">const</span> <span class="pl-k">char</span>* name = <span class="pl-s"><span class="pl-pds">&quot;</span>Badgy<span class="pl-pds">&quot;</span></span>;</td>

                                                                                                                                                                                                                              ^

hello:866:241: error: expected unqualified-id before '<' token

     <td id="LC21" class="blob-code blob-code-inner js-file-line"><span class="pl-k">const</span> <span class="pl-k">char</span>* name = <span class="pl-s"><span class="pl-pds">&quot;</span>Badgy<span class="pl-pds">&quot;</span></span>;</td>

                                                                                                                                                                                                                                             ^

hello:879:253: error: expected unqualified-id before '<' token

     <td id="LC24" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">/*</span><span class="pl-c">*/</span></span><span class="pl-k">const</span> <span class="pl-k">int</span> port = <span class="pl-c1">8888</span>;</td>

                                                                                                                                                                                                                                                         ^

hello:883:213: error: expected unqualified-id before '<' token

     <td id="LC25" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">/*</span><span class="pl-c">*/</span></span>ESP8266WebServer <span class="pl-en">httpServer</span>(port);</td>

                                                                                                                                                                                                                 ^

hello:887:188: error: expected unqualified-id before '<' token

     <td id="LC26" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">/*</span><span class="pl-c">*/</span></span>ESP8266HTTPUpdateServer httpUpdater;</td>

                                                                                                                                                                                        ^

hello:904:180: error: expected unqualified-id before '<' token

     <td id="LC30" class="blob-code blob-code-inner js-file-line">GxIO_Class <span class="pl-en">io</span>(SPI, SS, <span class="pl-c1">0</span>, <span class="pl-c1">2</span>);</td>

                                                                                                                                                                                ^

hello:908:122: error: expected unqualified-id before '<' token

     <td id="LC31" class="blob-code blob-code-inner js-file-line">GxEPD_Class <span class="pl-en">display</span>(io); <span class="pl-c"><span class="pl-c">//</span> default selection of D4, D2</span></td>

                                                                                                                      ^

hello:921:118: error: expected unqualified-id before '<' token

     <td id="LC34" class="blob-code blob-code-inner js-file-line">byte buttonState = <span class="pl-c1">0</span>;</td>

                                                                                                                  ^

hello:925:125: error: expected unqualified-id before '<' token

     <td id="LC35" class="blob-code blob-code-inner js-file-line">byte lastButtonState = <span class="pl-c1">0</span>;   <span class="pl-c"><span class="pl-c">//</span>the previous reading from the input pin</span></td>

                                                                                                                         ^

hello:929:186: error: expected unqualified-id before '<' token

     <td id="LC36" class="blob-code blob-code-inner js-file-line"><span class="pl-k">unsigned</span> <span class="pl-k">long</span> lastDebounceTime = <span class="pl-c1">0</span>;  <span class="pl-c"><span class="pl-c">//</span>the last time the output pin was toggled</span></td>

                                                                                                                                                                                      ^

hello:933:186: error: expected unqualified-id before '<' token

     <td id="LC37" class="blob-code blob-code-inner js-file-line"><span class="pl-k">unsigned</span> <span class="pl-k">long</span> debounceDelay = <span class="pl-c1">50</span>;    <span class="pl-c"><span class="pl-c">//</span>the debounce time</span></td>

                                                                                                                                                                                      ^

exit status 1
stray '\302' in program

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Looks like you copy and pasted the code from Github, and it's copied as HTML, not RAW C code?

That's what I thought but I downloaded the examples rather than copying and pasting. I even tried "Tools>Fix encoding & Reload" and "Tools/Autoformat" in the Arduino IDE but still get the errors.

all i am trying to do is get my badgy to display something like:

NameBadge KC3JCS

I'm getting no where fast when I cannot even compile the examples. I'm running IDE 1.8.8 on Win10. I do have access raspberrypi running linux and MacOSX if they help.

Thanks, John

sqfmi commented

Hi @sauerjc , as @chunkysteveo mentioned, it looks like you are trying to compile the webpage's HTML code. Try downloading the code by clicking this button:
image
and try running the examples again. Let us know if you run into any other isssues.