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

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    154
    Views
    3,391

    Morning: If you wish to try out the font test...

    Morning:

    If you wish to try out the font test 4... I have a version up in a soon to be deleted branch Will migrate into the main WIP branch:

    #include <Adafruit_GFX.h>

    #include <SPI.h>...
  2. Replies
    154
    Views
    3,391

    So far my quick 5 minute look hopefully makes it...

    So far my quick 5 minute look hopefully makes it easier to find things. So I would suggest going for it!

    At some point will be interesting to see how much we can speed things up. Looks like...
  3. Replies
    154
    Views
    3,391

    Next Hint: Uncommented a lot of debug print......

    Next Hint: Uncommented a lot of debug print... Here is details for the 'd'

    drawFontChar(d) 100 (36, 0) 10 ffff 1 1
    index = 941
    size = 9,15
    line space = 21
    cap height = 14
    offset...
  4. Replies
    154
    Views
    3,391

    @mjs513 (and others) - I pushed up PR for the...

    @mjs513 (and others) - I pushed up PR for the hacked up fonts library... Not sure how good it is...

    Right now looking at the Test4... (hacked up) first issue was on 2nd page, so first page...
  5. Replies
    154
    Views
    3,391

    Note with the above, First page displays good. ...

    Note with the above, First page displays good.

    2nd page starts to royally screw up on the CRYSTAL24 font.
    Next page screwy...
    Then nothing works...

    So have some debug work to do
  6. Replies
    154
    Views
    3,391

    Thanks, I stated to try to convert over the...

    Thanks, I stated to try to convert over the RA8875 font test 4... And there are still several issues (opportunities)

    Colors - Should we leave it with RED, WHITE, BLACK are specific to this...
  7. Replies
    154
    Views
    3,391

    I just pushed up changes, that fixes both ILI and...

    I just pushed up changes, that fixes both ILI and GFX fonts with text colors and setup opaque versus transparent.

    You might try looking at my branch and see if it works now for you.

    Warning, I...
  8. Replies
    10
    Views
    88

    I am pretty sure that is the plan, but with...

    I am pretty sure that is the plan, but with Covid19 constraints it is just Paul and Robin, and they are pretty busy. Hopefully in the not too distant future, they will be able to catch up.
  9. Replies
    154
    Views
    3,391

    Quick update - I now have the opaque versus...

    Quick update - I now have the opaque versus transparent in both I think...

    But a couple of issues, in that we have two different models of what setTextSize and setTextColor do...

    Was able to...
  10. Replies
    154
    Views
    3,391

    Looks like some more stuff not setup. like...

    Looks like some more stuff not setup.

    like _backTransparent so I changed line to: if (_TXTForeColor == _TXTBackColor)
    But still nothing being output:

    Turned on some more debug printing:
    ...
  11. Replies
    154
    Views
    3,391

    Thanks that fixed it. As for the clipping... ...

    Thanks that fixed it.

    As for the clipping...

    I changed your print to:

    Serial.printf("CLIPPED RETURN XY(%d %d %d %d) CLIP(%d %d %d %d)\n",
    x_start, x_end, y_start, y_end, ...
  12. Replies
    154
    Views
    3,391

    I may go out and play in the dirt for awhile,...

    I may go out and play in the dirt for awhile, before it rains,

    But right now it does not link as it is finding multiple libraries for _font_ComicSansMS...
  13. Replies
    699
    Views
    23,465

    It has been awhile since I looked at that branch,...

    It has been awhile since I looked at that branch, probably since sometime last year. Hopefully at some point will get a chance (and motivation) to do another round with it.

    At one point I...
  14. Replies
    154
    Views
    3,391

    @mjs513 - Good morning, Sounds great - I...

    @mjs513 - Good morning,

    Sounds great - I synced up and tried building, but getting a link error


    Linking everything together......
  15. Replies
    7
    Views
    151

    As mentioned not all of the IO pins associated...

    As mentioned not all of the IO pins associated with that interface is not exposed by the T4 or T4.1... SO yes you probably can not use that interface... (Note I am a software guy as well)

    But that...
  16. Thread: Future Teensies!

    by KurtE
    Replies
    18
    Views
    764

    Wonder if that was 8MB of external RAM or...

    Wonder if that was 8MB of external RAM or replacing the current 2MB flash with the 8MB flash of T4.1? Again have no idea of how doable that would be, i.e. are they same chip pattern with same IO...
  17. Replies
    49
    Views
    1,835

    Sticky: Personally I wish they were just left in... But...

    Personally I wish they were just left in... But as they say it is not my library.
  18. Replies
    49
    Views
    1,835

    Sticky: Yes, it is another place where the code changed...

    Yes, it is another place where the code changed that no longer had those methods on the top level class, but instead had to call the modules...

    Now I thought that @pedvide was going to add...
  19. Again only implemented on T4.x. Yes you simply...

    Again only implemented on T4.x.

    Yes you simply need to allocate the buffer somehow. Could be simple global define, can be malloc and then pass it in.

    The only caveat is that make sure you...
  20. Replies
    154
    Views
    3,391

    You are beating me to it :D When I say I have...

    You are beating me to it :D

    When I say I have mine hooked up to USB 3 HUB - https://smile.amazon.com/gp/product/B07G8CMR18/
    I like using this hub as it has individual buttons to turn on or off...
  21. Replies
    154
    Views
    3,391

    Thanks, I think maybe it was just that sketch ...

    Thanks, I think maybe it was just that sketch (Memory transfer).

    I am now running on USB with Gauges and Graphics, after I edited them to compile... (setTextAt -> setTextCursor)
  22. Replies
    154
    Views
    3,391

    I have tried both and I now get the display...

    I have tried both and I now get the display working but as I mentioned USB does not want to talk to PC...

    Probably what I should do is to try to power the display separately.

    Note: When I...
  23. It looks like someone needs to do a little...

    It looks like someone needs to do a little chasing here, which is likely with each Teensydino release.

    That is if you look at the file:...
  24. Replies
    7
    Views
    151

    I just started to play with the 7" variation of a...

    I just started to play with the 7" variation of a display with RA8876. More information on a few different threads, including:...
  25. Replies
    1
    Views
    59

    Sorry, I have not heard of any. The only other...

    Sorry, I have not heard of any.

    The only other language I remember seeing anything about is variations of Python, like: https://hackaday.com/2020/01/14/circuitpython-now-working-on-teensy-4-0/
  26. Replies
    9
    Views
    136

    There are a variety of different ways to get to...

    There are a variety of different ways to get to the binary. Example in the IDE under sketch menu is the command: export compiled binary, which puts a copy into your sketch folder.

    If I remember...
  27. Replies
    154
    Views
    3,391

    Note: I got it to work with a jumper to the...

    Note: I got it to work with a jumper to the backlight pin. Although while I got the display to show the proper data, I am having issue with it not talking USB back to PC. Will debug more maybe...
  28. Replies
    154
    Views
    3,391

    Quick update - I finished assembling the basics...

    Quick update - I finished assembling the basics of my RA8875 kitchen sink board, and plugged in RA8875 and it works with T4.1 :D I cut the VIN/VSB and have jumper on board to either run from USB or...
  29. Thread: Teensy Qt

    by KurtE
    Replies
    439
    Views
    133,702

    @koromix - Thank you again for developing the...

    @koromix - Thank you again for developing the TyCommander.


    A little while ago, I did my attempt to add support for the new Teensy 4.2 :D which is now released.

    It would be great if there was...
  30. I am not sure how well the support for No USB is...

    I am not sure how well the support for No USB is implemented (or not).

    But if you look in the boards.txt file you will see lines like:

    #teensy40.menu.usb.disable=No USB...
  31. Actually you don't have a delay AFTER the Serial...

    Actually you don't have a delay AFTER the Serial is available... That is your code will return TRUE for Serial as soon as the USB makes connection with the PC, but some programs on PC may not be...
  32. Sounds like an issue with Visual Studio (Visual...

    Sounds like an issue with Visual Studio (Visual Micro?) on handling Serial port. It may act differently with some Arduino processors who have a separate processor or FTDI like chip on board, which...
  33. Replies
    3
    Views
    65

    Warning, I am a Software person, so maybe an EE...

    Warning, I am a Software person, so maybe an EE type might give you a better answer.

    Things I would probably try to see if it works include:

    a) Tie the Reset line of the display to reset pin...
  34. Replies
    25
    Views
    13,971

    Those look a lot nicer than the quick and dirty...

    Those look a lot nicer than the quick and dirty version I did a few years ago, that I use in Diptrace to show 3d layouts of some of my boards that I tinker with, like:

    20327

    But if you wish to...
  35. Replies
    154
    Views
    3,391

    It arrived yesterday :D Still need to hook it...

    It arrived yesterday :D

    Still need to hook it up. I do have a board that I started to do for the RA8875, which I started to assemble and found some issues and some of the IO pins appeared to not...
  36. Replies
    7
    Views
    152

    Yes as @defragster mentioned, I do a lot IO pins...

    Yes as @defragster mentioned, I do a lot IO pins toggle or HIGH/LOW setting around functions and watch that pin on the logic analyzer.

    Also If I think something is going to go boom! And I print...
  37. Replies
    9
    Views
    168

    Again looks great I need to play with it! It...

    Again looks great I need to play with it!

    It can come in real handy!
  38. Replies
    9
    Views
    136

    Typically when I am working with RPIs, I am doing...

    Typically when I am working with RPIs, I am doing so by running them headless. So most of the time I talk to them through some terminal window. On Windows this is typically KiTTy (PuTTy).

    So...
  39. Replies
    7
    Views
    152

    Sorry, I have played a reasonable amount with DMA...

    Sorry, I have played a reasonable amount with DMA stuff and some timer stuff..

    But this is not something that is easy to debug, without a full setup and a lot of hair scratching.

    But in any...
  40. Replies
    9
    Views
    136

    What are you running on the RPI4? Raspian? ...

    What are you running on the RPI4? Raspian? Ubuntu? Version? 32 bit or 64 bit?

    So if the current download for 64 bit linux is: https://www.pjrc.com/teensy/td_152/TeensyduinoInstall.linux64
    I...
  41. Replies
    20
    Views
    6,402

    Yep I got that response on T4.1... void setup()...

    Yep I got that response on T4.1...
    void setup() {
    while (!Serial) ;
    pinMode(13, OUTPUT);
    Serial.begin(115200);
    delay(100);
    Serial.println(map(50, 1, 50, 50, 1), DEC);
    ...
  42. I could be wrong, but I don't think Teensyduino...

    I could be wrong, but I don't think Teensyduino installs SDFat library. It does install SD library.

    At least on my machine I only see the SD library installed in the Teensyduino area.
    I...
  43. Thanks @defragster Earlier I tried a few...

    Thanks @defragster

    Earlier I tried a few different approaches like that and many of them did not help much.

    Other approaches I have thought about, but have not tried include:

    Have each...
  44. Again sometimes it really helps to see a more...

    Again sometimes it really helps to see a more complete program to see if there are some obvious solutions.
    Like you mention that loop goes into blocking mode with delay...

    If it actually calls...
  45. @Mark_7 - Might work, but personally I would not...

    @Mark_7 - Might work, but personally I would not do it this way.

    void makeHigh(){
    GPIO1_DR |= b[26]; //GPIO_DR = 1 // DATA REGISTER
    //digitalWrite(20, HIGH);
    }
    You are directly...
  46. One thing that is making this harder to follow,...

    One thing that is making this harder to follow, as this logical thread has been winding through several threads, so unless you dig around you have no clue what the issues are.

    That is Nick would...
  47. Replies
    13
    Views
    205

    Did you select in the USB type either Dual or...

    Did you select in the USB type either Dual or Triple Serial?
  48. Sorry I am not sure what your setup is here as...

    Sorry I am not sure what your setup is here as you mention Visual Studio and Visual Micro... So are you building with Arduino or are you building within Visual Studio?
    Also which monitor program are...
  49. Hard to say if it is a bug or not? As I don't...

    Hard to say if it is a bug or not? As I don't see the rest of the program that is calling this. For example is SPI.begin() called?
    If not maybe the SPI subsystem is not enabled and causes it to...
  50. Replies
    783
    Views
    27,035

    @wwatson, did you solder it in to where the...

    @wwatson, did you solder it in to where the smaller pattern is on the back of the board? (around pads 31-32?)

    You might, retouch each solder joint with solder iron to make sure good contacts,...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4