Search found 502 matches

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: 22394

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: 22394

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: 2259

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: 2259

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...
by MJU
Mon Aug 19, 2019 5:10 pm
Forum: Flowcode V8
Topic: Multiple interupts at a time: good idea or not?
Replies: 8
Views: 4344

Multiple interupts at a time: good idea or not?

Is it a good idea to use multiple interrupts in one project? - I want to use a timer for longer periods (1 minute) and want to accomplish this with a timer interrupt. - I need an interrupt on a UART RX change - I want one on a IO port change - And I think I would need another one. Is it a good idea ...
by MJU
Sat Jul 27, 2019 5:42 pm
Forum: Flowcode V8
Topic: UART "Timeout" parameter question
Replies: 10
Views: 6411

Re: UART "Timeout" parameter question

No shortage on beers here chipfryer :-) I think you are a bit jealous :-) I've never used the CB before, but my first experience look good. I can store the received RX data in a variable, the only thing that is left to solve is that the last byte appears double in the variable. But that won't be a g...
by MJU
Tue Jul 23, 2019 11:12 pm
Forum: Flowcode V8
Topic: UART "Timeout" parameter question
Replies: 10
Views: 6411

Re: UART "Timeout" parameter question

Thanks Leigh, The time between bytes seem a bit long indeed. The bits are about 0.103ms, so this seems right for 9600baud, but the time between bytes are about 0.152ms, what seem a bit too long. So trigger the RX with an interrupt seems the right thing to be a good path to follow. The "0" "3" "4" ar...
by MJU
Mon Jul 22, 2019 4:41 pm
Forum: Flowcode V8
Topic: UART "Timeout" parameter question
Replies: 10
Views: 6411

A strange thing I've noticed earlier. If I receive 20bytes (9600 8N1), I suppose this would take 1.04ms/byte, so 20.8ms for these 20bytes. But the module that is connected uses 22.8ms for these 20 bytes. I calculated it and this is about 8700baud. Sometimes the Nano receives these bytes well, but ma...
by MJU
Thu Jul 18, 2019 3:42 pm
Forum: Flowcode V8
Topic: UART "Timeout" parameter question
Replies: 10
Views: 6411

Re: UART "Timeout" parameter question

LeighM wrote:Could you post the program?
This would help a lot :D
I will PM this because it's quite a mess right now..
Thanks in advance..
by MJU
Thu Jul 18, 2019 3:39 pm
Forum: Flowcode V8
Topic: Any Thingspeak examples (with ESP8266) around?
Replies: 5
Views: 3141

Re: Any Thingspeak examples (with ESP8266) around?

Any word on this one? :-)
by MJU
Thu Jul 18, 2019 3:28 pm
Forum: Flowcode V8
Topic: UART "Timeout" parameter question
Replies: 10
Views: 6411

Re: UART "Timeout" parameter question

Hi, Yes, it is effectively 1 and 3 The timeout is the longest gap that the component will wait before it exits the function. The gap can be before the received characters, within the string of characters, or at the end (if the requested string length has still not been fulfilled) The usual problem ...
by MJU
Wed Jul 17, 2019 5:46 pm
Forum: Flowcode V8
Topic: UART "Timeout" parameter question
Replies: 10
Views: 6411

UART "Timeout" parameter question

I don't understand how the timeout parameter in the UART receive string works. The way I see it, the parameter just waits until the UART has a HIGH to LOW on the RX pin, and after that waits until the number of bytes in the #bytes parameter is fetched. I think that when it starts receive bytes it st...
by MJU
Wed Jul 10, 2019 11:29 pm
Forum: Flowcode V8
Topic: Arduino Nano, interrupt and UART questions
Replies: 16
Views: 9205

Re: Arduino Nano, interrupt and UART questions

The Receive interrupt is 'odd' and I don't think it will work as you expect. You are using ReceiveString - use ReceiveChar (with a byte variable) Don't use SendString in the interrupt handler. (Receive the string and then reply - this happens in main - if each character needs echoing then do it out...
by MJU
Wed Jul 10, 2019 5:15 pm
Forum: Feature Requests
Topic: Improve/Update Matrix Wiki
Replies: 2
Views: 2883

Improve/Update Matrix Wiki

Hey guys, I didn't know where to post this so I put it here. Can someone please explain the easiest way to find details for the char$ function? I'll explain why. I've been searching the Wiki for more then 15 minutes now but can't find the information for how to use this command. I've started in the ...
by MJU
Wed Jul 10, 2019 12:26 am
Forum: Flowcode V8
Topic: Arduino Nano, interrupt and UART questions
Replies: 16
Views: 9205

Re: Arduino Nano, interrupt and UART questions

Thanks all, but it seems to boil down to a very simple thing.. With all the testing, especially with your tips of using RXint, it seems that the main problem is putting all the single received strings into one larger. The following chart I tested and it may seem a little strange, but this gives me a...
by MJU
Tue Jul 09, 2019 10:06 pm
Forum: Flowcode V8
Topic: Arduino Nano, interrupt and UART questions
Replies: 16
Views: 9205

Re: Arduino Nano, interrupt and UART questions

- coincidentally I was trying at the weekend to get a Wemos Mega/ESP8266 to talk to it's ESP chip (via UART4) - I failed having screwed up the ESP8266 programming :-( Can now run microPython on the ESP8266 but can't reprogram it to AT command set. Also failed to get it to talk to the Arduino side o...
by MJU
Tue Jul 09, 2019 5:39 pm
Forum: Flowcode V8
Topic: Arduino Nano, interrupt and UART questions
Replies: 16
Views: 9205

Re: Arduino Nano, interrupt and UART questions

Just had a quick look and a few thoughts... 1) What are you trying to send the string to? (Another Arduino etc) I have made RF (LORA) Flowcode example that sends data from one node to another. My goal is to put the receiver in different spots to receive and resend data it receives. At the sender si...
by MJU
Tue Jul 09, 2019 5:49 am
Forum: Flowcode V8
Topic: Arduino Nano, interrupt and UART questions
Replies: 16
Views: 9205

Re: Arduino Nano, interrupt and UART questions

I used a Nano for my example program. It received from Bluetooth or Usb aok. Can you post your code, or part thereof Martin Thanks Martin, I've searched for a version that I thought worked, but didn't. This one sends a text (sendtext) and listens in the macro "receive" if it comes back. This needs ...
by MJU
Mon Jul 08, 2019 5:49 pm
Forum: Flowcode V8
Topic: Arduino Nano, interrupt and UART questions
Replies: 16
Views: 9205

Re: Arduino Nano, interrupt and UART questions

Hey there, I've been trying everything I can think of to get the thing working as I want it to work. I've copied the circular buffer example from mnf in https://www.matrixtsl.com/mmforums/viewtopic.php?f=76&t=20668#p91988 but this doesn't work for me. I don't get it. My guess is that there must be s...
by MJU
Mon Jul 08, 2019 3:34 pm
Forum: Flowcode V8
Topic: Any Thingspeak examples (with ESP8266) around?
Replies: 5
Views: 3141

Re: Any Thingspeak examples (with ESP8266) around?

Would be great BenJ.
I wish you all @Matrix a pleasant vacation!
by MJU
Fri Jul 05, 2019 5:56 pm
Forum: Flowcode V8
Topic: Any Thingspeak examples (with ESP8266) around?
Replies: 5
Views: 3141

Any Thingspeak examples (with ESP8266) around?

Does someone have an example for using Thingspeak with an ESP8266 and Flowcode? I found some posts about this topic here: https://www.matrixtsl.com/mmforums/viewtopic.php?f=63&t=18721&p=81096&hilit=ifttt#p81094 but is there an example available? Does anyone has this thing working? Maybe a component?...
by MJU
Thu Jul 04, 2019 5:45 pm
Forum: Flowcode V8
Topic: Arduino Nano, interrupt and UART questions
Replies: 16
Views: 9205

Re: Arduino Nano, interrupt and UART questions

Ok thank you guys..!
by MJU
Wed Jul 03, 2019 5:09 pm
Forum: Flowcode V8
Topic: Arduino Nano, interrupt and UART questions
Replies: 16
Views: 9205

Arduino Nano, interrupt and UART questions

Hello, I'm working on a project that uses a (Chinese), Arduino Nano. This sends a serial datastream via a UART component, and expects a reply somewhat later. I want to make sure that every time there's is data coming back, the UART catches it and stores it into a variable. I got a nice reply from be...
by MJU
Tue Jul 02, 2019 10:56 pm
Forum: Flowcode V8
Topic: E32 LORA tranceiver module: quick start guide
Replies: 3
Views: 8012

E32 LORA tranceiver module: quick start guide

I have promised to share my experience with the E32 LORA tranceiver modules from the Chinese manufacturer EBYTE. I've wrote a bit of text to help other people to play with these modules and I hope that someone makes a Flowcode component for these modules in the future. A lot of thanks goes to chipfr...