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

Search:

Type: Posts; User: Alex4455

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    1,622

    if (b2_enable && (millis() - b2_timer) >= 100) //...

    if (b2_enable && (millis() - b2_timer) >= 100) // delay time
    {
    b2_timer = millis();
    b2_enable = false;
    digitalWrite (36, 1); // relay on
    FreqCount.end(); // here I need to...
  2. Replies
    14
    Views
    1,622

    I thank you for your answers! solved the problem...

    I thank you for your answers!
    solved the problem mechanically, i.e. at the iron level,
    I turn off the signal from the generator with a mechanical relay,
    I could not solve this problem...
  3. Replies
    14
    Views
    1,622

    Hi, Paul. when using FreqCount. end(); I get...

    Hi, Paul.

    when using FreqCount. end(); I get the following error ..

    C:\Temp\arduino_build_411425\sketch\C5.ino.cpp.o: In function `loop':
    D:\Controller\C5/C5.ino:605: undefined reference to...
  4. Replies
    14
    Views
    1,622

    Hello dear. I'm new to Teensy 4.1 programming,...

    Hello dear.

    I'm new to Teensy 4.1 programming, please tell me how to correctly in the LOOP function,
    in one place to turn on the frequency measurement, and in another to turn it off ?

    for...
  5. Replies
    299
    Views
    41,053

    Hello dear. please tell the beginner again, how...

    Hello dear.
    please tell the beginner again,
    how to implement such an algorithm ?
    Thanks in advance for your help !

    Timer1 = 15 ms
    Timer2 = 25 ms

    if (Condition 1)
    {
  6. Replies
    299
    Views
    41,053

    thank you! I will try to do so, I have many...

    thank you! I will try to do so,
    I have many other tasks in the code, I would not like to delay them ..
  7. Replies
    299
    Views
    41,053

    greetings dear.. please tell a beginner, in...

    greetings dear..

    please tell a beginner, in 500 ms I need to make a request for Serial port,
    if I do so:


    Serial7.print("IF;");
    Serial7.flush();
    delay(500);
  8. Replies
    880
    Views
    122,588

    ok, I understand you, I will try to figure it...

    ok, I understand you, I will try to figure it out.
    thank you again for your time!
  9. Replies
    880
    Views
    122,588

    tonton81, maybe you will have a free minute, can...

    tonton81, maybe you will have a free minute,
    can you show me how to receive data from a block please?
    with not a lot of sample code?
  10. Replies
    880
    Views
    122,588

    Yes fine! Thank you!

    Yes fine! Thank you!
  11. Replies
    880
    Views
    122,588

    Thank you for your reply! but for me it is...

    Thank you for your reply!
    but for me it is difficult, I cannot do that, I lack knowledge :(
    I plan to send two commands sequentially,
    first online, then offline, probably this is not correct, but...
  12. Replies
    880
    Views
    122,588

    yes, now thanks to you, I understood everything...

    yes, now thanks to you, I understood everything :)
    I am very grateful to you for your help!
    and if, can you tell me how to write the code correctly, for these purposes ?
    I will be your debtor!
  13. Replies
    880
    Views
    122,588

    wow .... found a bug !!! I had it like that: ...

    wow .... found a bug !!!

    I had it like that:
    msg.buf[0] = 0x01;
    msg.buf[1] = 0x01;

    did so:
    msg.buf[0] = 0x01;
    msg.buf[1] = 0x00;
  14. Replies
    880
    Views
    122,588

    yes, this is the document I use, but it turns...

    yes, this is the document I use,
    but it turns out that nothing works, I am sure that I am doing something wrong,
    but I can't understand what am I doing wrong? if the error is in the team, how...
  15. Replies
    880
    Views
    122,588

    Power Supply Huawei R4850 24518

    Power Supply Huawei R4850
    24518
  16. Replies
    880
    Views
    122,588

    tonton81, I am very grateful to you for...

    tonton81, I am very grateful to you for participating in my problem!
    this is the data I accept using IFCTsimpleFIFOPolling.ino
    24516
    and wto such with the help IFCTsniffer.ino
    24517
    but I don't...
  17. Replies
    880
    Views
    122,588

    I've been fighting this for two weeks now, I...

    I've been fighting this for two weeks now, I broke my whole head,
    I can't imagine which way to dig ...

    I tried to connect through such a module, there is a delay ..
    24514
    there is clearly...
  18. Replies
    880
    Views
    122,588

    2.0-2.5 volts, these levels correspond to Teensy,...

    2.0-2.5 volts, these levels correspond to Teensy,
    I think it is possible that additional commands are needed for the block R4850...
  19. Replies
    880
    Views
    122,588

    unfortunately I don't understand a lot, I have no...

    unfortunately I don't understand a lot, I have no experience with these devices,
    I use this wiring diagram ..
    24512
  20. Replies
    880
    Views
    122,588

    tonton81, can I somehow disable data reception?...

    tonton81, can I somehow disable data reception?
    I only need to transfer data,
    maybe then the transmission speed will increase?

    i made simple code, but the effect is the same, the delay when...
  21. Replies
    880
    Views
    122,588

    unfortunately it gives nothing :(

    unfortunately it gives nothing :(
  22. Replies
    880
    Views
    122,588

    unfortunately there are no changes, the delay...

    unfortunately there are no changes, the delay remains the same 60 seconds (((
  23. Replies
    880
    Views
    122,588

    please tell me where to install this code ? ...

    please tell me where to install this code ?

    msg.flags.extended = 1;
    I use Teensy 3.2, this code throws an error

    can1.setClock(CLK_60MHz);
  24. Replies
    880
    Views
    122,588

    I am very grateful to you for your answer! but,...

    I am very grateful to you for your answer!
    but, I am very bad at programming (((
    can't figure out what i need to do?
  25. Replies
    880
    Views
    122,588

    Hi, please, tell me, what am I doing wrong?...

    Hi,
    please, tell me, what am I doing wrong?
    when the temperature of the external device rises, the power supply R4850 must reduce the output voltage,
    the code works, but when switching the voltage...
  26. Replies
    0
    Views
    251

    Teensy 3.2 and Power Supply R4850

    Hi, dear.

    please tell a newbie how to switch between two voltages 44 and 55 volts in the R4850 unit,
    I am using a Teensy 3.2 controller board, it has a CAN bus, I really want to see the example...
Results 1 to 26 of 26