Bladeren bron

Add YouTube Video to Readme, splash screen.

Thomas Buck 8 jaren geleden
bovenliggende
commit
1dea9d7489
2 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. 2
    0
      README.md
  2. 4
    1
      Saitek-X52-PPM.ino

+ 2
- 0
README.md Bestand weergeven

@@ -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 Bestand weergeven

@@ -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) {

Laden…
Annuleren
Opslaan