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. Replies
    7
    Views
    71

    Hard to say without seeing pictures. I assume...

    Hard to say without seeing pictures.

    I assume when your: 11 MISO(Master IN Slave Out) you are meaning pin 11 which is MOSI (Master Out Slave In), Pin 12 is the MISO pin.

    Also not sure from your...
  2. Replies
    479
    Views
    290,854

    Looking at the code, I think it is reasonably...

    Looking at the code, I think it is reasonably safe to assume that:

    bool ADC::startSynchronizedSingleRead(uint8_t pin0, uint8_t pin1)
    {
    // check pins
    if (!adc0->checkPin(pin0))
    {
    ...
  3. Replies
    321
    Views
    8,302

    Hi Again, FYI - I reworked some of the code...

    Hi Again,

    FYI - I reworked some of the code including the test sketch.

    I went ahead and issued a PR as well - It only added functionality so if does not work 100% well it hopefully got most...
  4. Replies
    3
    Views
    108

    I assume you have a version of Teensyduino...

    I assume you have a version of Teensyduino supporting T4.1 You need to choose the Teensy 4.1 as the current board type.

    Your above compile is showing that you built to Teensy 3.2(3.1) not 4.1
    ...
  5. Replies
    321
    Views
    8,302

    In my case the images are stored in flash memory...

    In my case the images are stored in flash memory so they are const...

    Still playing around
  6. Replies
    321
    Views
    8,302

    writeRect and putPicture are pretty much the...

    writeRect and putPicture are pretty much the same. Just happens we have writeRect in several libraries. In fact the writeRect for rotation 0 is a copy of that function.

    Yes the static data...
  7. Replies
    321
    Views
    8,302

    @mjs513, @wwatson, @blackketter and ... I put...

    @mjs513, @wwatson, @blackketter and ...

    I put up a new branch based off of master (https://github.com/KurtE/Ra8876LiteTeensy/tree/writeRect)

    Which put in a first pass at a writeRect that may...
  8. Replies
    321
    Views
    8,302

    Quick update - I updated sources and tried out...

    Quick update - I updated sources and tried out the font test 4 with the branch Ra8876LiteTeensy-ER-TFTM0874 and it is showing the fonts again going off the top of the screen.

    May look at this...
  9. Replies
    321
    Views
    8,302

    I will try to get around and pull out my RA8876...

    I will try to get around and pull out my RA8876 display and see about a quick and dirty port/test of the draw an image (drawRect) and see if it will work in the 4 orientations.
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. Replies
    3
    Views
    241

    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...
  15. 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...
  16. Replies
    3
    Views
    128

    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...
  17. Replies
    321
    Views
    8,302

    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...
  18. Replies
    22
    Views
    435

    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...
  19. Replies
    4
    Views
    243

    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...
  20. 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...
  21. Replies
    13
    Views
    182

    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. ...
  22. Replies
    13
    Views
    182

    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
    ...
  23. Replies
    13
    Views
    182

    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...
  24. Replies
    13
    Views
    182

    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...
  25. Replies
    4
    Views
    168

    Glad you have it working

    Glad you have it working
  26. Replies
    22
    Views
    435

    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...
  27. Replies
    4
    Views
    168

    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...
  28. 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...
  29. 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...
  30. 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...
  31. Replies
    22
    Views
    435

    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...
  32. Replies
    321
    Views
    8,302

    @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
  33. Replies
    8
    Views
    235

    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...
  34. likewise you can use Serial.flush();

    likewise you can use Serial.flush();
  35. Replies
    321
    Views
    8,302

    @... 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...
  36. You are welcome. We have all been there! And...

    You are welcome. We have all been there!

    And welcome.
  37. 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...
  38. Replies
    8
    Views
    220

    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...
  39. Replies
    8
    Views
    220

    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...
  40. Replies
    8
    Views
    220

    @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...
  41. 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:...
  42. Replies
    8
    Views
    220

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

    Confirmed I am seeing it with your example...

    Working on fix.
  43. 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...
  44. 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...
  45. Replies
    119
    Views
    22,590

    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...
  46. Replies
    119
    Views
    22,590

    @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...
  47. Replies
    119
    Views
    22,590

    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...
  48. 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...
  49. Replies
    321
    Views
    8,302

    @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...
  50. Replies
    321
    Views
    8,302

    @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);
    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4