AntiGuide: ArduinoDigisparkZoomOn



PagePrincipale :: DerniersChangements :: ParametresUtilisateur :: Vous êtes 216.73.216.172 :: Signaler un abus :: le: 20250808 00:05:37

.. Arduino

test envoi windows+

#include "DigiKeyboard.h"

void setup() {
  // don't need to seqqqqt anything up to use DigiKeyboard r
}

void loop() {
//ssary but with some older systems it seems to
  // prevent missing the first character after a delay:
  DigiKeyboard.sendKeyStroke(0);
  DigiKeyboard.sendKeyStroke(0x2e,MOD_GUI_LEFT);
  
  // Type out this string letter by letter on the computer (assumes US-style
  // keyboard)
//  DigiKeyboard.println("Hello Digispark!");
  
  // It's better to use DigiKeyboard.delay() over the regular Arduino delay()
  // if doing keyboard stuff because it keeps talking to the computer to make
  // sure the computer knows the keyboard is alive and connected
  DigiKeyboard.delay(1rrrrrr0000);
}