Search found 474 matches

by MJU
Mon Oct 19, 2020 11:33 pm
Forum: Flowcode V8
Topic: Find first 0-bit in an array
Replies: 1
Views: 54

Find first 0-bit in an array

I have a variable array, let's say data[20]. These are filled with data. In this array I need to find the first 0 byte. So if the array looks like data[1] = 11111111 data[2] = 11111111 data[3] = 110101 0 1 data[4] = 11010101 data[5] = 11110111 ..... This has to return the 2nd bit of the 3th byte. Th...
by MJU
Fri Oct 16, 2020 5:11 pm
Forum: User Components
Topic: R503 Fingerprint Sensor
Replies: 1
Views: 107

Re: R503 Fingerprint Sensor

Looks impressive :-)
Great work!
by MJU
Mon Sep 21, 2020 5:12 pm
Forum: Feature Requests
Topic: Timeline for changes
Replies: 1
Views: 87

Timeline for changes

In some 3D design software there is a timeline that you can use to return to a previous state of the project. All changes are recorded on this timeline. This would be a nice feature in a program as Flowcode too. After a few hours fiddling, and when you find out that the changes don't work, it would ...
by MJU
Sat Sep 19, 2020 12:09 am
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 10
Views: 1654

Re: ESP8266 as target chip

Hello, Thanks for the comments, there are some great ESP32 boards available now. I can confirm ESP32 is coming very soon (likely the next few months). Few months... july 8th... :-) Almost now then? :-) Can you already lift the tip of the veil a bit? What functions we can expect? What is going to be...
by MJU
Fri Sep 11, 2020 11:10 pm
Forum: Flowcode V8
Topic: Catch incoming data without interrupt
Replies: 5
Views: 262

Re: Catch incoming data without interrupt

Another idea - use the CAL_UART component - there are Receive Array / String macros with a timeout. Just used with dfplayer and seem to work well... Thanks MNF.. I've tried (almost) all your suggestions, these and the suggestion from BenJ : https://www.matrixtsl.com/mmforums/viewtopic.php?p=102744#...
by MJU
Thu Sep 10, 2020 12:30 am
Forum: Flowcode V8
Topic: Catch incoming data without interrupt
Replies: 5
Views: 262

Re: Catch incoming data without interrupt

It's possible but not easy. You could busy wait watching the rx pin for a change of state and then receive - we managed this for the j1850 bus (effectively receiving data at 9600,baud) but timing was tight.. Use an Arduino mega. It has multiple tx/rx and this makes life much easier for debugging pr...
by MJU
Wed Sep 09, 2020 12:18 am
Forum: Flowcode V8
Topic: Catch incoming data without interrupt
Replies: 5
Views: 262

Catch incoming data without interrupt

Hello, This question has been asked many times I guess, but in a project I use the software UART (because the hardware UART is used by a USB/RS232 connection). This means that the Arduino can't use the interrupt for data appearing on the digital inputs that are used for the software UART. Enough sai...
by MJU
Tue Sep 08, 2020 11:43 pm
Forum: Feature Requests
Topic: Addition to circular buffer macro: search and return
Replies: 2
Views: 136

Re: Addition to circular buffer macro: search and return

Hello, Would this do a similar thing for you. The first icon removes content from the buffer until it finds the text "ABC" Then we skip over the bytes were not interested in "987" and return the byte we want. CB_Demo.jpg Then this would be left in the buffer "543210%%%%%%" Otherwise what your sugge...
by MJU
Sun Sep 06, 2020 11:38 pm
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 329

Re: Semiduplex asynchronism serial 10bit

kersing wrote:
Sat Sep 05, 2020 6:06 pm
Are you using the SendChar macro? This should send the 00. If you use SendString the 00 will be considered a string terminator and not transmitted.
Thanks Kersing, I found this to be true.
Would a variable terminator string wouldn't be an addition to this component?
by MJU
Sun Sep 06, 2020 11:35 pm
Forum: Feature Requests
Topic: Addition to circular buffer macro: search and return
Replies: 2
Views: 136

Addition to circular buffer macro: search and return

Me and the circular buffer will never be a good match. I don't know why but this never seem to work when I try things with it. A great addition for me would be a "find and return" action that can be used in this macro. This would search in the buffer for a certain string, and return the X'th value b...
by MJU
Sat Sep 05, 2020 5:44 pm
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 329

Re: Semiduplex asynchronism serial 10bit

If not got an analyser working, you can use Tera Term to view bytes instead of ASCII. It needs to run in debug mode: As you can see the 0x00 and 0x18 is not displayed as I believe the compiler is treating the 0x00 as a null terminator. Hey Medelec, this is true! If I send the data like I wanted to,...
by MJU
Fri Sep 04, 2020 5:09 pm
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 329

Re: Semiduplex asynchronism serial 10bit

Yes 4 in a row if always the same value. I was assuming the value would vary? If that was the case, store as ulong then send bytes within a loop. I can't take credit for this, but you could even send in a string like this "\xFF\xFF\xFF\xFF" Thank you, I will try this string way of sending. I first ...
by MJU
Fri Sep 04, 2020 4:03 pm
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 329

Re: Semiduplex asynchronism serial 10bit

Hi MJU, What about using flowchart posted here to send ULong to UART rather than to EEPROM? Thank you Medelec, But in that example you want to write 1234567890 to the eeprom. For that you need to separate the ULONG number to 8bits and store them in the EEPROM. But if I only want to store 0xFFFFFFFF...
by MJU
Fri Sep 04, 2020 12:27 am
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 329

Re: Semiduplex asynchronism serial 10bit

BTW: is sending 0xFFFFFFFF the same as sending 4 times 0XFF in a row?
How do I send 0XFFFFFFFF via UART?
by MJU
Thu Sep 03, 2020 11:56 pm
Forum: Flowcode V8
Topic: Semiduplex asynchronism serial 10bit
Replies: 10
Views: 329

Semiduplex asynchronism serial 10bit

Hello there, I don't have access to all my resources right here and that confuses me. I'm playing with a device that has this in it's " datasheet ": UART1.jpg Is this the UART component that I need to use? 57600bps seems UART. But the 10bit confuses me. I don't have a working logic analyser here so ...
by MJU
Fri Aug 14, 2020 5:27 pm
Forum: Flowcode V8
Topic: Fingerprint sensor terminology
Replies: 4
Views: 252

Re: Fingerprint sensor terminology

Take a look here: https://www.vishnumaiea.in/projects/hardware/interfacing-r307-optical-fingerprint-scanner-with-arduino This looks very good! Thank you Martin. I'm glad there are people left who investigate stuff and take their time to writ about their findings. This website tells me more about th...
by MJU
Thu Aug 13, 2020 5:41 pm
Forum: Flowcode V8
Topic: Fingerprint sensor terminology
Replies: 4
Views: 252

Re: Fingerprint sensor terminology

Thank you Martin! I had a quick look at the datasheet of that GT-511 fingerprint sensor. But the thing is that I don't really understand the terminology. What do I need to perform to get the thing working. In what order. There will be differences in how different modules work, but in the datasheet (...
by MJU
Wed Aug 12, 2020 5:35 pm
Forum: Flowcode V8
Topic: Fingerprint sensor terminology
Replies: 4
Views: 252

Fingerprint sensor terminology

I've been reading the datasheet for the R503 fingerprint sensor (GROW) for a while. (https://www.dropbox.com/sh/epucei8lmoz7xpp/AAAmon04b1DiSOeh1q4nAhzAa?dl=0 ) This is a Chinese device and the datasheet doesn't give me all answers I need. There is different terminology and there aren't examples for...
by MJU
Tue Aug 11, 2020 12:28 am
Forum: Flowcode V8
Topic: String Compare Function not working with RS232
Replies: 12
Views: 520

Re: String Compare Function not working with RS232

I haven't read the whole post, but I recall a problem with RS232 in V8 too. In this thread: https://www.matrixtsl.com/mmforums/viewtopic.php?f=76&t=21964&p=100362#p100362 there are remainders.. I made the flowchart that I was working on in V7 and this worked well. I promised to share that V8 file la...
by MJU
Sun Aug 09, 2020 5:45 pm
Forum: Feature Requests
Topic: Fingerprint component
Replies: 0
Views: 132

Fingerprint component

In this topic (from 2017): https://www.matrixtsl.com/mmforums/viewtopic.php?f=7&t=19151&p=89884&hilit=fingerprint#p89884 There was someone requesting a fingerprint sensor component. I've ordered a Grow R503 sensor (I've had an earlier model, but there was something wrong with it before I even got it...
by MJU
Mon Jun 29, 2020 5:31 pm
Forum: Flowcode V8
Topic: ESP8266 as target chip
Replies: 10
Views: 1654

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
Sun Apr 19, 2020 11:53 pm
Forum: Flowcode V8
Topic: 32bit replacement for Arduino (cheap)
Replies: 6
Views: 834

Re: 32bit replacement for Arduino (cheap)

Thank you, the ESP32 is a nice replacement for Arduino.

But, I'll wait until the device is supported by Flowcode before I purchase some ESP32 boards.
I hope the device can be used with all of its functions.
by MJU
Fri Apr 17, 2020 10:20 pm
Forum: Flowcode V8
Topic: 32bit replacement for Arduino (cheap)
Replies: 6
Views: 834

Re: 32bit replacement for Arduino (cheap)

Hello For stm32 I am currently using the chip STM32F030RC with 256K. You can find china pcbs for less than € 2. This chip represents the economic line of ST but has discrete performance. If you want something more powerful you can move on the F4 line. For example STM32F411CE with 512K and excellent...
by MJU
Fri Apr 17, 2020 5:20 pm
Forum: Flowcode V8
Topic: 32bit replacement for Arduino (cheap)
Replies: 6
Views: 834

Re: 32bit replacement for Arduino (cheap)

Thank you BenJ!

The ESP32 would be great as a supported chip, but this is 4 years old already.

Do you have an idea when it will be supported in FC8?
The STM32 boards, I'm going to check these out.

Any more suggestions?
by MJU
Fri Apr 17, 2020 12:39 am
Forum: Flowcode V8
Topic: 32bit replacement for Arduino (cheap)
Replies: 6
Views: 834

32bit replacement for Arduino (cheap)

I caught myself to have ordered many Arduino-like, Chinese, develop boards. These are very cheap and they are very compatible with the Arduino software AND with Flowcode. But these boards are old-school hardware. I have the Flowcode 16 bit PIC license, the AVR and the RPI license. Is there a cheap d...