Search results

  1. G

    How to use USBHost_t36 library.

    Hi Sam, I'm no help here but also starting to kick the tires on the USBHost_t36 library, want to communicate to a device that shows up as a serial port on my mac when plugged in. Thanks for posting this
  2. G

    Teensyduino 1.50 Released

    Chiming in here, first time in a while. Teensyduino 1.50 on a macbook pro running 10.15.3 working fine so far.
  3. G

    How can I get analog inputs A15-A17 working on a Teensy 3.2 (pins 25-27)

    Thanks for the reply. Figured it out- turns out A0-A13 translate to 0 to 13. The constant A14 has the value 40, the constant A15 has the value 26. When I was reading them I assumed I could just read them sequentially 0-15, but this is not the case. I was doing for(i = 0; i < 16; ++i) foo[i] =...
  4. G

    How can I get analog inputs A15-A17 working on a Teensy 3.2 (pins 25-27)

    possibly noob question. A0-13 work fine, I need a few more. I've been trying to init pins 25-27 for A15-17. Do I need to do something else? Looked around, did not find an answer to this. pinMode(A13, INPUT); // this works just fine pinMode(A15, INPUT); //pin 26 pinMode(A16, INPUT)...
  5. G

    Teensyduino 1.31 Beta #1 Available

    Hi, Just chiming in to say this works fine for me on macOS Sierra, Arduino 1.6.1. Thanks as always! Oh- yes- Teensy 3.2
  6. G

    Can't upload to teensy 3.1 on Xubuntu all of a sudden

    Hi all, Between my mac running 10.10 and not liking Arduino 1.06, I've gone to my old thinkpad running a 32 bit Xubuntu. Getting back to doing some teensy stuff but for some reason things don't want to upload now (they did about a month ago). I have the udev rules installed. The OS can see the...
  7. G

    CC3000 with adafruit library, non-blocking?

    Hi folks, Just tried out a CC3000 with the Adafruit lib for Teensy last night. Mine has the 1.26 firmware Buildtest got me as far as trying to connect to my wifi network last night, but couldn't do it. Messed around with things- the second (stock, commented) below wouldn't work, the second came...
  8. G

    weird serial port hang, windows only

    Hey there, No, it's not just you. Paul mentioned this in above in this thread- seems windows serial port code is very old and buggy. To be fair, serial ports started long before they were able to be disconnected from the hardware, not like they are today. If the serial port disconnects for...
  9. G

    Teensy 3.1 HID doesn't work with Mac OS X 10.10 beta, Yosemite

    Hi folks, Not a Teensy bug, but I found out today after installing the dev release of Yosemite on my mac, Raw HID on the teensy can't be read by an app that was previously working fine on 10.9, but will no longer read it running under 10.10. I can read the teensy fine using the same sketch and...
  10. G

    windows dll for rawhid

    Hey all, Thought I'd post to answer my own question: Qt wanted a -lhid as well as -lsetupAPI in the .pro file LIBS += -lhid -lsetupAPI I've got it building for windows on my mac with Qt 4.8, I'm going to play around and see if I can get it to build with Qt 5.3 on the windows machine. There...
  11. G

    windows dll for rawhid

    I'm trying to follow the instructions for building a windows binary using Qt on a mac with Qt 4.8.2. I like the idea of a standalone executable, which this setup builds...seems also 4.8.2 has the same library/ include structure as what's required for Paul's HID code. I'll let you all know how it...
  12. G

    windows dll for rawhid

    Hey Andersod2, You seem like someone who might know- I'm building an app with Qt, I've got it working on my mac, but when I try to compile it on winXP I get a couple of errors from hidclass.h: "cannot declare field "_HID_INTERFACE_HIDPARSE::i to be of abstract type 'IPrintDialogServices"...
  13. G

    Maker Faire in San Mateo

    Dammit dammit dammit! I almost went, but had to prepare a final to give to my class. Hope you're there next year, Paul, I'd love to meet you.
  14. G

    Analog inputs on teensy 3.1 smt pads, A15-A20

    It is confusing. analog 14 and up are labeled in the same manner on the card as analog 13 and lower: "A14". I couldn't tell from this that 0-13 could be referenced by analogRead(13), but for 14 and higher I had to put in analogRead(A14). Thanks, mattomatto!
  15. G

    weird serial port hang, windows only

    Hi again, Shipped the widget, tried both HID and serial. Seems the problem is mostly on their side, it seemed that when they switched to powering the teensy directly rather than through USB, they had no trouble for 3 weeks, but now they're having communication dropouts again when the pumps and...
  16. G

    weird serial port hang, windows only

    Thanks! I'll give the HID stuff a look. No new hardware either.
  17. G

    weird serial port hang, windows only

    Hey folks, Just throwing it out there- if I need a bulletproof setup, would it be better to communicate with the computer using an ethernet module? I mean, damn...if we're getting lemons, maybe I should go with oranges (if they won't let me use Apples)
  18. G

    weird serial port hang, windows only

    Hi guys, Just read your new replies- I try to be sure to close ports and release objects before quitting a program, this happens before the program even quits. I'll follow any information you have about the MS guys trying to fix this bug with interest. So, to clarify- this is something I'm...
  19. G

    weird serial port hang, windows only

    Hi Paul, Didn't help. It only seems to show up if the USB line is in a noisy environment, but once comm is lost, it's lost. Below is the function where things hang. It hangs on a write, but this may only be because the write happens first. GetError returns Error 31, ERROR_GEN_FAILURE. Releasing...
  20. G

    weird serial port hang, windows only

    Hi Paul, Thanks for getting back to me so quickly. I re-flashed the teensy with 1.17rc1 on my mac and updated the drivers on the windows box as well. Started up my app on the windows box and will let it run for a few hours. Stay tuned!
  21. G

    weird serial port hang, windows only

    Hi Paul et. al., I'm having a maddening problem with a teensy 3 I'm using in a couple of custom, paid for projects I've made- It seems like occasionally, on my own apps (written on a mac but running on windows, Cocotron) and on ones the client is using, written with LabView- and this is my...
  22. G

    New I2C library for Teensy3

    Hi Nox, Thanks for getting back to me. So, even a write would hang on this? What value would you recommend for external pullups? I was using a 6.8k resistor for a pull _down_ on the IR sensor, maybe that was part of my problem. Worked for a while...
  23. G

    New I2C library for Teensy3

    Hey nox, Now I'm having trouble...tried every which way. Seems the Teensies are hanging on master writes. At first I thought I fried my sensor (entirely possible) but I tried two teensy 3s with your master/slave examples and no matter which teensy I use as the master, it always fails on the...
  24. G

    New I2C library for Teensy3

    I sort of got it working with a teensy, but I think I ended up frying it before finishing the job, a couple of connection screw ups. I just received a new one, will post when I get it working. I was trying to follow the iPhone app augmented reality setup, but got confused enough by how he did...
  25. G

    New I2C library for Teensy3

    I got it to work! Seems using an I2C_NOSTOP for the Wire.endTransmission was the trick. See below. Wire.beginTransmission(dev);// + 0x60); // slave addr Wire.write(0x02); // command, read Wire.write(address); // start address Wire.write(0x00); // address step...
  26. G

    New I2C library for Teensy3

    Oh, in case it isn't clear Wire.beginTransmission(0x60); // slave address (sensor) Wire.write(0x02); //command ...more relevant command bytes Wire.endTransmission(); this will be at least recognized as a valid slave address. If I try to sneak in an 0xCO after...
  27. G

    New I2C library for Teensy3

    Hi nox, Paul, et. al, Thanks, nox, very much for this library! I'm currently trying to get a MLX90620 16x4 IR sensor talking with a Teensy 3.0. The old code for this used what looks to be an outdated i2c lib, so I'm trying to get it up to date. I've gotten some of the stuff to work, but am...
Back
Top