Search results

  1. H

    USB Ethernet?

    Sorry nope. I ended up using a Wiznet adapter due to time constraints.
  2. H

    Touchread sawtooth noise visible on separate (analogRead) pins

    Recently I discovered that using touchRead in my program causes analogRead (of a separate pin) to pick up some sawtooth noise. I assume this is the touchRead functionality either capacitively coupling into the analogRead inputs, or else there is some residual signal left on the ADC's charging...
  3. H

    Pound sterling (currency) missing from Teensyduino British (UK) keyboard

    Thanks for that bit of history. Wouldn't be surprised if it's a similar story behind the other USB peripherals.
  4. H

    USB Ethernet?

    Thank you Paul. I saw the comments in usb_desc.h about adding a new interface, so I'm going to give it a try myself.
  5. H

    USB Ethernet?

    Is any of the Teensy 3.x (or LC) family capable of appearing as an Ethernet device over USB? I've used plug-and-play adapters, and wondered if the Teensy is capable of this kind of thing. This is for a project that started out sending touch coordinates over serial, but the requirements...
  6. H

    Any chance of a Teensy with USB pinout? (or without USB connector)

    It's easy enough to solder to the Teensy LC's USB pins. I did this recently in a project where I wanted the cable to be not-detachable. Some hot glue for strain relief on the fine wires, and wire-tie strain relief for the cable itself as it exits the box:
  7. H

    Response boxes

    I recently handed these off to a psychology grad student who is measuring response time for some sort of interactive audio/visual task. These are basically USB keyboards with fewer buttons and the ability to report their timing delay. Inside each one is a Teensy LC and some Cherry MX "clear"...
  8. H

    RawHID and serial at the same time

    I'm using the following compiler flags: -UUSB_SERIAL -DUSB_RAWHID -DUSB_SERIAL And both interfaces appear to work normally, as long as they're not used simultaneously. However, if I start Arduino's serial monitor, then my HID logger, the HID logger takes the stream away from Arduino's serial...
  9. H

    NEWS: I added a touch screen HID device to Teensyduino 1.23 (works also on Linux)

    Has anyone besides Elmue made this work? For me on Linux, Mouse.move() works, but Mouse.moveTo() does nothing, not with the original Teensy files nor with Elmue's modified versions.
  10. H

    NEWS: I added a touch screen HID device to Teensyduino 1.23 (works also on Linux)

    Hey Elmue, I am also working on a cross-platform touch device. Your zip file only contains the "originals" so I had to use codeproject's "browse code" feature and copy-paste each file, one at a time, then remove the line numbers. Thank goodness Vim can do column-oriented text. I'm just...
  11. H

    Could you help us with testing of a new PlatformIO 1.0 and Teensy?

    To add to stevech's suggestion: if you just want a few short GIF screencasts of your terminal, check out mkcast.
  12. H

    Could you help us with testing of a new PlatformIO 1.0 and Teensy?

    Thanks ikravets, I will. For this particular issue, it was very Teensy-specific, so I figured here was a good place to ask.
  13. H

    Could you help us with testing of a new PlatformIO 1.0 and Teensy?

    And this issue is now RESOLVED! Paul's tip about the -D{option} led me to find the correct flag (-DUSB_HID) but then I realized the output still had (in addition to the newly added flag) -DUSB_SERIAL which was causing an error. Then I found this GitHub issue which further educated me about...
  14. H

    Could you help us with testing of a new PlatformIO 1.0 and Teensy?

    Ah, thanks Paul, that's quite helpful info!
  15. H

    Could you help us with testing of a new PlatformIO 1.0 and Teensy?

    Hey, I just tried to use PlatformIO to build one of the USB examples (TriangleMove.ino, source code at the bottom of this message), and get the following error: $ platformio run [Tue Jun 23 09:21:28 2015] Processing teensylc (platform: teensy, board: teensylc, framework: arduino)...
  16. H

    Double sided touch device

    ...and a quick "Bump for more pageviews!"
  17. H

    Double sided touch device

    Hey, I'm going to implement a double-sided touch device, and wondering about the Joystick USB profile is best for this particular task. I'm using touchscreen controllers rather than reading the raw output, so my data is in this shape by the time the Teensy gets it: int[4] { x1, y1, x2, y2 }...
  18. H

    OSX pop-up when starting Arduino

    It's because the Arduino IDE supports clicking hyperlinks, or at least that's the only reason I've noticed.
  19. H

    OSX pop-up when starting Arduino

    On Mac OS 10.10 (Yosemite) this is what greets me every time I launch the Arduino application. It only does this after installing Teensy Loader. OSX signs app packages, and tampering with the package (e.g. by adding Teensy Loader) alters the package's signature, which causes the app to throw...
  20. H

    connecting nRF8001 to Teensy 3.1

    Hi @BloomingtonFPV, the .cpp and .h files from your zipfile are the same as Paul's 2014/11/20 commit: commit 4a11223f50e4425caeb962cea8af4ec44a6a926f Author: PaulStoffregen <paul@pjrc.com> Date: Thu Nov 20 06:55:39 2014 -0800 Always use interrupt response, enable with EIMSK in SPI...
  21. H

    Syntax for attachInterrupt with Teensy 3.x

    It's called "uniform initialization syntax" and can be used for any object. It's valid C++11 and I think also valid C++0x. So the following are equivalent ways of saying the same thing: int x = 0; int x{0}; int x = {0};
  22. H

    Syntax for attachInterrupt with Teensy 3.x

    Weird. I've used that initialization syntax for basic types since I learned about it, and it's never given an error.
  23. H

    Syntax for attachInterrupt with Teensy 3.x

    Is this the correct syntax? const uint8_t pinNumber{A0}; // but could be any pin in theory const uint8_t myEvent{17}; // used to show that attachInterrupt() is called inside some block scope (i.e. not global) void ISRname(void) { // do interrupt stuff detachInterrupt(pinNumber); }...
  24. H

    Turning a rotary encoder slowly

    Ah yeah. The % operator is remainder, not modulo. They're different for negative numbers. I put my menu options in an array and then use the following code to index into the array as if it's circular: // returns a valid index into the given array, even if the i you use is out of bounds...
  25. H

    ADC library, with support for Teensy 4, 3.x, and LC

    That's quite a sensible idea. Thanks for the clarification!
  26. H

    Turning a rotary encoder slowly

    First, be 100% sure the hardware is correct. I bought some new quadrature encoders and assumed the pinout would be (pin1, common, pin2) in a row, just like my old ones, but the new pinout instead turned out to be (common, pin1, pin2). This produced some weird errors in software but was instantly...
  27. H

    ADC library, with support for Teensy 4, 3.x, and LC

    Why do the ADC read methods return signed int values? --Edit-- Oh of course. Error codes.
  28. H

    Platform-agnostic USB upload procedure?

    I'm interested in porting this http://www.pjrc.com/teensy/beta/load_linux_only.c to JavaScript, with the intention of running it in the context of a Chrome App (to get USB/hardware device access). Does someone know the general USB upload process? Could you describe it in a platform-agnostic...
  29. H

    Praise for Teensy 3.1 reliability

    Last night, I was hurrying to solder a prototype together and neglected to check for solder bridges before I mostly covered up the thing with another board. Unfortunately, I had shorted a couple of the Teensy 3.1's SPI pins to my groundplane, and when I fired it up it was obvious something was...
Back
Top