Giter VIP home page Giter VIP logo

usb_midi_bridge's Introduction

USB MIDI Bridge for PIC18F2550/4550

Implementation of a composite USB device containing a CDC interface and a audio MIDI interface based on examples from Microchip Libraries for Application (MLA). It works as a bridge. Every packet that comes from one interface goes to the other.

  • Device: PIC18F2550 or PIC18F4550
  • IDE: MPLAB X IDE v5.30
  • Compiler: XC8 v2.10
  • Written in C 90 standard

I tried to modify as little as possible the examples provided by MLA, but the structure is quite messy.

Usage

Before programming a device, check the files bsp/leds.c and bsp/buttons.c to configure the right GPIOs.

app_device_cdc_basic.c contains the main task for the CDC interface.

app_device_audio_midi.c contains the main task for the MIDI interface. Also, if BUTTON_DEVICE_AUDIO_MIDI is pressed, generates a MIDI packet.

app_led_usb_status.c contains the status LED update task to reflect the status of the USB connection.

Descriptor

If you're looking for a descriptor for the composite device is located at usb/usb_descriptors.c.

usb_midi_bridge's People

Contributors

nahueespinosa avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

ldavicoclases

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.