Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error: extended character   is not valid in an identifier #341

Open
bvkrieken opened this issue Nov 20, 2024 · 1 comment
Open

Comments

@bvkrieken
Copy link

Hi,

While trying to compile the sketch I get the following compilation error:

C:\Users\bvkrieken\OneDrive - Conclusion\Documents\Arduino\projects\IRController\IRController.ino:2446: error: extended character   is not valid in an identifier
 2446 | </style><meta data-hydrostats="publish"/> <button hidden="" data-testid="header-permalink-button" data-hotkey-scope="read-only-cursor-text-area"></button><button hidden=""></button><div><div style="--sticky-pane-height:100vh" class="Box-sc-g0xbh4-0 hOfjFo"><div class="Box-sc-g0xbh4-0 oDGAe"><div class="Box-sc-g0xbh4-0 kowOcT"><div tabindex="0" class="Box-sc-g0xbh4-0 gISSDQ"><div class="Box-sc-g0xbh4-0 fLEPlD"><div class="Box-sc-g0xbh4-0 hPvFuC"></div><div style="--pane-width:320px" class="Box-sc-g0xbh4-0 fFSoPl"></div><div class="Box-sc-g0xbh4-0 bTBnTW"><div role="slider" aria-label="Draggable pane splitter" aria-valuemin="0" aria-valuemax="0" aria-valuenow="0" aria-

... cut to meet max character limit ...

k">include</span> <span class="pl-s"><span class="pl-pds">&lt;</span>FS.h<span class="pl-pds">&gt;</span></span>                                               <span class="pl-c"><span class="pl-c">//</span> This needs to be first, or it all crashes and burns</span></div></div></div><div class="react-code-text react-code-line-contents" style="min-height:auto"><div><div id="LC2" class="react-file-line html-div" data-testid="code-cell" data-line-number="2" style="position:relative">
      | 
C:\Users\bvkrieken\OneDrive - Conclusion\Documents\Arduino\projects\IRController\IRController.ino:2446: error: extended character   is not valid in an identifier
C:\Users\bvkrieken\OneDrive - Conclusion\Documents\Arduino\projects\IRController\IRController.ino:2446: error: extended character   is not valid in an identifier
C:\Users\bvkrieken\OneDrive - Conclusion\Documents\Arduino\projects\IRController\IRController.ino:2685:9: error: extended character ’ is not valid in an identifier
 2685 |     You can’t perform that action at this time.
      |         ^
exit status 1

Compilation error: extended character   is not valid in an identifier

What am I doing wrong? I have the latest IDE version and all libraries are up to date 😕

@mdhiggins
Copy link
Owner

You might need to just redownload the script, seems like perhaps you've got some invalid characters or something, did you copy and paste the code from somewhere like a word processor before pasting it into the IDE?

And what IDE? You should use PlatformIO as your IDE if you're not using that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants