Search found 1708 matches

by BenR
Fri Jan 07, 2022 2:00 pm
Forum: General
Topic: PIC24FJ512GA606 download error!
Replies: 37
Views: 12908

Re: PIC24FJ512GA606 download error!

Ok do you know which specific ports are not working for you and are you trying to input or output?
by BenR
Fri Jan 07, 2022 12:54 pm
Forum: General
Topic: variables flowcode9
Replies: 5
Views: 2281

Re: variables flowcode9

Hello, Ive created a new component that should simplfy this for you. To get the new component simply go to the Help -> Library updates and then change files in use to full database. Here is an example using the new component. ConsoleDemo.fcfx Then simple type your data to transmit into the User Data...
by BenR
Fri Jan 07, 2022 11:17 am
Forum: General
Topic: Value of Local Variable at start of Macro.
Replies: 6
Views: 2247

Re: Value of Local Variable at start of Macro.

A rule of thumb with variables is always write before you read :D

I think the very strict ESP32 compiler will generate an error if it thinks you are trying to do a read before a write.
by BenR
Fri Jan 07, 2022 11:11 am
Forum: Projects - Embedded
Topic: Optimal frequency to capture a 50Hz peak signal
Replies: 15
Views: 5968

Re: Optimal frequency to capture a 50Hz peak signal

Hello, Yes there will be a limit, it all boils down to how long you spend inside each interrupt and the frequency of your microcontroller. Ideally you want to be in and out as quickly as possible and also clocking the micro as fast as possible. Theoretically a sample rate of at least 12X the max fre...
by BenR
Fri Jan 07, 2022 10:31 am
Forum: General
Topic: MQTT with Thingspeak
Replies: 11
Views: 4216

Re: MQTT with Thingspeak

Hello,

Please can you try this URL instead. It still works in the browser and should also work in Flowcode.

Code: Select all

http://api.thingspeak.com/update?api_key=CUSFQINNUhgefeUZ&field1=17
by BenR
Fri Jan 07, 2022 10:28 am
Forum: General
Topic: HX711 Do not work
Replies: 5
Views: 2464

Re: HX711 Do not work

Hello, We use the HX711 device on a lot of our in house hardware so I'm very surprised you're having problems. I've have a look at your program and it looks ok so I think I agree with Martins view to try on some real hardware. It could be the proteus sim is somehow flawed or incompatible. As a test ...
by BenR
Fri Jan 07, 2022 10:23 am
Forum: Bug Reports
Topic: SPI Slave Compiler gives an error
Replies: 8
Views: 3135

Re: SPI Slave Compiler gives an error

Hello again,

Right it's compiling correctly now and I've pushed the update to the library update system.

Let us know how you get on.
by BenR
Fri Jan 07, 2022 9:50 am
Forum: Bug Reports
Topic: SPI Slave Compiler gives an error
Replies: 8
Views: 3135

Re: SPI Slave Compiler gives an error

Hello and Happy new year :D

It looks like SPI slave functionality is not currently impemented on the AVR target devices.

I'll have a look for you now and see if I can add it in for you.
by BenR
Wed Jan 05, 2022 4:56 pm
Forum: General
Topic: ESP32 WROOM bluetooth programming
Replies: 17
Views: 5774

Re: ESP32 WROOM bluetooth programming

Hello, Yes you can modify the esp32s_sdkconfig config file for this one. The last part of this line in the compiler output shows you the config file being loaded. Launching the compiler... C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat "D:\Dev\FlowcodeV9\Compilers\esp-idf\\" "test...
by BenR
Wed Jan 05, 2022 4:50 pm
Forum: General
Topic: Modify XC8 Compiler/Linker inside FC for Bootloader
Replies: 5
Views: 2389

Re: Modify XC8 Compiler/Linker inside FC for Bootloader

Hello,

Yes I beleive that would work, that and remove the --CODEOFFSET section.