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

Search:

Type: Posts; User: Manu

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    316

    I do a test because I was thinking that it's...

    I do a test because I was thinking that it's useless to activate a pin if it's already done. But maybe I'm wrong ? I don't know...
    Anyway, thank you
  2. Replies
    13
    Views
    316

    Thank you Luni, this do exactly what I want. I...

    Thank you Luni, this do exactly what I want. I had 2 simple functions to LED.h :


    #ifndef LED_h
    #define LED_h

    class LED
    {
    public:
    LED(unsigned _pin)
  3. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Thank you !

    Thank you !
  4. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    I choose to rename my variables ;-) But I have...

    I choose to rename my variables ;-)

    But I have another problem... TeensyTimerTool throw errors :



    Have to figure why..
  5. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Hi Luni, I installed the last version of...

    Hi Luni,

    I installed the last version of TeensyTimerTool and use it with a project that already have the previous version working. In this project I use TeensytimerTool to drive a chronometre with...
  6. Replies
    13
    Views
    316

    Thank you Luni, I'll try this ASAP

    Thank you Luni,
    I'll try this ASAP
  7. Replies
    13
    Views
    316

    Hi, I have found the problem, but have hard...

    Hi,

    I have found the problem, but have hard time to figure how to solve it.
    In my setup function, I have this :


    for (int i = 0; i < 5; i++)
    {
    analogWrite(PIN_LED, LED_BRIGHTNESS);...
  8. Replies
    13
    Views
    316

    Last test I've done is to place button init at...

    Last test I've done is to place button init at the very beginning of the setup().

    Doing this highly reduce the pin pullup thing to 350ms. but the result is still the same
  9. Replies
    13
    Views
    316

    The last one for today : 22325 Yellow : the...

    The last one for today :

    22325

    Yellow : the main power (+12,5V)
    Magenta : Teensy 3v3 Regulator
    Blue : the voltage at digital pin at teensy side (pullup activated)
    Green : the voltage at the...
  10. Replies
    13
    Views
    316

    Here are scope trace of what I think do this : ...

    Here are scope trace of what I think do this :

    22319

    Yellow : the main power (+12,5V)
    Magenta : the voltage at button (0V when not pressed)
    Blue : the voltage at digital pin at teensy side...
  11. Replies
    13
    Views
    316

    This is the code : #include "Bounce2.h" ...

    This is the code :


    #include "Bounce2.h"

    #define PIN_BOUTON1 2
    #define PIN_BOUTON2 3
    #define PIN_BOUTON3 4
    #define DEBOUNCE_TIME 5
    #define SHORT_PRESS 500
  12. Replies
    13
    Views
    316

    Look like a code problem too. If I try to...

    Look like a code problem too.

    If I try to inverse the way I trigger the photocoupler (button before the led, and resistor after the LED), it's behave the same.
  13. Replies
    13
    Views
    316

    Digital Input Problem

    Hello,

    I currently test an hardware that use Digital Input (3 inputs). I try to use an photocoupler : Renesas PS2801-4

    I think I have make mistake with the way I use it because if I set :...
  14. Replies
    16
    Views
    410

    Autodesk which own Eagle today recommand to NOT...

    Autodesk which own Eagle today recommand to NOT use the autorouter. Instead, it recommand to use it to verify if your component placement is good :

    They say that if autorouter can't complete 85%...
  15. Replies
    245
    Views
    19,501

    Thank you.

    Thank you.
  16. Thread: uBlox Library

    by Manu
    Replies
    120
    Views
    25,435

    Hi, Added Teensy 4.0/4.1 to Chris O. fork. ...

    Hi,

    Added Teensy 4.0/4.1 to Chris O. fork.

    22123


    Edit : typo.
  17. Replies
    245
    Views
    19,501

    Luni, your MP box is full ;-)

    Luni, your MP box is full ;-)
  18. Replies
    245
    Views
    19,501

    This is what I do, and it require some...

    This is what I do, and it require some adjustments in vsTeensy.json AND c_cpp_properties.json ;-)

    Also I noticed in some vsTeensy.json a "dummy" project after the real project. The dummy project...
  19. Replies
    245
    Views
    19,501

    Hello Luni, I'd like that VisualTeensy include...

    Hello Luni,

    I'd like that VisualTeensy include ALL libraries in the project. It will be better for us to keep a working project, even if/when a library change and break compatibility with an older...
  20. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Sorry Luni, this was a cache problem Cleaning...

    Sorry Luni, this was a cache problem
    Cleaning the project and rebuild it solve all strange behaviour
    thank you
  21. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Hello Luni, today I updated TeensyTimerTool...

    Hello Luni,

    today I updated TeensyTimerTool library on my computer and since, my project don't operate as it use to. Periodic timers don't start.
    I tried to change some command according to your...
  22. Replies
    7
    Views
    338

    Thank you guy, ultra constructive answer. In...

    Thank you guy,
    ultra constructive answer. In France starting a post with "And?" mean that you feel like the one who asked is a pure idiot. Same in Italy ?

    Excuse me to refer to ...
  23. Replies
    245
    Views
    19,501

    Tested OK today, Thank you Luni. Did you ever...

    Tested OK today,
    Thank you Luni.

    Did you ever play with GIT function in VScode ? I can't make it operate with my Synology NAS GIT server. Does it need SSH or only user/password ?
  24. Replies
    7
    Views
    338

    Replace delay() with a custom function

    Hello,

    In arduino delay is blocking. So one have to replace delay with his own function ?

    Is this one a good sample or is there more efficient ?


    void wait(uint_least16_t timeToWait)
    {
    ...
  25. Replies
    245
    Views
    19,501

    Will test it soon and report. Thank you

    Will test it soon and report.
    Thank you
  26. Replies
    245
    Views
    19,501

    It mean that "Mes%20documents" need to become...

    It mean that "Mes%20documents" need to become "Mes documents" to operate without warning at compilation.
    If I don't change this, the project can still compil, but claim for an error about...
  27. Replies
    245
    Views
    19,501

    Thank you Luni for the link to cpp issues. This...

    Thank you Luni for the link to cpp issues.
    This one is the one to use to solve the problem :

    https://github.com/microsoft/vscode-cpptools/issues/5914

    One have to change...
  28. Replies
    245
    Views
    19,501

    In VT, I notice that when you generate...

    In VT, I notice that when you generate "c_cpp_properties.json" you use different formats for files paths.

    One is (for example) :
    "C:\\Program Files...
  29. Replies
    245
    Views
    19,501

    It's odd. If I compile the project it's OK. So I...

    It's odd. If I compile the project it's OK. So I don't think it's a typo error in the main.cpp file.
    But if I intend the main.cpp file all goes wrong and then I can't compile anymore...

    I'll wait...
  30. Replies
    245
    Views
    19,501

    Hello, I notice a strange behaviour of VSC...

    Hello,

    I notice a strange behaviour of VSC today, not related to VT. Maybe someone have the solution :

    When I use Shift-Alt-F to intend code, it wipe the code all out. Previously it work OK....
  31. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Thank you. TCK64 work great here.

    Thank you.

    TCK64 work great here.
  32. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    I'm use Teensy 3.2 so there is no GPTs available....

    I'm use Teensy 3.2 so there is no GPTs available.

    But it was simple with TCK. I just used a "callback execution counter" and a loop to execute the relevant code each time the counter is at the...
  33. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Hello Luni, Is there a way to get a timer each...

    Hello Luni,

    Is there a way to get a timer each minute simply ?
    I understand that TCK timer use (int) for the period which is too small for a minute. I have others timers that use (millis).
    I can...
  34. Replies
    245
    Views
    19,501

    Hello Luni, Thank you for this addon to VSC. I...

    Hello Luni,

    Thank you for this addon to VSC. I like it and will never go back to arduino IDE !
  35. Replies
    1
    Views
    194

    To answer to myself : tMot.mini =...

    To answer to myself :



    tMot.mini = (int16_t)EEPROM.readInt(25);
  36. Replies
    1
    Views
    194

    Convert uint16 to int16

    Hello,

    Is there a simple and effective way to convert a uint16 value to a int16 value ?

    Turrently I use this :



    tMot.mini = EEPROM.readInt(25);
    if (tMot.mini > 65000) tMot.mini =...
  37. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Thank you to everyone. @Luni : TeensyTimerTool...

    Thank you to everyone.
    @Luni : TeensyTimerTool problem was due to a space in the path to reach it ;-)
  38. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Thank you Luni. Another one for you. Today I...

    Thank you Luni.
    Another one for you. Today I gave a try to VCS and VisualTeensy. I use NotePad++ with success but it miss Intellisense...

    I create a new project that meet the requirements for an...
  39. Thread: Display_ili9341

    by Manu
    Replies
    81
    Views
    45,203

    I finally end with this code. It operate but I...

    I finally end with this code. It operate but I think it can be better :



    #define debounceScreen 200 // Millisecondes
    #define longPress 3500

    bool wasTouched = false;
    bool wasReleased =...
  40. Thread: Display_ili9341

    by Manu
    Replies
    81
    Views
    45,203

    I'm sorry, but it's absolutely unclear :-( At...

    I'm sorry, but it's absolutely unclear :-(
    At least difficult to do (for me)
  41. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Hello Luni, It's look like the callback for...

    Hello Luni,

    It's look like the callback for timers must be void functions without any parameter. Is that it ?





    #define RefreshADCPeriod 40
  42. Thread: Display_ili9341

    by Manu
    Replies
    81
    Views
    45,203

    Hello, I'm looking for a convenient way to...

    Hello,

    I'm looking for a convenient way to allow short press and long press on the display. Is there an easy way to do it ?

    Actually my code is this :



    void loop() {
    if...
  43. Thread: Double char array

    by Manu
    Replies
    6
    Views
    385

    Hi, I'm sorry, it was a code error. I placed...

    Hi,

    I'm sorry, it was a code error. I placed this definition in a "switch/case" case and it complain (and break the switch/case choices).
    I then moved the definition in a function that is called...
  44. Thread: Double char array

    by Manu
    Replies
    6
    Views
    385

    In fact it work, but compiler complain ;-) Is...

    In fact it work, but compiler complain ;-)

    Is there another way to do this ?

    the goal is to call a string in regard with a number.
  45. Thread: Double char array

    by Manu
    Replies
    6
    Views
    385

    Double char array

    Hello,

    It's look like we can't do this with arduino/teensy ?


    char Nom[10][20]={"Paris","Marseille","Lyon","Rennes","Toulouse","Strasbourg","Grenoble","Lille","Nantes","Bordeaux"};

    Or do I...
  46. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Thank you for this explanation.

    Thank you for this explanation.
  47. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    I confirm that including TeensyTimerTool before...

    I confirm that including TeensyTimerTool before other libraries work.

    However, I think there is a bug with FTM timers and Teensy 3.2 (72Mhz - compile as Faster).
    When I use this as a periodic...
  48. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Thank you, I'll try and let you know

    Thank you,

    I'll try and let you know
  49. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    teensy 3.2

    teensy 3.2
  50. Thread: TeensyTimerTool

    by Manu
    Replies
    240
    Views
    12,401

    Imcompatibility with ILI9341_T3

    Hello Luni

    I found an incompatibility between TeensyTimerTool and Paul's ILI9341_t3.

    When one want to use both libraries in the same sketch, compiler can't complete and throw errors.

    Here is...
Results 1 to 50 of 131
Page 1 of 3 1 2 3