Search found 2090 matches

by medelec35
Sat Feb 21, 2026 11:51 pm
Forum: General
Topic: UART ports
Replies: 6
Views: 203

Re: UART ports

Hi Iain
I agree, the parametric search tool is not great for UARTS.
Just as reminder for Flowcode targets which allow filtering there is my spreadsheet found here.
by medelec35
Sat Feb 21, 2026 5:43 pm
Forum: General
Topic: UART ports
Replies: 6
Views: 203

Re: UART ports

Hello. If you select Embedded > Target Selector, that will display all the target devices Flowcode supports. You can then Select PIC 8bit, then change the Show 25 devices to 100. Finally click the Arrow to the right of UART, so it shows pointing down. You will then see the total supported UARTS: Tot...
by medelec35
Fri Feb 20, 2026 12:25 pm
Forum: Bug Reports
Topic: PIC16F1788/9 ADC Resolution
Replies: 6
Views: 311

Re: PIC16F1788/9 ADC Resolution

Hello. No you can't change within properties from 12 to 10bits and vice versa. What you can do is read as 12 bit and convert to 10bit using calculation or using the Map component Component Libraries > Math If reading is a bit unstable, you can even use software filters that are also available within...
by medelec35
Tue Feb 10, 2026 3:45 pm
Forum: General
Topic: 16f18877 internal Zero Cross Detector
Replies: 24
Views: 2465

Re: 16f18877 internal Zero Cross Detector

What I did to detect ZCD on a microcontroller that did not have ZCD was to use a resistor to prevent too much or reverse current on a pin. detect for 0v (positive half cycle), then timed 10 ms for the zero crossing after the negative half cycle. That made the AC motor i controlled via MOSFET and a b...
by medelec35
Mon Feb 09, 2026 5:13 pm
Forum: General
Topic: BME280
Replies: 6
Views: 812

Re: BME280

BME280 Working on embedded hardware as expected. Temp = 22.780000, Humid = 47.277343, Pressure = 987.909973 Temp = 22.780000, Humid = 47.289062, Pressure = 987.929992 Temp = 22.790000, Humid = 47.299804, Pressure = 987.900024 Temp = 22.770000, Humid = 47.280273, Pressure = 987.890014 Temp = 22.78000...
by medelec35
Mon Feb 09, 2026 11:13 am
Forum: General
Topic: BME280
Replies: 6
Views: 812

Re: BME280

Hello. My Advice would be not to test with a third party simulation before posting on the forums. It's always wise to test on embedded hardware first. I have a 18F14K22 I can test BME280 on. Last time I tested BME280 on ESP32 it worked as expected. I will carry out some tests and let you know how i ...
by medelec35
Wed Jan 28, 2026 12:55 am
Forum: General
Topic: Implementing a non blocking delay
Replies: 74
Views: 12593

Re: Implementing a non blocking delay

Hi Thank you for you breakdown: So here’s what I’m trying to do: I have a camera which will grade objects. The camera is giving signal to a PLC which has mechanical relay outputs. I have to reject 3 grades. My program will control 3 push pull solenoids of 12V. They are connected to 3 ports on B. It ...
by medelec35
Tue Jan 27, 2026 10:50 am
Forum: General
Topic: Implementing a non blocking delay
Replies: 74
Views: 12593

Re: Implementing a non blocking delay

:lol:
mvictor
There are a lot of posts to catch up on.
Rather than doing that if there can be a full breakdown of what you want the hardware to then I will take a look into it.
by medelec35
Mon Jan 26, 2026 12:55 pm
Forum: General
Topic: Implementing a non blocking delay
Replies: 74
Views: 12593

Re: Implementing a non blocking delay

Chipfryer21 is doing a great job in helping, I do not want to step on his toes. My sole intention is getting the equivalent to timer interrupt simulation working the same as on embedded hardware for anyone that requires that option. If Chipfryer27 requires additional help then I will see what I can ...
by medelec35
Mon Jan 26, 2026 10:57 am
Forum: General
Topic: Implementing a non blocking delay
Replies: 74
Views: 12593

Re: Implementing a non blocking delay

Hi. For my two pence worth. Timer interrupts can be precise in simulation as well as on hardware All you do is use the timed interval component instated of the timer interrupt command icon. Then you set both simulation and embedded time within the the properties. Timer Interval component 1.png There...