Hi,
I do not know C++ but a quick google looks like you need to Include Chrono.
https://favtutor.com/blogs/sleep-cpp
Regards,
Bob
Search found 285 matches
- Tue Jun 10, 2025 4:11 pm
- Forum: General
- Topic: Millis() arduino c++ in flowcode
- Replies: 2
- Views: 73
- Sat May 31, 2025 10:17 am
- Forum: General
- Topic: when will flow code be driven by AI
- Replies: 3
- Views: 933
Re: when will flow code be driven by AI
Hi, Why would anyone want AI to write their code for them, it is like buying a crossword and asking AI to fill it in for you. I would think it would be a killer for sales in my opinion, I would not support it, I wonder how many others think the same. I think AI is the slippery slope to being brain d...
- Sun Dec 15, 2024 4:48 pm
- Forum: Bug Reports
- Topic: Compile error for a do nothing program
- Replies: 13
- Views: 8028
Re: Compile error for a do nothing program
Hi,
I have not used a GLCD in FC but I wondered if it is a font error could you not try a different font?
Bob
I have not used a GLCD in FC but I wondered if it is a font error could you not try a different font?
Bob
- Fri Nov 08, 2024 11:22 am
- Forum: Bug Reports
- Topic: WS2812 Sim OK but fails to built
- Replies: 3
- Views: 7632
Re: WS2812 Sim OK but fails to built
Hi Ben,
It is getting near the time to get the LED's out again and wondered if the issue had been sorted.
Bob
It is getting near the time to get the LED's out again and wondered if the issue had been sorted.
Bob
- Wed Sep 11, 2024 4:40 pm
- Forum: Projects - Embedded
- Topic: PIC, changing CAN bit speed Settings. BRP BRGCON1
- Replies: 6
- Views: 11486
Re: PIC, changing CAN bit speed Settings. BRP BRGCON1
The other thing which is confusing me is that you say you are using the internal CAN (and you are using a CAN enabled device) but in FC the only CAN component I can find is "CAN (Internal MCP2515)" which is an external SPI / CAN device?
Bob
Bob
- Wed Sep 11, 2024 4:03 pm
- Forum: Projects - Embedded
- Topic: PIC, changing CAN bit speed Settings. BRP BRGCON1
- Replies: 6
- Views: 11486
Re: PIC, changing CAN bit speed Settings. BRP BRGCON1
Hi jay_dee, I have not done anything with CAN using Flowcode but I used a CAN bit timing calculator such as https://kvaser.com/support/calculators/bit-timing-calculator/ For a PIC device I used MCP2510 and then worked it back from there. I have never used PLL but I would assume you put the 32mhz in ...
- Mon May 06, 2024 10:08 pm
- Forum: Bug Reports
- Topic: LED state in simulation (debug)
- Replies: 7
- Views: 7080
Re: LED state in simulation (debug)
Hi Steve, I have managed to move the components to the new panel but in my dabbling I managed to add a 3d panel which I cannot get rid of. It has a red exclamation mark in the box to the left. 3d panel.jpg Not sure what has happened but now it has the 3 boxes like the 2D one but still cannot remove ...
- Mon May 06, 2024 4:02 pm
- Forum: Bug Reports
- Topic: LED state in simulation (debug)
- Replies: 7
- Views: 7080
Re: LED state in simulation (debug)
Hi Steve,
I did a library update and it now works as expected, also I found the digital pins window, never noticed it before.
I cannot find out how to change the 2D panel without deleting everything and starting again?
Bob
I did a library update and it now works as expected, also I found the digital pins window, never noticed it before.
I cannot find out how to change the 2D panel without deleting everything and starting again?
Bob
- Sun May 05, 2024 9:24 pm
- Forum: Bug Reports
- Topic: LED state in simulation (debug)
- Replies: 7
- Views: 7080
Re: LED state in simulation (debug)
Hi,
I tried that but no difference. What did puzzle me was the pins i used were not in the output list so I changed them but still no good.
Hope to try on real hardware soon.
Bob
I tried that but no difference. What did puzzle me was the pins i used were not in the output list so I changed them but still no good.
Hope to try on real hardware soon.
Bob
- Sun May 05, 2024 7:08 pm
- Forum: Bug Reports
- Topic: LED state in simulation (debug)
- Replies: 7
- Views: 7080
LED state in simulation (debug)
Hi, I have a strange issue in a sim(debug), I have a couple of LED's and when I run the sim for the first time everything seems to work as expected. If I stop the sim and run it again the LED's are the same state as when it was stopped, I have even tried turning them off at the start of the program ...