Search found 14581 matches
- Wed Oct 12, 2022 11:53 am
- Forum: Flowcode V6
- Topic: Arduino nano, multiple DS18B20 problem
- Replies: 16
- Views: 18666
Re: Arduino nano, multiple DS18B20 problem
Hello, We overhauled one wire device communications for Flowcode v9 both simplifying the macros and adding additional components to drive specific devices. Would it be worth having a go with the 30-day free trial to see if this solves your problems. V9 example project available here. https://www.flo...
- Mon Aug 08, 2022 3:44 pm
- Forum: Flowcode V8
- Topic: Autoclose turned off (UsbSerial init error)
- Replies: 5
- Views: 3943
Re: Autoclose turned off (UsbSerial init error)
Hello, The version you are reverting back to is maybe before we added USB support for AVR devices. Hence no compilation error because there is no code being generated? The Arduino Mega does not have a USB peripheral and so the component at best will do nothing and at worst will cause compilation err...
- Tue Aug 02, 2022 9:51 am
- Forum: Flowcode V8
- Topic: Autoclose turned off (UsbSerial init error)
- Replies: 5
- Views: 3943
Re: Autoclose turned off (UsbSerial init error)
Hello,
The Arduino Mega does not have a USB peripheral it instead has a UART to USB external IC. So to access the USB communications you need to use the UART component set to Channel 1.
The Arduino Mega does not have a USB peripheral it instead has a UART to USB external IC. So to access the USB communications you need to use the UART component set to Channel 1.
- Tue Aug 02, 2022 9:39 am
- Forum: Forums d'aide en français
- Topic: Comment restaurer le formula AllCode en configuration d'usine
- Replies: 1
- Views: 13349
Re: Comment restaurer le formula AllCode en configuration d'usine
Bonjour, Accédez simplement au répertoire mLoader. Il y en a un dans le dossier Flowcode/tools/mloader. par exemple. C:\Program Files (x86)\Flowcode v9\data\tools\mLoader Ou si vous avez téléchargé mLoader séparément, accédez à l'endroit où vous l'avez installé. Une fois que vous y êtes, maintenez l...
- Mon Jun 20, 2022 12:25 pm
- Forum: Forums d'aide en français
- Topic: Capteur SGP30 avec Flowcode 4.
- Replies: 2
- Views: 4139
Re: Capteur SGP30 avec Flowcode 4.
Bonjour Olivier, Il semble que l'adresse 0x58 puisse être l'adresse 7 bits et donc pour vos opérations d'écriture, vous devez utiliser (0x58 << 1) = 0xB0 et pour votre opération de lecture au lieu de 0x59, utilisez 0xB1. Votre lecture n'est pas tout à fait correcte. Vous avez actuellement ceci. Hell...
- Wed Jun 15, 2022 3:49 pm
- Forum: Flowcode V8
- Topic: APDS-9960 gesture sensor -regarding.
- Replies: 4
- Views: 3011
Re: APDS-9960 gesture sensor -regarding.
This blog post might help in simplifying I2C communications from Flowcode.
https://www.matrixtsl.com/blog/simplifi ... c-and-spi/
https://www.matrixtsl.com/blog/simplifi ... c-and-spi/
- Wed Jun 15, 2022 10:34 am
- Forum: Bug Reports
- Topic: ECIO40P16 ( 33EP256MU806) compilation errors and latency
- Replies: 16
- Views: 4696
Re: ECIO40P16 ( 33EP256MU806) compilation errors and latency
Hello,
Sorry for the delay, here is the v8 source project for the 4D display if you want to have a look at how it works or maybe suggest a change.
Sorry for the delay, here is the v8 source project for the 4D display if you want to have a look at how it works or maybe suggest a change.
- Fri Apr 08, 2022 10:25 am
- Forum: Formula AllCode
- Topic: ‘RobotArmV2Macros' for appinventor and Labview
- Replies: 1
- Views: 6968
Re: ‘RobotArmV2Macros' for appinventor and Labview
Hello Bruno,
Here is a file to hopefully get you started.
It's based on the API documented here.
Please let us know if you have any problems.
Here is a file to hopefully get you started.
It's based on the API documented here.
Please let us know if you have any problems.
- Mon Mar 07, 2022 3:34 pm
- Forum: Flowcode V8
- Topic: STM32F411 STOP MODE
- Replies: 6
- Views: 3932
Re: STM32F411 STOP MODE
Hello Farren,
We don't have anything regarding a component to drive this in v7 or v9, if you already have C code to do it then yes you can simply pop it into a C icon as part of the program and it should work fine.
We don't have anything regarding a component to drive this in v7 or v9, if you already have C code to do it then yes you can simply pop it into a C icon as part of the program and it should work fine.
- Fri Mar 04, 2022 12:28 pm
- Forum: Flowcode V8
- Topic: DSP_Test
- Replies: 3
- Views: 2373
Re: DSP_Test
Hello, I've just tried your project using FC 8 and it's all compiling correctly for me. It might be worth you going to Help -> Check for updates and changing Files in Use to Full Database to do a full update. Fingers crossed once you've done this your project will compile as expected. Let us know ho...
- Mon Feb 07, 2022 6:22 pm
- Forum: General Programming
- Topic: Formula Allcode using VS C#
- Replies: 1
- Views: 3821
Re: Formula Allcode using VS C#
Hi Adam, The terms incoming and outgoing are misleading and not really applicable. The incoming port I beleive is for talking to the Bluetooth module directly using AT commands, you shouldn't ever need to use it. You should do all AllCode commands via the Outgoing port and this will allow all the Al...
- Wed Jan 26, 2022 11:46 am
- Forum: Flowcode V8
- Topic: Creating digits that fill an entire graphical display
- Replies: 3
- Views: 2389
Re: Creating digits that fill an entire graphical display
Hello Ari, In Flowcode v8 the font sizes are fixed. In Flowcode v9 we have a fully dynamic font scaler and also a range of different fonts so very large text can look very nice. Unfortunatley there was a lot of work done to make this happen behind the scenes and so the v9 components are not compatib...
- Mon Jan 24, 2022 5:14 pm
- Forum: Flowcode V8
- Topic: Creating digits that fill an entire graphical display
- Replies: 3
- Views: 2389
Re: Creating digits that fill an entire graphical display
Hello Ari, The font on the gLCD in v8 is 6 pixels wide and 8 pixels high and so you could do something like this. scaler = display_height / 8 if (scaler * 6 * num_characters) > display_width then scaler = display_width / (num_characters * 6) This way the full height of the display will be used unles...
- Wed Jan 19, 2022 6:03 pm
- Forum: Bug Reports
- Topic: PIC32MX170F256B & 270F256B IOC port B problem
- Replies: 5
- Views: 3414
Re: PIC32MX170F256B & 270F256B IOC port B problem
Hi Paul, That's a very good point, well spotted and thanks for letting us know. I need to investigate further on this one. The other vectos shown are for other interrupts and so won't be working as expected. The appears to be a single vector for all three IOC interrupt types but three individual IRQ...
- Wed Jan 19, 2022 11:20 am
- Forum: Flowcode V8
- Topic: MODBUS Slave Holding Registers
- Replies: 2
- Views: 1922
Re: MODBUS Slave Holding Registers
Hello, The problem is that a number starting with a 0 is interpreted as an octal number in C. Hence the problems with addresses 8 and 9 which are outside the range of an octal digit. Try just using the values 8 and 9 instead of 0008 and 0009, hopefully they will work correctly for you. More info her...
- Mon Jan 17, 2022 1:32 pm
- Forum: Bug Reports
- Topic: PIC32MX170F256B & 270F256B IOC port B problem
- Replies: 5
- Views: 3414
Re: PIC32MX170F256B & 270F256B IOC port B problem
Hi Paul,
Thanks for letting us know, I've hopefully fixed it for you now via the update system.
Thanks for letting us know, I've hopefully fixed it for you now via the update system.
- Wed Jan 12, 2022 4:43 pm
- Forum: Flowcode V8
- Topic: Decision with floating variable
- Replies: 4
- Views: 2493
Re: Decision with floating variable
Hello,
If the variable D is a float then you might want to make your comparison value a float as well.
D <= 10.0
If the variable D is a float then you might want to make your comparison value a float as well.
D <= 10.0
- Wed Jan 05, 2022 12:59 pm
- Forum: General Programming
- Topic: ENC28J60
- Replies: 17
- Views: 16544
Re: ENC28J60
Hello,
We are discussing how to send an email here and also discussing adding a component for v9 though the component might not be compatible with the ENC28J60 module at the moment.
https://www.flowcode.co.uk/forums/viewt ... 4829#p4829
We are discussing how to send an email here and also discussing adding a component for v9 though the component might not be compatible with the ENC28J60 module at the moment.
https://www.flowcode.co.uk/forums/viewt ... 4829#p4829
- Wed Jan 05, 2022 11:08 am
- Forum: Flowcode V8
- Topic: No support to PIC16F52xx
- Replies: 1
- Views: 2039
Re: No support to PIC16F52xx
Hello, Many thanks for the suggestion I will have a look into adding support for these into v9, I'll also have a quick look to see if the new additions will work ok with v8 but it might end up being a v9 only thing. Having a quick look it appears the v8 and v9 PIC compiler does not support the PIC16...
- Mon Dec 20, 2021 11:37 am
- Forum: General Programming
- Topic: Use of T1 timer component
- Replies: 4
- Views: 4893
Re: Use of T1 timer component
Hi Jan, The simulation runs as fast as it can run, it doesn't try to simulate the chip's clock speed. The decimal points property simply specifies the number of decimal points shown on the timer component when simulating. The timer component in your project was tiny so I saved a copy above where I s...
- Mon Dec 20, 2021 11:11 am
- Forum: General Programming
- Topic: Use of T1 timer component
- Replies: 4
- Views: 4893
Re: Use of T1 timer component
Hello, A PIC device runs at 1/4 of the clock speed so at 8MHz the instruction rate is 2MHz. The timer component sets up the timer to run at the max frequency 1:1 and so will at this rate generate an interrupt 30.5175 times a second (2MHz / 65536). Or every 0.032768 seconds. The component uses these ...
- Fri Dec 17, 2021 11:21 am
- Forum: Flowcode V6
- Topic: Compile error missing XC.h & math.h Flowcode 6
- Replies: 1
- Views: 2686
Re: Compile error missing XC.h & math.h Flowcode 6
Hello, Have you done anything with your compiler settings? Or have you done anything with the compiler on your file system? Flowcode 6 for PIC uses the BoostC compiler, have you done anything specific with this. If all else fails it might be worth uninstalling and reinstalling Flowcode or reparing t...
- Tue Dec 14, 2021 4:07 pm
- Forum: Formula AllCode
- Topic: IR sensor exponential response
- Replies: 16
- Views: 13673
Re: IR sensor exponential response
Hello Bruno,
Many thanks for letting us know. It must have been missed in the v8 and v9 updates. I've now added it back into the v9 component for you. You can get the latest version of the component by clicking Help -> Library Updates.
Many thanks for letting us know. It must have been missed in the v8 and v9 updates. I've now added it back into the v9 component for you. You can get the latest version of the component by clicking Help -> Library Updates.
- Tue Dec 14, 2021 4:07 pm
- Forum: Formula AllCode
- Topic: terminal to API Allcode to Hardware Allcode simulation
- Replies: 3
- Views: 3857
Re: terminal to API Allcode to Hardware Allcode simulation
Hi Bruno, If you use the USB Serial or COM port components then it should be possible to send commands to the FA hardware, there's no need for the API component as this simply does the same thing. Or we can add a function to the API component if you just want access to read/write the com port direct...
- Mon Dec 13, 2021 1:22 pm
- Forum: General Programming
- Topic: Array Entry
- Replies: 2
- Views: 4019
Re: Array Entry
Hello Dana,
I beleive you need to have a few posts before you can attach files. Just a security precaution.
I beleive we added array initialisation in v9 but in v8 you have to do it the long way using a calculation icon in your program.
BCDto7Seg[0] = 0x06
BCDto7Seg[1] = 0x5b
...
etc
I beleive you need to have a few posts before you can attach files. Just a security precaution.
I beleive we added array initialisation in v9 but in v8 you have to do it the long way using a calculation icon in your program.
BCDto7Seg[0] = 0x06
BCDto7Seg[1] = 0x5b
...
etc