Search found 2059 matches

by medelec35
Thu Dec 18, 2025 8:54 pm
Forum: General
Topic: Flowcode v11. ATMEGA328 3xchannel PWM not compiling
Replies: 4
Views: 115

Re: Flowcode v11. ATMEGA328 3xchannel PWM not compiling

From Ben's post, Please pay attention to this: It looks like the specific error being generated it due to the 7 segment quad component pin connections, something there is referring to PortA which doesn't exist on the device you're using. Select the 7seg Quad component on the 2D Legacy panel then rig...
by medelec35
Mon Dec 15, 2025 10:15 pm
Forum: General
Topic: Display manager!
Replies: 5
Views: 225

Re: Display manager!

Hi Jorgen. With the display: You will need to set the Orientation within display properties to either 1 or 3. That will set display simulation orientation. For hardware orientation, you will need to drag display SetDisplayOrientation function to match the properties value either 1 or 3 As for the XP...
by medelec35
Sun Dec 14, 2025 3:53 pm
Forum: General
Topic: buzzer tone
Replies: 5
Views: 177

Re: buzzer tone

Hi Bob. No , should not require duty or period as it should be all set automatically by the SetFequency function. Before going any further, have you tried the one second flasher to make sure micro is running at the correct speed? If you have then I will check the SetFrequency on a different target d...
by medelec35
Sun Dec 14, 2025 2:08 pm
Forum: General
Topic: buzzer tone
Replies: 5
Views: 177

Re: buzzer tone

Hi Bob. The C code that was being used is only for AVR(as you correctly stated) as it's much more precise that current AVR PWM. You will need to use the SetFrequency function of Flowcode's PWM component. I have attached an untested example. Note the SetFequency function should automatically set the ...
by medelec35
Sat Dec 13, 2025 9:29 am
Forum: Projects - Embedded
Topic: Flowcode11 failed to intialise WiFi
Replies: 4
Views: 184

Re: Flowcode11 failed to intialise WiFi

Hi John. When Ben asks for program, he will be referring to project name.fcfx file. What would also help is .msg.txt and .fcxlog.txt files. The reason could be not set properties correctly, some other component interfering, component not up to-date etc. You can add the files by selecting Full Editor...
by medelec35
Sat Dec 13, 2025 9:20 am
Forum: General
Topic: Timer or interupt?
Replies: 19
Views: 1327

Re: Timer or interupt?

Medelec35 suggested the Timer Interval component and I have attached an example of how it could be used to toggle an LED attached to pin C0 of a PIC16F18877. Thank you for the example. You can have the simulation speed set to either of the fast options and set the Timer interval simulation delay sp...
by medelec35
Wed Dec 10, 2025 3:57 pm
Forum: General
Topic: UART Baud and Bit rate Measurement With a scope.
Replies: 3
Views: 185

Re: UART Baud and Bit rate Measurement With a scope.

Hi J.
This is what I have stated in the past.
medelec35 wrote:
Fri Feb 24, 2023 8:28 am
If you have a scope or a logic analyser Just send an upper-case U and measure either one bit mark or space duration, then baud rate = 1/mark or space duration.
by medelec35
Tue Dec 09, 2025 11:23 am
Forum: User Components
Topic: Component LCD_ST7789V and PIC18F26k22
Replies: 9
Views: 470

Re: Component LCD_ST7789V and PIC18F26k22

Hello.
That is suggesting that within properties you have not assigned any pina to the LCD DC connection.
If you have assigned all the pins and still got an error then can you upload the fcfx, and msg.txt files.
by medelec35
Mon Dec 08, 2025 10:14 pm
Forum: Tips & Tricks
Topic: Flowcode YouTube Videos Links
Replies: 7
Views: 776

Re: Flowcode YouTube Videos Links

Hi Jorgen. Try this. Start a new project. Select: Open an example or template > Embedded > Introduction to microcontrollers > ESP32S3 > Advanced Touch displays - ESP32S3 > Finish That will be an example that do what you have requested. You will need to change the display to your one. You wont be abl...
by medelec35
Mon Dec 08, 2025 4:10 am
Forum: General
Topic: ADC suggestion
Replies: 1
Views: 190

Re: ADC suggestion

Hello.
You can use the Map Function component (Component Libraries > Math > Calculation)
That will save you having a float variable and to then then multiply voltage by 72.0.