Get it on Google Play


Wm뮤 :: 아두이노 키보드

블로그 이미지
가끔 그림그리거나 3D모델링하거나
취미로 로봇만드는
퇴직한 전자과 게임프로그래머
2020.3.48f1 , 2022.3.6f1 주로 사용
모카쨩
@Ahzkwid

Recent Comment

Archive


2021. 8. 28. 17:18 아두이노

 

 

키코드 : https://www.arduino.cc/en/Reference/KeyboardModifiers

 

 

Due에서 사용가능

 

#include <Keyboard.h>
void setup() {
  
  Keyboard.begin();
  Serial.begin(9600);
  Serial.println("Start Arduino");
}
void KeyboardPressHuman(char key) 
{
    Keyboard.press(key);
    Serial.println("Press");
    delay(100+random(300));
    Keyboard.release(key);
}

void loop() {
    delay(6500+random(1000));
    KeyboardPressHuman(KEY_F12);
}

'아두이노' 카테고리의 다른 글

아두이노 키코드 모음  (0) 2021.09.17
아두이노 LCD 1602  (0) 2021.07.16
아두이노 헤더 예제  (0) 2021.07.15
posted by 모카쨩

  • total
  • today
  • yesterday

Recent Post

저사양 유저용 블로그 진입