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.05 seconds.

  1. Quick FYI - My later versions of ILI9341_t3n no...

    Quick FYI - My later versions of ILI9341_t3n no longer needs/uses SPIN library. Decide to excise it from there.

    As for TSPISlave library, I have not tried it. My quick look through the code...
  2. Not sure but may start a new thread on this? ...

    Not sure but may start a new thread on this?

    But right now playing around some more with the Adafruit library and adding some functionality.

    With the test sketch reading 4 sensors, with two...
  3. Glad things are working. A quick FYI - As I...

    Glad things are working.

    A quick FYI - As I mentioned up on the Pololu forum (and github), I have been hacking up the Adafruit library to extend some of the APIS as well..
    My test case is...
  4. Git/Github is a three headed monster that...

    Git/Github is a three headed monster that sometimes has a mind of it's own, especially when you use GUI interface to talk to it.

    It tries to make assumptions and what you really want... And I...
  5. Replies
    3
    Views
    239

    Both the two .cpp files you included in your zip...

    Both the two .cpp files you included in your zip file have:

    unsigned __exidx_start;
    unsigned __exidx_end;


    So when you link it will find both of these. As a quick fix you might try removing...
  6. Sorry not sure if I understand your call to...

    Sorry not sure if I understand your call to Serial3.flush();

    The flush operation (https://www.arduino.cc/reference/en/language/functions/communication/serial/flush/), says: Waits for the...
  7. Replies
    3
    Views
    112

    It might help to understand what you are doing. ...

    It might help to understand what you are doing. i.e. example program that shows the issue.

    For example does your program look something like:


    #define PIN1 1
    #define PIN2 2
    uint32_t...
  8. Replies
    311
    Views
    8,120

    My guess is putPicture maybe only setup to handle...

    My guess is putPicture maybe only setup to handle rotation 0...

    I have never tried/used these, so not sure. Also only just played a little with the one RA8876 I have.

    I do know that when we...
  9. Replies
    22
    Views
    391

    Sorry for in advance off topic question: As I...

    Sorry for in advance off topic question:

    As I mentioned about a year ago in another thread...
  10. Replies
    4
    Views
    233

    For what it is worth, a sketch that I often use...

    For what it is worth, a sketch that I often use to check out hardware is a sketch that @defragster and myself kept adding different things to.

    You can alternate between either it setting all IO...
  11. I have not done much playing with it. But I know...

    I have not done much playing with it. But I know that @Paul was able to do some of this with the OctoWS2811 library to work with doing DMA to some of the pins.

    So first place to look might be at...
  12. Replies
    13
    Views
    179

    Yes with the changes I made quick and dirty, it...

    Yes with the changes I made quick and dirty, it still only goes to one place. There are a couple of easy fixes.

    a) Simply copy the print lines and make second copy that still outputs to Serial. ...
  13. Replies
    13
    Views
    179

    I did a quick and dirty edit of your program,...

    I did a quick and dirty edit of your program, note I did not try to compile it:

    #include <Wire.h>
    #include <Adafruit_Sensor.h>
    #include <Adafruit_BMP280.h>

    #define HC05Serial Serial3
    ...
  14. Replies
    13
    Views
    179

    Yes - Serial.print goes to USB connection....

    Yes - Serial.print goes to USB connection.
    Serial3.print goes to Serial3... (likewise for all of the hardware Serial ports)

    And again you need a call to begin with the baud rate. So something...
  15. Replies
    13
    Views
    179

    Dito with stuff mentioned by @defraster and...

    Dito with stuff mentioned by @defraster and @mjs513.

    What I am wondering is if I look at the schematic for the T3.2 version
    It looks like you have T3.2

    If I look at your HC-5 item on your...
  16. Replies
    4
    Views
    161

    Glad you have it working

    Glad you have it working
  17. Replies
    22
    Views
    391

    Yes it is sort of a chicken and egg issue. ...

    Yes it is sort of a chicken and egg issue.

    That is in your previous post you asked:

    So I pointed you to location in the manual the explains these registers. ;)

    And yes I do spend a bit of...
  18. Replies
    4
    Views
    161

    What is not working? I did a quick and dirty...

    What is not working?
    I did a quick and dirty program that opened Serial7 (pins 28 and 29)
    First I verified that it should be able to create that baud.
    Then I did simple output with counter...
  19. Just an example sketch... Modified their single...

    Just an example sketch... Modified their single sketch to handle 4 sensors two on Wire 2 on Wire1...

    Will probably extend more to try out some different things...


    #include <Wire.h>
    #include...
  20. I also just pushed up a branch to github:...

    I also just pushed up a branch to github: https://github.com/KurtE/vl53l0x-arduino/tree/multi_wire

    Which allows you pass in the wire object to use as an optional parameter to the constructor. I...
  21. Glad you got it working! FYI - I now have 4 of...

    Glad you got it working!

    FYI - I now have 4 of those sensors, as well as the VL6180X ones.
    For the fun of it, I extended the capabilities of the VL6... sensors to allow for things like, allow...
  22. Replies
    22
    Views
    391

    First thing I would suggest, is if you have not...

    First thing I would suggest, is if you have not already done so, you should download the reference manuals for the processors you are interested in. In this case T3.5 and T4.

    You can get these...
  23. Replies
    311
    Views
    8,120

    @mjs513 - I did a quick and dirty attempt again,...

    @mjs513 - I did a quick and dirty attempt again, and sure enough did not work... So will stay with option 1) Punt
  24. Replies
    8
    Views
    232

    Again it may really help to see your setup. I...

    Again it may really help to see your setup.

    I ran your code and it is showing some stuff on Logic Analyzer so I know SPI1 is doing something.

    But for example which IO pin are you using for...
  25. likewise you can use Serial.flush();

    likewise you can use Serial.flush();
  26. Replies
    311
    Views
    8,120

    @... I may not look at this for awhile, but as...

    @...

    I may not look at this for awhile, but as mentioned in last PR for the font test, we avoided using the system font in any other rotation than 0...

    But I think in theory it should be...
  27. You are welcome. We have all been there! And...

    You are welcome. We have all been there!

    And welcome.
  28. I don't know of any direct way to do this. You...

    I don't know of any direct way to do this. You could use another processor in between the T3.2 and display, where that processor talks to the display and uses whatever format you define to talk to...
  29. Replies
    8
    Views
    213

    Forgot to show an update logic analyzer output......

    Forgot to show an update logic analyzer output...

    21214

    Just an FYI - Most of the time now I use Saleae's new Alpha/Beta which has lots of new interesting stuff:
    I believe you can download...
  30. Replies
    8
    Views
    213

    Quick update, I put up a version in the branch:...

    Quick update, I put up a version in the branch: https://github.com/KurtE/SPI/tree/T4_transfer_transfer16_fix

    that tries to maintain the state of was last transfer 8 or 16 bits and if we are...
  31. Replies
    8
    Views
    213

    @Paul @Mithradir, @defragster and others, Again...

    @Paul @Mithradir, @defragster and others, Again I know the issue, I know ways to fix it, but not sure the best way to go...

    The current code for transfer16:


    uint16_t transfer16(uint16_t...
  32. Yes as you have discovered, Pins 16, 17, 20, 21...

    Yes as you have discovered, Pins 16, 17, 20, 21 on a Teensy 4 are NOT PWM pins.

    That is if you look at the card that came with Teensy or at the image up on the main website:...
  33. Replies
    8
    Views
    213

    Confirmed I am seeing it with your example... ...

    Confirmed I am seeing it with your example...

    Working on fix.
  34. Again follow on to my previous post (#4). I...

    Again follow on to my previous post (#4). I added back my (originally pilfered from @FrankB) that prints out more complete build memory information than the build does.
    Found I needed to update...
  35. Quick update as well. I also updated my version...

    Quick update as well. I also updated my version of the code that you can put into the build to show information as described in post #3 (I think). It uses updating the platform.txt file and prints...
  36. Replies
    119
    Views
    22,579

    Sounds good... For the heck of it I updated...

    Sounds good...

    For the heck of it I updated my version of the imxrt-size program to also include T4.1... Obviously someone else has already done this...

    I also slightly updated the config data...
  37. Replies
    119
    Views
    22,579

    @defragster - sometimes projects can be helpful,...

    @defragster - sometimes projects can be helpful, example doing a sketch that uses stuff from a few different folders.

    Example: Joystick test
    I have the main folder setup for the sketch

    I then...
  38. Replies
    119
    Views
    22,579

    Another interesting thing I have run into, is...

    Another interesting thing I have run into, is sometimes I create sublime-text Projects as a way to load up the different directories I am using for a build.

    So I open a directory, (example the...
  39. Again sort of hard to say with all of the...

    Again sort of hard to say with all of the information we don't have :D

    Actually I was looking every 10 minutes ;)

    memory space... Again depends on what all you are doing.

    But for example...
  40. Replies
    311
    Views
    8,120

    @mjs513 and ... I pushed up a version to my...

    @mjs513 and ...

    I pushed up a version to my branch with the PR that is sort of a combination between our two fixes.

    That is I do what you did and display something, I use the font you...
  41. Replies
    311
    Views
    8,120

    @mjs513 - I hacked mine slightly different, not...

    @mjs513 - I hacked mine slightly different, not sure which way is better.

    void loop()
    {
    Serial.printf("\nRotation: %d\n", test_screen_rotation);
    tft.setRotation(test_screen_rotation);
    ...
  42. Forgot to mention, there may be another...

    Forgot to mention, there may be another alternative, depending on your needs.

    That is the T4 and 4.1 have another subsystem FlexIO which you can setup code to probably do this pretty well.
    But...
  43. Replies
    311
    Views
    8,120

    @mjs513 - Totally! Which is why I punted ;) ...

    @mjs513 - Totally! Which is why I punted ;) Was thinking about

    a) having our test program not use this font in any other rotation than 0 and see if it still works.

    b)If not, is there...
  44. As for SPI using two SDO pins of the chip. ...

    As for SPI using two SDO pins of the chip.

    There may be possibilities of it on a T4.1, I am not sure how well it may or may not work.

    HOWEVER it will not work with the pins you mentioned...
  45. Replies
    311
    Views
    8,120

    @mjs513 and ... Ok, My fix in PR #6...

    @mjs513 and ...

    Ok,

    My fix in PR #6 appears to fix the GFX problem.

    Rotation: works and does not work.

    That is if you run the rotation test (RA8876Rotate) it appears to be working.
  46. Replies
    311
    Views
    8,120

    Me too... I know that at least at one point they...

    Me too... I know that at least at one point they were working.

    WIll take another quick look. My guess is one of our internal variables is not properly.
  47. Replies
    311
    Views
    8,120

    Yep it was there... And I was pulling out my last...

    Yep it was there... And I was pulling out my last few strands of hair. I then resorted to adding a #warning in the adafruit gfxfont.h file that said I was included...

    And the definitions were not...
  48. Replies
    311
    Views
    8,120

    EDIT: Found where I fixed in ST7735... //...

    EDIT: Found where I fixed in ST7735...

    // Lets see about supporting Adafruit fonts as well?
    #if __has_include(<gfxfont.h>)
    #include <gfxfont.h>
    #endif

    Will see about it in this library.
    ...
  49. Replies
    311
    Views
    8,120

    Yes it looks like some stuff is busted! Like you...

    Yes it looks like some stuff is busted! Like you mention GFX Fonts are not working.

    I am pretty sure it has to do with GFX font file format changing... LadyAda mentioned that it could be undone...
  50. Replies
    23
    Views
    835

    It will be interesting to see when you import...

    It will be interesting to see when you import from vBulletin to XenForo how much you can (or want) to retain the look at feel of current forum.

    Personally I wish we had the ability to easily see...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4