Coder Social home page Coder Social logo

gloob / vusb-for-arduino Goto Github PK

View Code? Open in Web Editor NEW
62.0 7.0 19.0 332 KB

V-usb for Arduino with latest versions - Based on old project code.google.com/p/vusb-for-arduino

C 37.51% C++ 16.38% Assembly 35.56% SourcePawn 10.39% Processing 0.16%

vusb-for-arduino's Introduction

Arduino / AVRUSB integration
----------------------------

* NOTE: This should now work with Arduino IDE 0018 onward but I've only
        tested with 0020.

* Source now available as a Mercurial repository here:

      <http://code.google.com/p/vusb-for-arduino/>

* Build the USB mini-shield documented here: 

  NOTE: The code will NOW ONLY WORK WITH THE PCB DESIGN
        *NOT* THE PROTOBOARD DESIGN.

      <http://code.rancidbacon.com/ProjectLogArduinoUSB>

* Copy 'UsbKeyboard' directory in the 'libraries' directory to your
  Arduino 'hardware/libraries' directory.

* Open an example sketch from 'examples' directory.

* See 'libraries/UsbKeyboard/ArduinoNotes.txt' for more.

* I've had some USB ports on a MacBook Pro not work while others do.

* Consider GPL 2.0 unless licensed otherwise.

* Feedback to: [email protected]


Version history:

* 2008-08-12 -- "Muck and Crud" -- Initial alpha release

* 2009-10-16 -- "Not a Patch On" -- Incorporate previous changes & pcb design

* 2009-10-18 -- "All Your Upgrade" -- Upgrade base V-USB version to 2009-08-22

* 2010-10-17 -- "Year, So What" -- Update to work with recent IDEs

vusb-for-arduino's People

Contributors

gloob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

vusb-for-arduino's Issues

About TIMER 0

Hi,
Just discovering this library, and saw that the begin() methods disable TIMER 0 overflow interrupt. I guess that millis() function won't work after that, but my code needs it.
My question is : is it really necessary, as the TIMER 0 has lower priority than INT0 ? If so, do you know how I can find an alternative to millis() ?

Does not work with current (1.6.x) versions of Arduino IDE

So far I've tried to recreate keywords.txt and library.properties from scratch, but to no avail.
Renaming "libraries" to "src", as in another libraries examples, also didn't work.
The IDE itself spews nonsense, like "Invalid library found in C:\Users<user>\Documents\Arduino\libraries\vusb-for-arduino: C:\Users<user>\Documents\Arduino\libraries\vusb-for-arduino\src".
But even without my changes, it spells the same "invalid library" error.

DDR and PORT take it from config

About line #138 in UsbKeyboard.h

    PORTD = 0; // TODO: Only for USB pins?
    DDRD |= ~USBMASK;

Replace it to take the port name from the usbconfig.h with this lines

    USBOUT = 0; // TODO: Only for USB pins?
    USBDDR |= ~USBMASK;

But not sure about it, not tested yet.

Read numlock, CapsLock state

i just wanted to ask if its possible to read numlock and capslock state (or set them) with the library. If yes can you add it to the keyboard example? and if no, take this as a feature request.

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.