Browse Source

Add YouTube Video to Readme, splash screen.

Thomas Buck 7 years ago
parent
commit
1dea9d7489
2 changed files with 6 additions and 1 deletions
  1. 2
    0
      README.md
  2. 4
    1
      Saitek-X52-PPM.ino

+ 2
- 0
README.md View File

@@ -2,6 +2,8 @@
2 2
 
3 3
 This sketch allows connecting a [Saitek X52](http://www.saitek.com/uk/prod/x52.html) or [Saitek X52 Pro](http://www.saitek.com/uk/prod/x52pro.html) to an [Arduino](https://www.arduino.cc/en/Main/ArduinoBoardUno) with a [USB Host Shield](https://www.arduino.cc/en/Main/ArduinoUSBHostShield). It uses the [USB_Host_Shield_2.0 Library](https://github.com/felis/USB_Host_Shield_2.0).
4 4
 
5
+[![Multicopter flight with Saitek X52](http://img.youtube.com/vi/De_Ld6MerNo/0.jpg)](http://www.youtube.com/watch?v=De_Ld6MerNo "Multicopter flight with Saitek X52")
6
+
5 7
 A CPPM signal is generated on a configurable pin and can be fed into a transmitter module or directly into a flight controller.
6 8
 
7 9
 Using the Multi-Function-Display on the Joystick, every config option can be changed. These values can be stored on the EEPROM and will be loaded on every start.

+ 4
- 1
Saitek-X52-PPM.ino View File

@@ -100,7 +100,10 @@ void setup() {
100 100
 
101 101
 void init_joystick() {
102 102
     x52.initialize();
103
-    statusCallback(0, 0, 0, 0);
103
+
104
+    x52.setMFDText(0, "Arduino X52 Host");
105
+    x52.setMFDText(1, "Made by xythobuz");
106
+    x52.setMFDText(2, "Licensed as GPL2");
104 107
 
105 108
     // Sometimes the first message is lost, so send again
106 109
     if (joyButtons.getCurrentMode() == 1) {

Loading…
Cancel
Save