Search found 2069 matches

by medelec35
Fri Jan 09, 2026 10:20 pm
Forum: General
Topic: Reading a 12.62 Volt battery with a voltage divider on an UNO
Replies: 9
Views: 193

Re: Reading a 12.62 Volt battery with a voltage divider on an UNO

Hi Bill. Within Components ribbon, make sure Show Components on the far left is set for 2D & 3D. Then click on the magnifier next to Show Components and enter map. The Map Function can also be found within Components > Math > Calculation. I don't ever want to forget Halle Berry in a catsuit Oooh...
by medelec35
Fri Jan 09, 2026 7:39 pm
Forum: General
Topic: PIC18F15Q41
Replies: 34
Views: 18892

Re: PIC18F15Q41

Hi Dirk.
I don't work for Matrix anymore.
it will be Ben or Steve dealing with with any issues.
Also VC members including myself will help out when we can in our own spare time.
by medelec35
Fri Jan 09, 2026 7:34 pm
Forum: General
Topic: Reading a 12.62 Volt battery with a voltage divider on an UNO
Replies: 9
Views: 193

Re: Reading a 12.62 Volt battery with a voltage divider on an UNO

Hi The map component is very easy to use and I think medel35 first created it years ago before it became a component. Regards Wow chipfryer27 , you have a good memory as that was a long time ago. Yes, I created the map component based on the Arduino version so people moving from Arduino IDE to Flow...
by medelec35
Mon Jan 05, 2026 6:49 pm
Forum: General
Topic: 2.4",2.8",3.5" TFT LCD Question
Replies: 1
Views: 420

Re: 2.4",2.8",3.5" TFT LCD Question

Hi.
There are no photos attached and your question is very vague.
We will need much more info than you are currently supplying
by medelec35
Mon Jan 05, 2026 4:14 pm
Forum: General
Topic: PWM ADVICE PLEASE
Replies: 11
Views: 362

Re: PWM ADVICE PLEASE

That's great, I'm glad you have now got it all sussed out. but now realise the period is critical when choosing duty Yes, that it why I showed the period as part of the duty calculations. If the period is change then the Duty value must be updated to give the same %. Thanks for the help and giving m...
by medelec35
Sun Jan 04, 2026 8:24 pm
Forum: General
Topic: PWM ADVICE PLEASE
Replies: 11
Views: 362

Re: PWM ADVICE PLEASE

512 is wrong, which is your main issue. I'm assuming you just thought because you are using 10bit PWM then 50% of 1023 You only need to pay attention to Period Overflow as explained in my previous post. If you look at the image below: 10bit PWM.png You can see the Period Overflow is 124. In the calc...
by medelec35
Sun Jan 04, 2026 5:58 pm
Forum: General
Topic: PWM ADVICE PLEASE
Replies: 11
Views: 362

Re: PWM ADVICE PLEASE

If you are correctly getting 1second then internal osc and clock settings match. Does the simulation match the hardware? With PWM the Period Overflow value represents 100%. For 8bit, 100% PWM Duty = Period Overflow. For 10bit, 100% PWM Duty = Period Overflow * 4 124 * 4 = 496. 50% = 496 * 50 / 100 =...
by medelec35
Sat Jan 03, 2026 9:23 pm
Forum: General
Topic: PWM ADVICE PLEASE
Replies: 11
Views: 362

Re: PWM ADVICE PLEASE

i set the chip at 10Mhz from the config page so im guessing it doesnt slways mean a chip can run at that frequency ?. That is correct. You have two options. 1. use the internal osccon component. On the components ribbon use the magnifying glass and search for intosc Or use the values within the ima...
by medelec35
Sat Jan 03, 2026 4:46 pm
Forum: General
Topic: PWM ADVICE PLEASE
Replies: 11
Views: 362

Re: PWM ADVICE PLEASE

Hi Bob The first thing you do is make sure your hardware is setup to rub at the correct clock speed. Always flash a LED for 1 sec or use a logic analyser or scope Within projet options you have set the clock at a frequency which does not exist - 10MHz. The would cause issues with your PWM. The only ...
by medelec35
Wed Dec 31, 2025 4:03 pm
Forum: General
Topic: PIC18F15Q41
Replies: 34
Views: 18892

Re: PIC18F15Q41

Hi Dirk.
it looks like you have not attached requested .fcfx project file.
If what you posted is not the full msg.txt file then you will need to attach that as well.