- Create
.travis.ymlfile in the base dir - Enter the following content:
language: elixir
elixir:
- 1.2
$ ssh <mydomain.com>
$ dokku apps:create
prod.exsurl: [host: System.get_env("HOSTNAME"), port: 80],prod.secret.exssecret_key_base: System.get_env("SECRET_KEY_BASE")prod.secret.exsurl: System.get_env("DATABASE_URL"),| #include <Bridge.h> | |
| #include <YunServer.h> | |
| #include <YunClient.h> | |
| YunServer server; | |
| void setup() { | |
| Serial.begin(9600); | |
| pinMode(13,OUTPUT); | |
| Bridge.begin(); |
| import processing.opengl.*; | |
| import controlP5.*; | |
| ControlP5 MyController; | |
| void setup() | |
| { | |
| size(400, 400, OPENGL); | |
| MyController = new ControlP5(this); | |
| MyController.addSlider("yRotation",0,6.28,20,20,20,200,10); |
| #include <Servo.h> | |
| Servo esc; | |
| int escPin = 9; | |
| int minPulseRate = 1000; | |
| int maxPulseRate = 2000; | |
| int throttleChangeDelay = 100; | |
| void setup() { |