Arduino/Joystick 썸네일형 리스트형 Arduino Joystick input example 아두이노와 조이스틱을 연결하여 입력을 받는 예 https://www.arduino.cc/en/Tutorial/JoyStick 조이스틱은 2개의 가변저항을 이용하여 2개의 축(x, y)에 대한 조작 정보를 입력할 수 있다. 1개의 가변저항을 통해 아나로그 값을 디지털 값으로 변환할 수 있다면 동일한 내용을 하나더 추가하면 된다 /* Read Jostick * ------------ * * Reads two analog pins that are supposed to be * connected to a jostick made of two potentiometers * * We send three bytes back to the comp: one header and two * with data as signed.. 더보기 이전 1 다음