

HALJIA JoyStick Keypad Shield Expansion Eoard Game joystick Simulation Keyboard and Mouse Function Compatible with Arduino Nrf24l01 5110 Lcd I2c IIC
About this item
- This unit have Nokia 5110 LCD interface and nRF24L01 interface
- Suitable for all version of arduino Main board, 2009 , UNO, mega 1280, mega 2560
- Five momentary push buttons (4+ joystick select button, just like the playstation 3 analog stick push button)
- Add I2C communication interface, easy connect with I2C devices
- Easy and convenient to install/operate
Product description
Feature: Name: expansion board This unit have Nokia 5110 LCD interface and nRF24L01 interface Suitable for all version of arduino Main board, 2009 , UNO, mega 1280, mega 2560 Five momentary push buttons (4+ joystick select button, just like the playstation 3 analog stick push button) Add I2C communication interface, easy connect with I2C devices Easy and convenient to install/operate Packing List: 1*JoyStick Expansion Board Test code is as follows: int FirstShotX , FirstShotY; void setup() { for(int i=0; i<19; i++) { pinMode(i, INPUT); digitalWrite(i, 1); } Serial.begin(9600); FirstShotX = 0; FirstShotY = 0; } void loop(){ int i, someInt, flag = 0; for(i=4; i<11; i++) http://keyes-arduino.taobao.com { someInt = digitalRead(i); if(someInt == 0) { flag =1; break; } } if(flag == 1) { switch(i) { case 4: Serial.println("--------> Button A"); break; case 5: Serial.println("--------> Button B"); break; case 6: Serial.println("--------> Button C"); break; case 7: Serial.println("--------> Button D"); break; case 8: Serial.println("--------> Button E"); break; case 9: Serial.println("--------> Button F"); break; case 10: Serial.println("--------> Button KEY"); break; default: break; } flag=0; } int sensorValue = analogRead(A0); if(FirstShotX == 0) { FirstShotX = sensorValue; Serial.print("FirstShotX = "); Serial.println(FirstShotX); } Serial.print("X = "); Serial.println(sensorValue - FirstShotX); sensorValue = analogRead(A1); if(FirstShotY == 0) { FirstShotY = sensorValue; Serial.print("FirstShotY = "); Serial.println(FirstShotY); } Serial.print("Y = "); Serial.println(sensorValue - FirstShotY); http://keyes-arduino.taobao.com delay(200); }
Product details
Customer reviews
What customers say about Bigamart
10 Trustpilot reviews total, with 2 shown at a time.
I wrote to Bigamart's customer support and they accompanied the process of reshipping the item until it finally arrived. I felt a genuine effort to solve the problem till it was finally solved.
The package was here in Australia from England in a few days โ so quick! Something was missing and they refunded it straight away. Pretty happy with these guys.
You might also like
Similar items


MSI B560M PRO Motherboard, Micro-ATX - Supports Intel Core 11th Gen Processors, LGA 1200-2 x DIMMs (5200MHz/OC), 1 x PCIe 4.0 x16, 1 x M.2 Gen4/3, 2.5G LAN


