Search found 448 matches

by MJU
Mon Apr 06, 2020 11:54 pm
Forum: Flowcode V8
Topic: Circular buffer question (waitforvalue)
Replies: 9
Views: 130

Re: Circular buffer question (waitforvalue)

I've made a flowchart with FC8 that uses the circular buffer which is filled with data from the UART with an interrupt, and this doesn't work. I've made a similar flowchart in FC7 with almost the same functionality, and now the "waitforvalue" works fine. Frustrating because I would think t...
by MJU
Mon Apr 06, 2020 5:24 pm
Forum: Flowcode V8
Topic: Data Injector issue
Replies: 9
Views: 69

Re: Data Injector issue

If the interrupt on RX is not working in hardware this maybe the reason that some of my projects don't work. I use this interrupt and sometimes it works and sometimes it doesn't work. Can someone please confirm that the UART RXINT0 function in Flowcode works?? Certainly in Arduino Nano which I'm usi...
by MJU
Sun Apr 05, 2020 5:17 pm
Forum: Flowcode V8
Topic: Circular buffer question (waitforvalue)
Replies: 9
Views: 130

Re: Circular buffer question (waitforvalue)

Hi MJU Could you post your chart please (or perhaps PM it)? Guessing your better placed for the shutdown with all those beers to keep you company :) Regards An Roman emperor (?) said: "Give the people what they want: Sun, beer and Flowcode" and this is just what we need in these Covid19 t...
by MJU
Sun Apr 05, 2020 5:50 am
Forum: Flowcode V8
Topic: Circular buffer question (waitforvalue)
Replies: 9
Views: 130

Re: Circular buffer question (waitforvalue)

Hello, My first guess would be the UART baud rate or something similar is off. Have you confirmed the micro is running at the speed you think it is using the 1 second flasher test. Another thing is to check the UART receive interrupt is enabled AFTER the UART is initialised. Lastly The waitforvalue...
by MJU
Fri Apr 03, 2020 5:50 pm
Forum: Flowcode V8
Topic: Circular buffer question (waitforvalue)
Replies: 9
Views: 130

Circular buffer question (waitforvalue)

I've made a flowchart with a an interrupt where I "receive a character" on the UART RX-pin (timeout = 0) and put this byte in a circular buffer. This interrupt is enabled throughout the whole flowchart Somewhere I need to check if a certain value "Ack" is received. I try to do th...
by MJU
Tue Mar 31, 2020 12:00 am
Forum: Feature Requests
Topic: Group all files except *.fcfx in directory
Replies: 4
Views: 81

Group all files except *.fcfx in directory

Maybe a strange feature, but would it be possible to add all other files that Flowcode generates in a single file? In the directory where the FCFX file is stored, the other files are visible too. For every project there are *.cof *.elf *.hex ... and so on files generated. Wouldn't it be fine if all ...
by MJU
Sun Mar 29, 2020 11:51 pm
Forum: Flowcode V8
Topic: Use return from macro
Replies: 3
Views: 97

Re: Use return from macro

The macro call will be the value. So if Macro_1() then In a decision you just enter 'Macro_1()' for the 'if:'. If your macro requires arguments (say 2) you enter 'Macro_1(1,"second")' or 'Macro_1(.var1, .var2)' if you want to pass the values of local var1 and var2. Thanks for your advice!...
by MJU
Sun Mar 29, 2020 5:53 pm
Forum: Flowcode V8
Topic: Use return from macro
Replies: 3
Views: 97

Use return from macro

I've got a macro (lest say: Macro_1), and I've made a local variable .Return In the macro, I set .Return to 0 if something didn't work, and to 1 when it ran successfully. From what I've read the .Return should now be used globally to check if the macro ran successfully? How can I check in another ma...
by MJU
Sun Mar 29, 2020 3:15 pm
Forum: Feature Requests
Topic: large text in flowchart window
Replies: 0
Views: 36

large text in flowchart window

Req: change font type for comments in a flowchart or add text anywhere in a flowchart.. It would be great if we could add a large piece of text somewhere in a flowchart. Now there is the possibility to add comments or a description in a macro, but these aren't very readable. It would be great if we ...
by MJU
Mon Mar 23, 2020 12:55 am
Forum: Flowcode V8
Topic: REQ help: circular buffer
Replies: 5
Views: 232

Re: REQ help: circular buffer

Hi MJU I'm guessing this is a follow up on the module you were using last summer? I knocked up a circuit using those modules and could pass data between without much issue, searching the CB for my target data. Making my way back home now (rather troublesome in current climate) so if you are still n...
by MJU
Fri Mar 20, 2020 6:04 pm
Forum: Flowcode V8
Topic: REQ help: circular buffer
Replies: 5
Views: 232

Re: REQ help: circular buffer

Benj wrote:Hello,

How about something like this as a starting point.

CB_Demo.fcfx


This looks great!
I'm going to study it and implement it in my project!

Thanks BenJ
by MJU
Thu Mar 19, 2020 6:28 pm
Forum: Flowcode V8
Topic: REQ help: circular buffer
Replies: 5
Views: 232

REQ help: circular buffer

Hey there, I've started a project I was working on last summer again. But my old brain sometimes jumps from here to there. I don't know what I was doing at that time :-( The project I was working on did almost what I wanted, but then failed and because of other priorities I left it alone all this ti...
by MJU
Mon Mar 02, 2020 6:24 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 3
Views: 432

Re: ESP8266 as target chip

We hope to be supporting the ESP32 device as a target in the near future. This has a core dedicated for handling the WIFI/Bluetooth software stacks and a separate core for running your program. We have recently revisited this and made big steps forward. The ESP8266 for us is currently better suited...
by MJU
Thu Feb 13, 2020 11:59 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 3
Views: 432

Re: ESP8266 as target chip

Great idea, but I don't think the developers think the same. :)
by MJU
Wed Feb 12, 2020 6:21 pm
Forum: Flowcode V8
Topic: The Things network (TTN) anyone?
Replies: 9
Views: 437

Re: The Things network (TTN) anyone?

Currently there are issues with the software stack of that gateway. The Dragino LPS8 would be a better choice and also allows connecting a better antenna. (It does not include a USB power supply, that needs to be added) Can you give me an idea of the range for this kind of gateway? I want to put it...
by MJU
Wed Feb 12, 2020 12:49 am
Forum: Flowcode V8
Topic: The Things network (TTN) anyone?
Replies: 9
Views: 437

Re: The Things network (TTN) anyone?

I found this one: https://www.benl.ebay.be/itm/LoRaGo-MOTE-RN2483-LoRaWAN-Node-in-Arduino-Nano-Form-Factor/123999985035?hash=item1cdef99d8b:g:m-wAAOSwSq1d6LNn Looks promising? There is a schematic in a link. I'm going to check this out or is there a reason why it doesn't meet the requirements? Would...
by MJU
Wed Feb 12, 2020 12:03 am
Forum: Flowcode V8
Topic: The Things network (TTN) anyone?
Replies: 9
Views: 437

Re: The Things network (TTN) anyone?

Thanks kersing, I will check this module out. Do you know your way in the LORA-world? I saw this cheap LORA gateway: https://www.thethingsnetwork.org/docs/gateways/thethingsindoor/ Is this something that can be of any use to other people than myself if I put it on my attic? I don't know much about H...
by MJU
Tue Feb 11, 2020 6:44 pm
Forum: Flowcode V8
Topic: The Things network (TTN) anyone?
Replies: 9
Views: 437

The Things network (TTN) anyone?

Anyone connected a device to the Things Network? https://www.thethingsnetwork.org/
Anyone did this via Flowcode?

What hardware did you use? What kind of data do you send?
Tell us about it please.
by MJU
Fri Dec 13, 2019 5:02 pm
Forum: Flowcode V8
Topic: Ws2812!
Replies: 20
Views: 1273

Re: Ws2812!

Strange, I was playing with the WS2812B just last week.
I saw that there was an update for the component, and I've updated it.
Since a few days my W2812B ledstrip doesn't work anymore...

Is there a problem with the new component of is my (waterproof) ledstrip gone bad?
by MJU
Tue Oct 15, 2019 11:34 pm
Forum: Flowcode V8
Topic: interrupt activate and deactivate
Replies: 9
Views: 960

Re: interrupt activate and deactivate

Hi MJU, How about starting a timer (or just a count) when the beam is broken. A second count can also be started if the second beam is interrupted (basically time how long the beam is broken for) - the count/timer increments should be in the main loop of your code. (Have two (or more) counters/time...
by MJU
Tue Oct 15, 2019 5:33 pm
Forum: Flowcode V8
Topic: interrupt activate and deactivate
Replies: 9
Views: 960

Re: interrupt activate and deactivate

I don't want to steal this topic but I was wondering about the same thing lately. What I need to do is detect which of two racetracks finishes first. I have two lasers that shine across two racetracks (70cm) and my idea was to have an interrupt detect which of these laserbeams are broken first. This...
by MJU
Wed Oct 09, 2019 5:10 pm
Forum: Flowcode V8
Topic: LEDs and LED Array not simulating correctly 8.2.1.13
Replies: 9
Views: 3187

Re: LEDs and LED Array not simulating correctly 8.2.1.13

Thank you medelec35!
by MJU
Wed Oct 09, 2019 12:35 am
Forum: Flowcode V8
Topic: LEDs and LED Array not simulating correctly 8.2.1.13
Replies: 9
Views: 3187

Re: LEDs and LED Array not simulating correctly 8.2.1.13

Benj wrote:Hello Simon,

Thanks for letting us know, the file should be available again in the specified location now.


Hey thanks, do we replace the existing flowcode.exe with this one?
My FC8 doesn't find the updates automatically. I have version: 8.2.0.12
by MJU
Tue Sep 10, 2019 5:15 pm
Forum: Flowcode V8
Topic: MQTT basics
Replies: 3
Views: 511

Re: MQTT basics

Thank you Leigh;

Is this some text that can get pasted into the wikipage?
by MJU
Mon Sep 09, 2019 5:41 pm
Forum: Flowcode V8
Topic: MQTT basics
Replies: 3
Views: 511

MQTT basics

I've been looking for a way to send data to a database on a server for a while and suddenly all directions point to MQTT. I'd never noticed this component and suddenly it appears the technique I was looking for. But from reading the Wiki page for the MQTT component I don't even know what hardware th...