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

Search:

Type: Posts; User: Rezo

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    783
    Views
    26,567

    I really am keen on placing an order of the T4.1...

    I really am keen on placing an order of the T4.1 from the PJRC website, but due to the major delays with international shipping since COVID started, I'm holding it off for now.
    I placed an order of...
  2. Hi Luni, Since the last post, I've been using...

    Hi Luni,

    Since the last post, I've been using the code you supplied successfully but now comes time for a change.

    I have a few array that I am passing to a function that transmitts CAN frames....
  3. Replies
    267
    Views
    17,927

    Although its been two months since I added this...

    Although its been two months since I added this to my code, but due to covid lockdown I only got to put this to test today.
    I tried casting the indexed buffer, but its still being set as an unsigned...
  4. Replies
    267
    Views
    17,927

    I just want to confirm that I understand this...

    I just want to confirm that I understand this statement correctly - If I put the Teensy to sleep (using Snooze library), and connect power up a CAN node thats connected to the bus, it should wake up...
  5. Replies
    267
    Views
    17,927

    A little advance for my basic coding...

    A little advance for my basic coding capabilities.. :D
    So if I understand right... I'll call that line of code when I want to put the T4 to sleep, and it will automatically wake up the T4 when a...
  6. Replies
    267
    Views
    17,927

    Tony, is there any type of wakeup interrup that...

    Tony, is there any type of wakeup interrup that can be used to wake up the T4 from sleep mode as soon as the bus comes alive?
    I've searched throgh the forum and also looked at the .h file in the...
  7. I'm not using updateScreenAsync, just...

    I'm not using updateScreenAsync, just updateScreen after setting each clip rectangle - perhaps if I call updateScreen once in a loop it might yield better results?
    Here is the entire sketch (minus...
  8. Can anyone shed light on how to the the...

    Can anyone shed light on how to the the frameCount() function?
    I'm using this specifically on the optimized HX8357 library.

    I'm setting the frame buffer to true in the setup, and then setting and...
  9. What kind of performance gains are you seeing...

    What kind of performance gains are you seeing with this new method as opposed to the current available release?
    Can you share some figures on the display test sketches to show comparison?
  10. Replies
    40
    Views
    1,945

    Are they any recommended libraries to utilize the...

    Are they any recommended libraries to utilize the resistive touch and SD card slot on this display?

    I understand the SD card shares SPI with the display controller, and it also has a touch...
  11. I might be reviving the wrong thread, but I'll...

    I might be reviving the wrong thread, but I'll give it a shot as I can't find the info needed elsewhere.

    A friend of mine has a driving simulator using a Logitech steering wheel and an Arduino Pro...
  12. Replies
    44
    Views
    2,652

    With recent events of the COVID-19 virus, I've...

    With recent events of the COVID-19 virus, I've been working from home for the past week.
    I found some spare time to continue working on this project in between.

    I want to thank anyone and...
  13. That works a charm! Thanks Kurt!!

    That works a charm! Thanks Kurt!!
  14. Tested that out, it works well for clearing the...

    Tested that out, it works well for clearing the "led" but it sometimes causes the strings in the middle of the gauge to flicker. I assume that your code basically draws a rectangle between the last...
  15. I’ll put together a sketch tomorrow for the...

    I’ll put together a sketch tomorrow for the ILI9341 and upload it, Similar to the initial gauge sketch you wrote for me.
    Only reason I didn’t upload the full sketch is its about 500 lines long and...
  16. @KurtE I'm facing an issue with the clip...

    @KurtE

    I'm facing an issue with the clip rectangle function on my second gauge.
    For some reason its not clearing the previous drawing position. The only way I can clear it is if I clear the...
  17. Replies
    40
    Views
    1,945

    That seems to have worked, except I get a snow...

    That seems to have worked, except I get a snow screen for a few milliseconds at startup. But I can just pull the backlight low at startup and then pull it high after the library initialises
  18. Replies
    40
    Views
    1,945

    I got my Adafruit display in a few days ago. The...

    I got my Adafruit display in a few days ago. The size and clarity is so much better than the 2.8" ILI display - I love it!

    But I am noticing that sometimes when I update the T4, the screen just...
  19. I'll start with admitting that my knowledge is...

    I'll start with admitting that my knowledge is very limited on this topic, but being that I've been searching for a decent display for a project recently, we are fairly limited to SPI wiring with...
  20. Replies
    267
    Views
    17,927

    Even though this may have been mentioned, can you...

    Even though this may have been mentioned, can you conform TX on the Teensy is going to TX on the transceiver and the same for RX on both side?
    I initially was getting nothing, until I discovered it...
  21. Replies
    267
    Views
    17,927

    Ive been using the TI transceiver that mjs linked...

    Ive been using the TI transceiver that mjs linked to with a T4 on a 2016 Golf GTI with no issues.
    Been working solid for the past 6 months on both the T3.2/T4
  22. Replies
    13
    Views
    2,836

    I used another tool...

    I used another tool that seems to be providing better sizing but its converting to Adafruit GFX fonts

    I've tried multiple fonts on font editor and a 12pt font displays twice as large as it should....
  23. Replies
    13
    Views
    2,836

    I created a font from 10, 11 and 12pt fonts. I...

    I created a font from 10, 11 and 12pt fonts.
    I set the 10pt font to use, but it looks huge, like 30pt huge (its the 0.0 and 14. numbers in the gauges)
    19202
    Display is a 2.8" ILI3941
    Am I doing...
  24. Replies
    44
    Views
    2,652

    Alright, so I implemented it. Works well with the...

    Alright, so I implemented it. Works well with the constructor setting the circle at 2,4,8 (didn't try anything higher). 1,5,6,7 messed up the readings.
    TBH the responsiveness looks almost the same...
  25. Replies
    44
    Views
    2,652

    So it would look like this more or less?...

    So it would look like this more or less?
    Obviously it will take 4 initial pushes to fill the buffer and get a proper average


    Circular_Buffer<float, 4> boostPressure;
    float canData [3]; //...
  26. Replies
    44
    Views
    2,652

    Hey Tony, is there and documentation on this?...

    Hey Tony, is there and documentation on this? Sounds really interesting!
  27. Replies
    44
    Views
    2,652

    I shall try that later on today EDIT: actually,...

    I shall try that later on today
    EDIT: actually, both variables are floats, so I don't think I'll need to add +1 for the corrections.



    Thank you! And I've already started working on what you...
  28. Replies
    44
    Views
    2,652

    Please do share what you have built! Happy to...

    Please do share what you have built! Happy to provide the graphics code if you’d like. But just note that its a work in progress and I am no expert. I learn more C++ with every new challenge I tackle...
  29. Replies
    13
    Views
    2,836

    @spook Quick question here: I ran the app on...

    @spook

    Quick question here:
    I ran the app on Windows, installed the new font I wanted to generate
    File > New >New from font
    I selected the font, 20pt
    I then optimised the font to remove the...
  30. Replies
    44
    Views
    2,652

    So, I never got around to testing this - just...

    So, I never got around to testing this - just haven't had time, and I've also been working on getting the 2nd gauge to display as I want. As well as other things in parallel.

    I went with a very...
  31. I'll add some 3-5 second delays between each set...

    I'll add some 3-5 second delays between each set of draw-clip functions and see what happens.

    Just to make sure I understand this right.. looking at the image below - anything I load into the...
  32. Thanks mjs, I'll try that on Bootcamp later on. ...

    Thanks mjs, I'll try that on Bootcamp later on.

    @KurtE, I'm seeing some odd behavior with the serClipRect.

    I set the display background to white, then used your example code for the gauge and...
  33. Is there an online tool I can use to create more...

    Is there an online tool I can use to create more fonts? I have a ttf file for the new font I want to create
  34. Thanks Luni! Tested it this morning, WOW! the...

    Thanks Luni!

    Tested it this morning, WOW! the sample rate is so high, my display refresh rate jumped!
    This seems to be doing exactly what I wanted it to do, and it's doing it well!

    Regarding...
  35. Okay, looks like we're almost there! It...

    Okay, looks like we're almost there!

    It compiles but with two warnings:

    CAN_T4_MB_interval:574: warning: narrowing conversion of '(._93)8234u' from 'short unsigned int' to 'uint8_t {aka...
  36. Thanks Paul. I really appreciate the help from...

    Thanks Paul. I really appreciate the help from all members so far on my various topics.
    The only reason I haven't posted the full code is it took me months to obtain knowledge for multiple sources...
  37. My bad, I should have posted a more realistic...

    My bad, I should have posted a more realistic example. I'll elaborate.

    There are two functions, void canSend01(uint8_t pid) and void canSend22 (uint16_t pid)
    Why do I have two? one takes 8 byte...
  38. Sure :) enum { ...

    Sure :)



    enum {
    INTAKE_MANIFOLD_ABSOLUTE_PRESSURE = 0x0b
    }

    void canSend_01(uint8_t pid){
    CAN_message_t msgTx, msgRx;
  39. Thank you both. Just implemented it into my...

    Thank you both.

    Just implemented it into my main sketch and I'm at the last hurdle.
    I'm passing a HEX value in each function (I store them with alphabetic names in an enum)

    Getting this final...
  40. I like this approach, seems to be what I'm...

    I like this approach, seems to be what I'm looking for.
    But, tried to compile and test on a T3.2 and getting the following error:

    sketch_feb19c:5: error: 'func0' was not declared in this scope
    ...
  41. Firing multiple functions with a fixed interval between them - non blocking?

    Hi,

    Lets say I have 10 functions I would like to run, we can call them myFunction1 through myFunction10.

    I want to run each function with a fixed interval between them, lets say 100ms:

    ...
  42. Replies
    16
    Views
    716

    Why don't you just use PiCAN 2 or something...

    Why don't you just use PiCAN 2 or something similar to communicate with CAN directly from the RasPi?

    What's your end goal with this project? Is it for data logging, realtime display or just...
  43. Replies
    44
    Views
    2,652

    Thank you Nominal Animal, I'll try and implement...

    Thank you Nominal Animal, I'll try and implement something in the upcoming days. I will have to sample the data twice in each loop, correct?
  44. My apologies, I blindly went through it and...

    My apologies, I blindly went through it and didn't even realise it was all set to 0x00..
    I decided to use another font for now from Frank's library and its working thanks to mjs513's guidelines.
  45. Tried your suggestion, still no change.

    Tried your suggestion, still no change.
  46. I actually came across FrankB's set of Google...

    I actually came across FrankB's set of Google fonts. I tired one but when I use it, it does not come up on the display..
    No errors when compiling (I did have to edit his .c and .h files a bunch...
  47. What's the method with this library to use custom...

    What's the method with this library to use custom front? Is there some type of font generator I can use online to create the required files?
    I've searched the thread but it comes across as a rather...
  48. Replies
    44
    Views
    2,652

    Could you possibly go deeper into a code example?...

    Could you possibly go deeper into a code example?
    Lect2 and Lect1 are the sensor readings I assume.. so for every two sensor readings I'll check if the reading is going up or down I assume, then...
  49. Replies
    44
    Views
    2,652

    So a quick update on my project (its moving...

    So a quick update on my project (its moving really slow, have had some family matters to deal with recently).

    I was able to add a second gauge render (the one that resembles the 2nd image in my...
  50. Replies
    40
    Views
    1,945

    @KurtE - were you able to locate this display...

    @KurtE - were you able to locate this display elsewhere for less than 40 USD? It looks great but price wise....
    Also, could you run the gauge test you put together for the 9431? I would love to to...
Results 1 to 50 of 76
Page 1 of 2 1 2