Jump to content

[Version 1] Quick Question Regarding Teensy Programming.


Xcellerator
 Share

Recommended Posts

Hi,

I feel rather silly, seeing as I did once know how to do this and had it written down, but now I need to use, I've completely forgotten it...

Programming my Teensy board in Arduino and I need to be able to Print some quotation marks as part of a string...

I am using:

Keyboard.print("TEXT HERE");

but if quotation marks are part of the string, then it ends the string that gets printed... Up until now I've used ' instead of ", so it hasn't been an issue, but now I need to use '.

I know it something like,

Keyboard.xxxxxx("TEXT");

, but for the life of me, I can't remember...

Any help much appreciated..

Link to comment
Share on other sites

Hi,

I feel rather silly, seeing as I did once know how to do this and had it written down, but now I need to use, I've completely forgotten it...

Programming my Teensy board in Arduino and I need to be able to Print some quotation marks as part of a string...

I am using:

Keyboard.print("TEXT HERE");

but if quotation marks are part of the string, then it ends the string that gets printed... Up until now I've used ' instead of ", so it hasn't been an issue, but now I need to use '.

I know it something like,

Keyboard.xxxxxx("TEXT");

, but for the life of me, I can't remember...

Any help much appreciated..

Escape characters /

/" double quote

// forward slash

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...