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

Search:

Type: Posts; User: defragster

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    3,804
    Views
    391,180

    @TelephoneBill - Been using recent QTimer example...

    @TelephoneBill - Been using recent QTimer example - is there an example like that showing the IE bits as you have found them to work?
  2. Replies
    3,804
    Views
    391,180

    I just got two ST7789 240x240's...

    I just got two ST7789 240x240's today - will they work with this current code?

    If there is a working example, a pointer would be great and I can hook them up. These are the ones with software...
  3. Replies
    28
    Views
    671

    Okay. Not sure what version of TD is in use here?...

    Okay. Not sure what version of TD is in use here? But maybe TD 1.45 would be before some change.
  4. Replies
    28
    Views
    671

    Perhaps some change - another thread noted the...

    Perhaps some change - another thread noted the PT8211 fails on TD_1.46 on T_3.5 - IIRC I tested it to work on TD 1.45

    It is this thread and this post shows a change was made to correct that?...
  5. Replies
    10
    Views
    93

    USB packets each hold 64 bytes of data. A full...

    USB packets each hold 64 bytes of data. A full packet is sent at the next opportunity. A partially filled buffer is allowed to rest some short time allowing for added data to fill the buffer before...
  6. Replies
    2
    Views
    64

    More familiar with the ARM than AVR Teensy - but...

    More familiar with the ARM than AVR Teensy - but that mostly seems as expected. The Teensy2 is the device on USB and will be recognized as such. The program may be exchanging USB and UART Serial...
  7. IIRC MichaelM as noted certain issues with...

    IIRC MichaelM as noted certain issues with certain speeds - may have been MCU dependent?
  8. Replies
    10
    Views
    93

    Writing the SD card in 512 byte blocks minimizes...

    Writing the SD card in 512 byte blocks minimizes SD buffering and rewrite overhead as well. And USB does full transmits on 64 bytes.
  9. another quick minute it has to go at least this...

    another quick minute it has to go at least this low :: #define Z_THRESHOLD 700
    for red to be usable - then the diagonals return on other locations.

    Same driver code indeed works - but...
  10. Replies
    10
    Views
    93

    Indeed the T_3.6 onboard SD card uses unique SDIO...

    Indeed the T_3.6 onboard SD card uses unique SDIO interface pins. I'd look for another example of the SDIO myfile writes for clarity on use.

    Perhaps it wouldn't be a bad idea to sprintf() the USB...
  11. Replies
    10
    Views
    93

    The wrapping of BEGIN and END transaction is...

    The wrapping of BEGIN and END transaction is designed to isolate/limit SPI usage to that single area of code to intended device with specified settings.

    Disable of interrupts over a large area of...
  12. This is TOO MUCH for the RED corner color...

    This is TOO MUCH for the RED corner color selector ::

    #include "XPT2046_Touchscreen.h"

    #define Z_THRESHOLD 1050


    But it is an improvement

    First step in SKETCH was stopping the noise...
  13. As noted - the pointer HITS where I touch - the...

    As noted - the pointer HITS where I touch - the error seems to be pressure shutoff for values returned.

    It is getting NOISE when pressure is not hard enough to register properly - but the .z...
  14. Replies
    10
    Views
    93

    Is this running from non-USB power? AFAIK any...

    Is this running from non-USB power? AFAIK any problem was only with startup where the cap/chip for power up might have helped - was fixed in software update included in TD_1.46.

    What is the...
  15. Got latest Github KeDei from KurtE. Ran...

    Got latest Github KeDei from KurtE. Ran TouchPaint - all looks good. Only thing is Maybe the pressure detection on touch - seem to get weird liftoff dots?

    Navy resolved Pink .vs. Magenta issue:...
  16. Good news and good work. I am supposed to be on...

    Good news and good work. I am supposed to be on my way somewhere so will try later. Glad that the color wasn't another bug.
  17. Okay that fixed rotation on my display - when I...

    Okay that fixed rotation on my display - when I saw Kurt's post - I thought that meant it was implemented in code already. And my few minutes here and gone figured it was something unique …
    ...
  18. I'll look for those - as I didn't see them...

    I'll look for those - as I didn't see them before.

    I did bring code into the sketch to do the 4 rotation map switch - it was working with the #define values swapped - I got it close to right with...
  19. Replies
    14
    Views
    129

    A UART at 1M baud - like Serial1 - would end up...

    A UART at 1M baud - like Serial1 - would end up near 100,000 bytes/sec.

    Would take non-HID USB, or faster UART rate, which Teensy can do - though not sure which one in use - Serial1 and Serial2...
  20. As I first thought after not expecting rotate to...

    As I first thought after not expecting rotate to help - WORKS::


    // This is calibration data for the raw touch data to the screen coordinates
    //#define TS_MINX 175
    //#define TS_MAXX 3900...
  21. I looked for setRotation and not seeing it - made...

    I looked for setRotation and not seeing it - made pork chops.

    I suspected that was not going to help and it would just re-orient on multiple axis and just flip the problem or something.

    Well -...
  22. Running Touch Paint has the color bar drawing...

    Running Touch Paint has the color bar drawing opposite where it is tested for - and the short screen axis is swapped - long axis follows the pointer - short axis is flipped … like the color palette...
  23. With mjs513 update lib files and KurtE sketch I...

    With mjs513 update lib files and KurtE sketch I get this:

    T:\tCode\T4\KeDei_Auto\KeDei_Auto.ino Jul 19 2019 19:13:32
    Test KeDEi...
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000...
  24. I have a "432" on R1 on my display. I suppose I...

    I have a "432" on R1 on my display. I suppose I should test your 'theory' some time soon … after dinner.
  25. Parts are NXP - like the Teensy MCU's - assume...

    Parts are NXP - like the Teensy MCU's - assume those in use were best choice of NXP components PJRC saw at the time ...
  26. It builds and runs - I think my IDE needs a...

    It builds and runs - I think my IDE needs a restart - it stalled horribly building??

    Dropped in the MJS513 after the github version not seeing a big change - didn't re-read prior to see what I...
  27. Assuming the two day old github is the base of...

    Assuming the two day old github is the base of this? Kurt posted a startup sketch and mjs513 posted replacement source files?
  28. Replies
    2
    Views
    63

    - crosspost ... congratualtions ... would...

    <edit> - crosspost ... congratualtions ... would have suggested that but read ... "i have tested to invert TX and RX and is a same" as saying that was already tried.

    Assuming the VCC voltages are...
  29. That pending item allows for HUGE buffers over...

    That pending item allows for HUGE buffers over 65KB - where a 16 bit integer won't work.

    This should be where a simple change in the define will get the needed size:...
  30. Replies
    4
    Views
    112

    That might be cool - maybe on Pending T4. But...

    That might be cool - maybe on Pending T4. But even that doesn't have the resources of an rPi

    For Audio on T_3.x's PJRC maintains a customized integer based library utilizing the best features of...
  31. Glutton , geek whatever :) My display is still...

    Glutton , geek whatever :)

    My display is still wired - haven't tried it since last post here - maybe soon.

    The timers sound fun. My code on T4 shows this as the micros() rolled over:

    ...
  32. Replies
    62
    Views
    6,248

    Did you remove the cap and try again? Got a...

    Did you remove the cap and try again?

    Got a picture? Miswired cap? Polarized cap wrong way?
  33. Replies
    3,804
    Views
    391,180

    Good, I wondered how I was messing up the timing...

    Good, I wondered how I was messing up the timing but such a constant 100us amount.

    Also odd that the micros() always ended in 000 on each run I did. So decided to show ARM_CycCnt too - and this...
  34. Replies
    3,804
    Views
    391,180

    THANK YOU @manitou! :) You are absolutely...

    THANK YOU @manitou! :) You are absolutely correct.

    I altered code above to print millis/micros on each 15000 count and it was slipping 100us each set!

    This code runs and the 15,000 interval...
  35. Replies
    3,804
    Views
    391,180

    Nice @Frank B. Swapping out the_isr code above...

    Nice @Frank B.

    Swapping out the_isr code above with this allows loop() to run normally.
    No need to disable the IRQ { or to enable it in loop() }


    FASTRUN void QT3_isr(void) {
    // TMR3_SCTRL0...
  36. Replies
    3,804
    Views
    391,180

    @TelephoneBill - I ran your code and saw what you...

    @TelephoneBill - I ran your code and saw what you saw. But Auto Upload works - so USB is active and aware. The _isr()'s just repeat too fast to let loop() run as written AFAIK.

    I gave the...
  37. Replies
    3,804
    Views
    391,180

    Only Paul can answer specifically - but general...

    Only Paul can answer specifically - but general from prior posts plan was IIRC July 2019 - may still make it - but last post noted delivery of production PCB's was not 100% on schedule and production...
  38. Windows was event driven before single core...

    Windows was event driven before single core Pentiums.

    Arduino basically/literally runs a while(1) from main(). The while(1) just calls loop() over and over - and to handle serialEvent()...
  39. Replies
    3,804
    Views
    391,180

    I just undid boards.txt back to arm\bin with...

    I just undid boards.txt back to arm\bin with unchanged TD version of gcc. I did a build without local Hard_Fault and the LST MASM file is SMALL - but AUTO Upload works, the SerMon shows proper text...
  40. Replies
    3,804
    Views
    391,180

    Odd Frank B thought the new 'arm6' path with edit...

    Odd Frank B thought the new 'arm6' path with edit would make it work to use new compiler … except for the part before " … " the last part should have found the .exe?

    Doesn't sound like a good...
  41. Replies
    3,804
    Views
    391,180

    There is an arm folder there already?

    There is an arm folder there already?
  42. Replies
    3,804
    Views
    391,180

    instead of debug_tt - do the prior posted sketch...

    instead of debug_tt - do the prior posted sketch local copy of the Fault_Handler:

    #if 1 // TOGGLE 0 to exclude and cause BAD USB - set back to 1 and recompile to correct.
    #ifdef __cplusplus...
  43. Replies
    3,804
    Views
    391,180

    Yikes, that is a Big ZIP - 3X TeensyDuino! Will...

    Yikes, that is a Big ZIP - 3X TeensyDuino! Will see if it fixes my repro too.
  44. Replies
    3,804
    Views
    391,180

    Yes, it is some confusion in the build>linker...

    Yes, it is some confusion in the build>linker dropping out some needed code shown comparing the LST files.

    :( - thought for sure I assembled the libs from the right place … where I used them from...
  45. Replies
    3,804
    Views
    391,180

    oppps - somehow what I got was earlier version -...

    oppps - somehow what I got was earlier version - intended to grab what was working for me and got crossed up ...:


    Repacked with the one with writeRect as "B" version

    Also updated link in...
  46. Replies
    3,804
    Views
    391,180

    @mjs513 - any ideas? Odd, There were three...

    @mjs513 - any ideas?



    Odd, There were three libraries in there that needed to be used and then the sketch folder for uncannyEyes0. Seems the ST7735_t3 library might not be the right one if it...
  47. Found new rotationColorPos sketch - I didn't see...

    Found new rotationColorPos sketch - I didn't see anything good come of it.

    Though I'm wondering back to when mine came up better yesterday when I re-powered it? i.e. does the device have any...
  48. Good that it seems to be functional - a pic with...

    Good that it seems to be functional - a pic with indicator of the heat affected chip would allow understanding beyond - there is a short somewhere - or it was damaged and waiting to fail.
  49. @KurtE - quick look SubLime doesn't find other...

    @KurtE - quick look SubLime doesn't find other defines of those color names - and build fails if they are all gone with "#if 0"

    As far as the #ifdef RGB_COLORS - it makes the colors diff on...
  50. Replies
    3,804
    Views
    391,180

    Marked TimeAlarms as working in Post #4

    Marked TimeAlarms as working in Post #4
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4