Git Product home page Git Product logo

f18panel's Introduction

DCS World F18 VR Control Panel

picture.jpg

Dependencies

brew install teensy_loader_cli
git submodule update --init

Deploy

make upload

Debug

Comment line 15 and uncomment line 16 in the Makefile. Rebuild and upload. Connect to serial via

screen /dev/tty.usbmodem2470841 9600

or

make serial

Project started from the project template https://github.com/apmorton/teensy-template

Teensy 3.X Project Template

Purpose

An easy starting point for a Teensy 3.X project which might not fit inside the arduino build environment.

Reasons to Use

  • You need to modify the teensy core
  • You don't love Java IDE's
  • You love Make
  • Because

Setup

Install the Teensy udev rule: sudo cp tools/49-teensy.rules /etc/udev/rules.d/

Then unplug your Teensy and plug it back in.

Using

  1. Put your code in src/main.cpp
  2. Put any libraries you need in libraries
  3. Set the TEENSY variable in Makefile according to your teensy version
  4. Build your code make
  5. Upload your code make upload

Make Targets

  • make alias for make hex
  • make build compiles everything and produces a .elf
  • make hex converts the elf to an intel hex file
  • make post_compile opens the launcher with the correct file
  • make upload uploads the hex file to a teensy board
  • make reboot reboots the teensy

Where everything came from

  • The teensy3 sub-folder is taken from The Teensy 3 Cores
  • The tools sub-folder is taken from Teensyduino
  • The src/main.cpp file is moved, unmodified from teensy3/main.cpp
  • The Makefile file is moved, modified from teensy3/Makefile
  • The 49-teensy.rules file is taken from PJRC's udev rules

Modifications to Makefile include

  • Add support for arduino libraries
  • Change tools directory
  • Calculate target name from current directory
  • Prettify rule output
  • Do not upload by default, only build

f18panel's People

Contributors

apmorton avatar rkusa avatar sebkuzminsky avatar wilhelmy avatar wilywampa avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.