Jump to content

Paul Stoffregen

Active Members
  • Content Count

    74
  • Joined

  • Last visited

About Paul Stoffregen

  • Rank
    Hak5 Fan ++

Profile Information

  • Location
    Oregon, USA

Recent Profile Visitors

2,508 profile views
  1. Hi, Paul here.... the guy who designed Teensy and wrote Teensyduino. Teensy is based on the Atmel AVR ATMEGA32U4 microcontroller, which has a fully generic (up to 7 endpoints) USB device controller built in. So in theory, you could program it to be virtually anything. In practice, writing the USB driver code is a LOT of work, starting with the 600 page USB spec and many other necessary USB documents (the 600 page spec is only the basic stuff, not how any particular device actually uses it...) Only about half a dozen people appear to have ever written such code for these AVR chips, and only
  2. Has anyone found a very compact off-the-shelf Mini-B to A adaptor? I get this question sometimes, and it'd be nice to know if are any readily available that are much smaller than the usual.
  3. Opps, yeah, I missed that one. I just added it and uploaded a new copy.
  4. Good to hear it's working. Thanks. It's really a huge help. It should also be able to type all those non-US characters which require AltGr or first pressing the deadkeys. Well, at least all of them on the German keyboard. Some keyboards like Finnish Multilingual have massive numbers of very special glyphs. So far, I've only coded unicode-to-keystroke for ASCII, Latin-1 and the Euro symbol.
  5. Thanks. I actually did quite a bit of experimentation and found code 100. Well, I hope anyway. If not, well, those characters normally from that key between the left shift and the Y key will be wrong. On keyboards made in the USA, they don't put a key there at all. The left shift is wider and the Z key is right next to it. Z and Y are swapped from US to German layouts, so imagine no key between your Y key and shift. That's how they are here, so that 1 extra key has been a real mystery. Well, also, every layout diagram shows a key directly above Enter on US layouts, but it's to the le
  6. Here's an alpha test version with international keyboard support. It also has a MIDI USB type. Linux only so far. I'll port to Mac and Windows in a couple weeks. Of course, devices you create in Linux should work when plugged into PCs with Windows or Macs, but right now this alpha code only supports building them on Linux. http://www.pjrc.com/teensy/beta/teensyduino To change the keyboard type, look for the file hardware/teensy/cores/teensy/keylayouts.h. Just uncomment the one you want. So far, I've done US-English, US-Intl, German and Canadian French. More will be added soon. Even
  7. I am working on a keyboard layout layer, which will eventually be selected from a Tools > Keyboard Layout menu. I hope to make an alpha test release in about 1 week, which will not have the menu but you can change the layout by editing a file. So far, I've done US-English, US-International and German. None are tested yet. I could REALLY use your help now with one a little question. I need to know which codes are '<' and '#' when the German layout/locale is selected. For example, if you were to do: for (int i=4; i&lt;64; i++) { Keyboard.print(i); Keyboard.set_modifier
  8. I'd like to add a "Keyboard Layout" option in the next version of Teensyduino. It would appear in the Tools menu immediately below the "USB Type" and be enabled if you selected a USB type which includes Keyboard. I've found several pictures that show the various layouts, but nowhere have I been able to find solid specs on the actual key codes (in terms of HID usage tables, not legacy PC stuff) which different keyboard layouts actually send. Does anyone know where I might find these? Or is there somewhere (hopefully cheap) where I can buy various non-US keyboards from within the USA? O
  9. I recently added a page about this. http://www.pjrc.com/teensy/external_power.html
  10. You can't use programs like Hyperterminal or Zterm that are designed to talk with serial ports, because it's not a serial device. In theory, you could write a terminal emulator that does HID communication, but that would be a LOT of work!!! The HID API is completely different on each operating system too. But I've already done the low-level part for you..... Inside your arduino directory (on a mac, use option-click and "show package contents"), there's a tiny program called teensy_gateway. It talks HID protocol to the teensy and makes that communication available on TCP port 28541. Whe
  11. Just click on the serial monitor button. Don't worry about selecting a serial port, because there isn't any in this mode. It will "just work" (because I implemented a communication channel with a custom HID interface and hacked the serial monitor to use it in this mode)
  12. Yes http://www.pjrc.com/teensy/td_libs_LiquidCrystal.html
  13. The main new features are USB Serial driver install in the main Teensyduino installer, and simulating the Arduino reset behavior when launching the serial monitor window. Some really broken stuff in 0016 was fixed.... since nobody's complained, maybe it's a good bet nobody's actually using 0016. http://www.pjrc.com/teensy/experimental.html
  14. Try compiling for a regular Arduino. Just select it from the Tools > Boards menu, and click verify. If that compiles, please let me know. In fact, if you can, just zip up your entire arduino directory and send it to me. That might be too big of a file? If you get the same error when compiling for Arduino, then it's probably a bug in the library or something messed up with your arduino install. You could download a fresh copy of the arduino software and try that.
  15. That's what it should do, exactly the same as a USB card reader when there's no media present.
×
×
  • Create New...