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

Error CHaracters #166

Open
DavideG2002 opened this issue Feb 25, 2024 · 1 comment
Open

Error CHaracters #166

DavideG2002 opened this issue Feb 25, 2024 · 1 comment

Comments

@DavideG2002
Copy link

Hi, I need help with my ATtiny85. When I use special characters, they are displayed incorrectly.
For example:
if I enter "DigiKeyboard.print("start https://www.youtube.com/watch?v=dQw4w9WgXcQ");" on arduino ide
in the command prompt, I receive "C:\Users\utente>start httpsç--www.youtube.com-watch_vìdQw4w9WgXcQ ".
How can I resolve this problem?

@pfeerick
Copy link

pfeerick commented Feb 26, 2024

You probably need to encapsulate the URL (to the rickroll) in quotes so that the colon and forward slashes are not considered path/escape characters.

i.e. try single quotes around the url ;)

DigiKeyboard.print("start 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'");

You would also be much better off using the ArminJo/DigistumpArduino or SpenceKonde/ATTinyCore board support package / repos, as the digistump one is basically abandoned (and has had no updates in over seven years).

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