Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Dawnmist

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    18
    Views
    10,921

    Sorry, I missed seeing the thread's update/query...

    Sorry, I missed seeing the thread's update/query in November last year. Hafting has found the last published version of the patch I did - I think it was against Teensyduino 1.18 or thereabouts, so it...
  2. When I turned my PC on a few hours ago, the...

    When I turned my PC on a few hours ago, the forums wouldn't load at all - the browser was saying that the site was not responding. That lasted for about 20 minutes before I could load any of the...
  3. Two last resort possibilities: 1. Unplug it from...

    Two last resort possibilities:
    1. Unplug it from the USB. Hold the button on the teensy down and while holding the button plug the teensy in to the usb port (a different port to usual if possible,...
  4. Replies
    74
    Views
    60,050

    My understanding - which could easily be wrong -...

    My understanding - which could easily be wrong - is that while the control chip itself is capable of 8 bit, the people that make up the boards with the chip/screen/sd/touch and sell them cheap on...
  5. The figures for "Power Input / -Output" ,...

    The figures for "Power Input / -Output" , "Average Current Draw", "Standby Current Consumption" look odd in the original picture too - are they really meant to be negative consumption (i.e....
  6. You need access to the "keyboard_leds" variable...

    You need access to the "keyboard_leds" variable that is part of the usb keyboard implementation (in both Teensy 2* and Teensy 3.*). I think that you can access it directly - there's no wrapper around...
  7. For current limiting, it'd be using a resistor...

    For current limiting, it'd be using a resistor between the matrix wire and the teensy pin. That said, I've looked further at the Keypad library at the arduino site, and they say:

    Based on that,...
  8. Ah - no, this is how you actually send your...

    Ah - no, this is how you actually send your remapped-to-dvorak keypresses to the pc - you'd use this for ALL of the options, regardless of whether you were doing interpretation of another keyboard or...
  9. Ok. Your options are: 1. Wire the keyboard...

    Ok. Your options are:
    1. Wire the keyboard matrix directly to your teensy, replacing the entire controller for that keyboard (which is what I thought you were asking about initially, so what my...
  10. Most keyboards use a matrix layout where each key...

    Most keyboards use a matrix layout where each key corresponds to a column+row location. At the top level to scan for keys pressed, you test whether a particular column and row combination have been...
  11. For anything SPI, if you want to use the teensy...

    For anything SPI, if you want to use the teensy hardware spi you'd need to leave the spi port pins free - usually 11, 12, 13, and then for each spi device a user-selected chip-select pin. So I'd move...
  12. Replies
    74
    Views
    60,050

    Just a final update on this for anyone else that...

    Just a final update on this for anyone else that goes through the thread:

    As of Teensyduino 1.18 (or maybe 1.17 - I skipped that version), the modified UTFT library is now in the list of...
  13. Replies
    12
    Views
    9,391

    Which USB Host 2.0 are you using? The reason I...

    Which USB Host 2.0 are you using? The reason I ask is because the one on the PJRC website doesn't have hidboot.h, and the one that I'm finding on github...
  14. Replies
    4
    Views
    6,259

    Out of curiosity, I started having a look into...

    Out of curiosity, I started having a look into tmk's code for the USB->USB converter, and following through to the original usb host library they were using. This resulted in this link: Teensy 3.0...
  15. Replies
    4
    Views
    6,259

    For keyboards: Try having a look at TMK's github...

    For keyboards:
    Try having a look at TMK's github repository here: https://github.com/tmk/tmk_keyboard, and their documentation on USB keyboard report protocols in the doc/USB_NKRO.txt file here.
    ...
  16. How are you doing the power-on-reset? The...

    How are you doing the power-on-reset?

    The reason I ask is because the button on the teensy itself is not a "reset power" button - it reboots the teensy into "reprogramming mode". In that mode, the...
  17. Replies
    74
    Views
    60,050

    For 8-bit, it's set to use the D port pins for...

    For 8-bit, it's set to use the D port pins for both B&D and C&D modes (effectively it uses DB8-15 for the connection, and ignores DB0-7 when in 8-bit mode). This was based on the original arduino...
  18. Replies
    59
    Views
    41,016

    The new Teensy 3.1 looks really interesting. Are...

    The new Teensy 3.1 looks really interesting. Are the GPIO port mappings for port A/B/C/D/E the same as they were on the Teensy 3.0? (i.e. as per the tables in this thread: Tutorial on digital I/O,...
  19. Replies
    14
    Views
    17,108

    The reset button on the teensy resets the device...

    The reset button on the teensy resets the device into reprogram mode - if you have the teensy loader running on your pc when you do that it then automatically reprograms your teensy with the last...
  20. Replies
    74
    Views
    60,050

    Hi everyone, I finally got around to trying to...

    Hi everyone,

    I finally got around to trying to optimize the writes on the data bus, and working out how to write to non-consecutive pins on a port without altering other pins on that port. Be...
  21. Replies
    3
    Views
    3,660

    You may find this thread useful:...

    You may find this thread useful: http://forum.pjrc.com/threads/18002-Teensy-3-0-driving-an-SSD1289-with-utft

    It's the UTFT library with a few modifications to get it compiling/using the teensy 3...
  22. Replies
    18
    Views
    10,921

    On the testing front - I've also used the report...

    On the testing front - I've also used the report descriptor from the tmk keyboard firmware, and (about a year ago) tested variations of it against Win7 64 bit and linux (mint 13) 32 bit (and I think...
  23. Replies
    11
    Views
    6,057

    My experience of using the Teensy environment on...

    My experience of using the Teensy environment on Windows is that if the teensy loader is active (and in auto mode) on the computer it is plugged into when you hit the reset button, it'll...
  24. Replies
    31
    Views
    14,129

    The above section should have been just ...

    The above section should have been just


    #define KEYBOARD_HID_DESC_OFFSET ( 9 + 9 )
    #define CONFIG1_DESC_SIZE ( 9 + 9+9+7 )

    The mouse & joystick lines are not necessary, and the...
  25. Replies
    31
    Views
    14,129

    CONFIG1_DESC_SIZE - this define is used to...

    CONFIG1_DESC_SIZE - this define is used to specify the total size of the config1_descriptor array, so you still need it. I believe it should be set to the sum of the initial header part + the size...
  26. The Mini54 is the second chip on the Teensy 3...

    The Mini54 is the second chip on the Teensy 3 board, and is used as the bootloader/reprogrammer chip for the Kinetis chip (if I understood right): https://www.pjrc.com/teensy/schematic.html - that's...
  27. Replies
    31
    Views
    14,129

    Keyboard/Mouse/Joystick or...

    Keyboard/Mouse/Joystick or Serial/Keyboard/Mouse/Joystick should both work...if the KVM were doing the right thing (and I haven't screwed up something stupid in the code).

    I'm running out of ideas...
  28. Replies
    20
    Views
    9,719

    I'm pretty sure it's a Teensyduino thing...

    I'm pretty sure it's a Teensyduino thing specifically implemented by Paul. I love it though, because it makes it easy to do time-based checking without making mistakes like the one Paul pointed out...
  29. Replies
    31
    Views
    14,129

    Ok. I'm assuming you've connected the teensy to...

    Ok. I'm assuming you've connected the teensy to the Keyboard console port, with your wireless mouse/keyboard adaptor in the mouse console port (only the keyboard port on that kvm will respond to the...
  30. Replies
    31
    Views
    14,129

    Ok, given that I'd be testing with a shorter...

    Ok, given that I'd be testing with a shorter timing between keypresses rather than longer timing. I know for example that in Java, the default time interval between mouse-clicks to be detected as a...
  31. Replies
    31
    Views
    14,129

    Are both KVM switches the same brand/model? If...

    Are both KVM switches the same brand/model? If not, can you double-press scroll-lock on a normal keyboard connected to the one that isn't working (to test whether double-scroll lock is actually the...
  32. Replies
    16
    Views
    6,663

    That's harder to answer...it's my main machine,...

    That's harder to answer...it's my main machine, so it's generally running a ton of stuff. Sandybridge i7 (4 core) with 16Gb ram, would have had Netbeans, Firefox, Arduino, Skype, Steam, Thunderbird,...
  33. Replies
    16
    Views
    6,663

    I hadn't known about the verbose log - thanks! ...

    I hadn't known about the verbose log - thanks!

    Here's an excerpt from the log covering part of the time when I was getting the regular program download failures. I was debugging at the time, so I...
  34. Replies
    16
    Views
    6,663

    I've been experiencing some odd problems (and...

    I've been experiencing some odd problems (and getting worse today) with my Teensy 3, including device not recognised errors and code download failures. A couple of things you can try:
    * Use a...
  35. Replies
    20
    Views
    9,719

    I'm not sure if it'll help, but have you tried...

    I'm not sure if it'll help, but have you tried using the elapsedMillis datatype that's part of the Teensy? https://www.pjrc.com/teensy/td_timing.html

    at the top


    elapsedMillis fadeMillis;

    ...
  36. Replies
    9
    Views
    9,360

    The input issue is because of the way that USB...

    The input issue is because of the way that USB keyboard protocol is defined. A really interesting summary can be read here: https://github.com/tmk/tmk_keyboard/blob/master/doc/USB_NKRO.txt

    By...
  37. Replies
    74
    Views
    60,050

    There is a model name "SSD1289" (as per page 3 of...

    There is a model name "SSD1289" (as per page 3 of the supported displays pdf included in the library's files).

    My initialization is:


    uint8_t lcdRS = 19; // Register Select
    uint8_t lcdWR =...
  38. It seems to work on those pins, but it conflicts...

    It seems to work on those pins, but it conflicts with the SD card pin definitions...you can have either one or the other but not both with the library as it is.

    I'm slowly going through SdFat,...
  39. Replies
    4
    Views
    3,707

    Each one has a unique MAC address. Try having a...

    Each one has a unique MAC address. Try having a look at:
    http://forum.pjrc.com/threads/91-teensy-3-MAC-address
  40. Not yet. For what I'm doing, the Sd Card is a...

    Not yet. For what I'm doing, the Sd Card is a must-have...the touch interface is just a nice-to-have. If I had to choose between the two, I'd choose the SD Card. I am hoping to find some information...
  41. During initialisation, you set the pins. e.g....

    During initialisation, you set the pins.

    e.g.

    uint8_t t_Clk = 14;
    uint8_t t_CS = 20;
    uint8_t t_DIn = 16;
    uint8_t t_DOut = 15;
    uint8_t t_IRQ = 33;
    UTouch myTouch(t_Clk, t_CS, t_DIn, t_DOut,...
  42. Well...I've got good news, and bad news. The...

    Well...I've got good news, and bad news.

    The good news is that the UTouch library works with teensy 3 without needing any changes. Just plug in and go.

    The bad news is that it doesn't work...
  43. Replies
    74
    Views
    60,050

    For the drawRect function...yes, it does seem to...

    For the drawRect function...yes, it does seem to be missing the bottom left corner pixel. I hadn't noticed that until you pointed it out.

    For the pinMode...I was looking at the UTouch library....
  44. Replies
    74
    Views
    60,050

    I'm guessing there probably are, but I'm not...

    I'm guessing there probably are, but I'm not really sure how. My best guess would be to use port D for 8-bit or the high-byte of 16 bit, and split the low byte of 16 bit in two and use port B. Port C...
  45. Replies
    74
    Views
    60,050

    Thankyou Qumefox for posting your changes - I've...

    Thankyou Qumefox for posting your changes - I've merged the new functions into HW_Teensy3.h, and restructured it a bit to make it *much* easier for people to move the pins. The pins are now defines...
  46. The same person who made the original UTFT...

    The same person who made the original UTFT library also has a Utouch library designed to work with the touch screens of tft devices here: http://www.henningkarlsen.com/electronics/library.php?id=55
    ...
  47. Replies
    74
    Views
    60,050

    Yes I am - it was the best way I could see to get...

    Yes I am - it was the best way I could see to get all 16 pins + the control pins and still leave the SPI+a few SPI clock select lines free (plus it meant that I could use 2 sets of 8 contiguous pins...
  48. Replies
    74
    Views
    60,050

    Dropping in here, I'm the person behind...

    Dropping in here, I'm the person behind http://dawnmist.dreamwidth.org/ ... and I'm not a guy :p.

    I've uploaded the library I was using to that post when Qumefox contacted me, so for anyone else...
  49. Replies
    10
    Views
    7,576

    I gave that a try on it's own, and the above code...

    I gave that a try on it's own, and the above code compiles. Windows 7 Pro 64 bit, beta 8, Usb Serial. I thought I'd tried sprintf as well as snprintf, so I apologize for that one.

    Modifying it to...
  50. Replies
    10
    Views
    7,576

    Teensy 3 and c string functions

    I'm working on a personal project to do a programmable right-handed game keyboard (I use the mouse in my left hand), which loads/saves keymaps from/to SD card and outputs the current keymap & menus...
Results 1 to 50 of 53
Page 1 of 2 1 2