Search results

  1. J

    teensy_loader_cli can't find baord

    No one has a clue?
  2. J

    teensy_loader_cli can't find baord

    I'm trying to reprogram a teensy remotely (ssh'd in) however i is not working. Though when I tried it on my machine it worked fine Bus 005 Device 016: ID 16c0:0483 Van Ooijen Technische Informatica Teensyduino Serial /dev/ttyACM0 - Teensyduino_USB_Serial_7573920 $ teensy_loader_cli -s...
  3. J

    TeensyLC dies on serial

    The only dynamic memory is in the NeoPixel constructor, which allocates the RGB/RGBW storage for the strand. Then it's just setting pixels, and reading some analog pins
  4. J

    TeensyLC dies on serial

    So a bit of a switcheroo happened to me. I thought I had this figured out, but they swapped the LC with 4.0 on the production boards, so we went from a little RAM to a LOT. I had computed the number of leds and the required memory to be over what was available, but now, my math says we have 400k...
  5. J

    TeensyLC dies on serial

    Thank you! That's some great info. How would I go about debugging that?
  6. J

    TeensyLC dies on serial

    I have a a few Teensys that are in the field. (Indoor factory environment) that control things like lights. I open the serial device /dev/ttyACM0 and write out a struct to control these lights. Eventually the moduel stops responding: File "/usr/lib/python3.8/asyncio/streams.py", line 358, in...
  7. J

    Teensy linux command line code upload

    Excellent catch! I loaded the normal Arduino IDE by mistake. Thank you!
  8. J

    Teensy linux command line code upload

    Yes, we need to update the code on the Teensy via ansible. (https://www.ansible.com/) Quick supplemental question: The export sequence export two ex files, project.ino.with_bootloader.yun.hex project.ino.yun.hex Which one do I want?
  9. J

    Teensy linux command line code upload

    We will have about ~150 teensies to manage. We will compile code, then distribute the code to the computers that host the teensy. How can we load code on the teensy from the command line. The UI is not availble. I saw arduino-cli, but I don't that it works with a teensy?
  10. J

    Teensyduino 1.53 Beta #1

    I tried the Catalina build and torture tested it on all of my displays, and it didn't crash once!
  11. J

    TeensyLC USB Serial works on OSX, but not on Windows

    I have a program where I wrote some code in Qt on my Mac. My co-worker is trying to run it on Windows 10. We expected to have to change the serial port name, which we did, to COM4. Teensyduino IDE sees serial traffic from it on Windows. However, the program writes data to the teensy and expects...
  12. J

    How to use USB serial? usb_init() not defined

    Haha too easy! Thanks :facepalm:
  13. J

    Teensyduino crashes constantly on Catalina.

    So the last time I did this type of work was not on Catalina. This seems to me to be Catalina related. Previously I used it successfully on HighSierra. And yes, I am running dual external monitors. EDIT: I spoke too soon, it still crashes.
  14. J

    Teensyduino crashes constantly on Catalina.

    I also replied to the 1.8.12 thread at arduno as it seems to happen to the main IDE as well. https://forum.arduino.cc/index.php?topic=661342.msg4604710#new
  15. J

    Teensyduino crashes constantly on Catalina.

    1.8.12, If i resize the window or scroll using a mouse wheel, it crashes. I updated my Mac to the latest version of Catalina yesterday. Process: Arduino [21482] Path: /Applications/Teensyduino.app/Contents/MacOS/Arduino Identifier...
  16. J

    How to use USB serial? usb_init() not defined

    I did: #include <usb_serial.h> RSGPIO: In function 'void setup()': HRSGPIO:138: error: 'usb_init' was not declared in this scope usb_init(); ^ HRSGPIO: In function 'void loop()': HRSGPIO:204: warning: comparison between signed and unsigned integer expressions if...
  17. J

    Missing serial data

    Yeah, I was hoping the unit would be able to keep up, but it just can't. I restructured it in a few ways. I have consolidated the mouse move commands, and supplied: 1. an off-board function that consolidates mouse movements < 25ms apart. This cuts down on the serial chatter substantially. 2...
  18. J

    Missing serial data

    The application I am working on reads an 8 byte packet from the serial port. It then translates that to mouse movement. Unfortunately what happens is eventually a byte or more gets lost from the serial, which then means my packets don't line up. Format is CXXYYW00 where C command byte (243 is...
  19. J

    Teensy LC HID: Not all keys work on Android

    So here's my (last?) problem. How do I send Ctrl+Esc? The example: https://www.pjrc.com/teensy/td_keyboard.html Doesn't send esc, which is a two-byte code, so set_key can't be used.
  20. J

    Teensy LC HID: Not all keys work on Android

    So two things: the codes at https://github.com/PaulStoffregen/cores/blob/master/teensy3/keylayouts.h work And I had mistakenly limited myself to 8-bit codes. The keys codes are 16 bit, which is confusing because the 6 key slots are 8 bit!!? What happens if you want to use a 16 bit code as one...
  21. J

    Teensy LC HID: Not all keys work on Android

    So I am having some success with my project, but I am having trouble using the following keys: ENTER LEFT_ARROW RIGHT_ARROW I can type normal text and backspace, and shift works. I am confused as to what codes I need to send. I found different codes...
  22. J

    TeensyLC as HID + serial +USB OTG

    Nevermind! It worked on the same computer because the grounds are connected. To the phone, they were not. Connecting the FTDI ground to the Teensy ground resolved the issue. (I thought it was a voltage/baud thing)
  23. J

    TeensyLC as HID + serial +USB OTG

    I have a TeensyLC in HID mode and a serial port (Serial2). I wrote code to take serial commands and turn them into HID events. I use an 8-byte packet that is read and decoded which uses Keyboard and Mouse libraries. The serial channel is used to send these messages and plain text messages back...
Back
Top