Search found 502 matches

by MJU
Sun Jun 30, 2019 2:06 pm
Forum: Flowcode V8
Topic: UART string variable question (quick question)
Replies: 9
Views: 2589

Re: UART string variable question (quick question)

Thanks Chipfryer, You are right about the hardware I'm using and testing. Strange thing is that, what I used last night, and flashed again and again, didn't work, but today I changed a small thing and now the text is send as it should. The small thing I changed had nothing to do with the variable......
by MJU
Sun Jun 30, 2019 12:39 am
Forum: Flowcode V8
Topic: UART string variable question (quick question)
Replies: 9
Views: 2589

UART string variable question (quick question)

I have a string variable "mytext" In Flowcode I fill this with text=> mytext= "This My Text I want to transmit" The I send it as a string via the UART (which works). UART1 send string mytext On the receiver side the text becomes gibberish. When I send the text without using the variable, the RX rece...
by MJU
Mon Jun 17, 2019 11:29 pm
Forum: Flowcode V8
Topic: Again LORA datasheet E32-868-T20D
Replies: 8
Views: 4299

Re: Again LORA datasheet E32-868-T20D

I need to review a few things before I can go further. Still the project doesn't work after all the suggestions. I've searched and the powersupply is critical. The distance of the TX and RX is something to watch. Apparently they cannot be to close within each others range... I'm going to look for al...
by MJU
Sun Jun 16, 2019 10:16 pm
Forum: Flowcode V8
Topic: Again LORA datasheet E32-868-T20D
Replies: 8
Views: 4299

Re: Again LORA datasheet E32-868-T20D

It helps others if the dialogue is in the forum. If the code is sensitive then please provide some information on how things should be done so others can learn as well. You know me Kersing. You'be helped me a great deal already in the past and I appreciate this. I've helped others on this forum (an...
by MJU
Sun Jun 16, 2019 5:49 pm
Forum: Flowcode V8
Topic: Again LORA datasheet E32-868-T20D
Replies: 8
Views: 4299

Re: Again LORA datasheet E32-868-T20D

Hi I'm very keen to hear about your progress with these modules and will probably obtain a couple for myself to have a play once I get back. I trust that you can now send and receive status requests and can confirm the setup of each module by issuing the appropriate command. Could you post the conf...
by MJU
Sat Jun 15, 2019 5:55 pm
Forum: Flowcode V8
Topic: Again LORA datasheet E32-868-T20D
Replies: 8
Views: 4299

Again LORA datasheet E32-868-T20D

In this topic I asked about a few things about the E32-868 LORA module. https://www.matrixtsl.com/mmforums/viewtopic.php?f=76&t=21281 I'm trying to make a simple TX and RX Flowcode project, but again I don't get it. The datasheet isn't that good and there aren't enough examples to make them work. Da...
by MJU
Tue Jun 11, 2019 3:22 pm
Forum: General Programming
Topic: Flash Arduino with RX from UART connected??
Replies: 3
Views: 3554

Re: Flash Arduino with RX from UART connected??

Thank you all!
by MJU
Mon Jun 10, 2019 12:51 am
Forum: General Programming
Topic: Flash Arduino with RX from UART connected??
Replies: 3
Views: 3554

Flash Arduino with RX from UART connected??

This is something that I wanted to ask earlier. I have these Chinese Arduino clones, with ch340 chips. If I use the hardware UART, I can't flash the Arduino while the RX is connected to a device.. I need to disconnect the RX pin before I can flash the chip. Is there a way that I can flash it without...
by MJU
Wed Jun 05, 2019 5:19 pm
Forum: Flowcode V8
Topic: UART: "Send in succession"
Replies: 15
Views: 6951

Re: UART: "Send in succession"

Hi Glad to hear it works. My cheapo USB logic analyser can operate in many ways / protocols. Depending on setup it could easily look as though it is "reading" 195 over a time period but if I expand it out I might then see three individual characters over x-microseconds or the like. Anyway, moot poi...
by MJU
Wed Jun 05, 2019 3:24 pm
Forum: Flowcode V8
Topic: UART: "Send in succession"
Replies: 15
Views: 6951

Re: UART: "Send in succession"

Hi Just got back but off again tomorrow. Looking at your program the UART settings seem good but I think the problem may lie in how you are sending C3 etc. You are using the command SendNumber which sends your value as a string of digits. So you sending C3/195 sends out the value 0x31/49, 0x39/57 t...
by MJU
Tue Jun 04, 2019 5:26 pm
Forum: Flowcode V8
Topic: UART: "Send in succession"
Replies: 15
Views: 6951

Re: UART: "Send in succession"

Hi Traveling just now and don't have a copy of FC on this laptop (I really should do though...). From memory, in the UART properties you will have an option to set baud (9600), an option to set the data (8 bits) then further down an option to set flow control (no). With that you should be able to c...
by MJU
Tue Jun 04, 2019 10:44 am
Forum: Flowcode V8
Topic: UART: "Send in succession"
Replies: 15
Views: 6951

Re: UART: "Send in succession"

Hi Not having an Arduino I'm unsure as to their needs and operation but I'm sure you will have all the usual suspects such as timing etc in hand. I think this is OK, I've added a few flashing leds in the project and they seem to work.. My interpretation of the manual (which may not be the case) is ...
by MJU
Mon Jun 03, 2019 10:52 pm
Forum: Flowcode V8
Topic: UART: "Send in succession"
Replies: 15
Views: 6951

Re: UART: "Send in succession"

Looking at the documentation you are sending the right sequence. What voltage is the Arduino you are using? If 5V you might need to add pull-ups to RX and another signal (according to the manual see page 6 at the bottom) I've added a pull up to the RX but it was always logic high (5V). I've tried a...
by MJU
Mon Jun 03, 2019 10:47 pm
Forum: Flowcode V8
Topic: UART: "Send in succession"
Replies: 15
Views: 6951

Re: UART: "Send in succession"

Hi I'm not familiar with Arduino so can't comment much on it. Usually "in succession" means that whatever you send is sent as a complete message. On page 13 of the instruction manual it gives a couple of examples (isn't Chinglish a wonderful language?) and it appears that the space is used as a sep...
by MJU
Mon Jun 03, 2019 6:40 pm
Forum: Flowcode V8
Topic: UART: "Send in succession"
Replies: 15
Views: 6951

Re: UART: "Send in succession"

by MJU
Mon Jun 03, 2019 5:38 pm
Forum: Flowcode V8
Topic: UART: "Send in succession"
Replies: 15
Views: 6951

UART: "Send in succession"

I'm playing with a E32-868T20D Lora module. The first test isn't a succes. I'm trying to get the module return it's settings by sending C3+C3+C3. This should return the settings for the module. I see that with my logic analyser there are 3 times "195" send by my Arduino, the pin that indicates that ...
by MJU
Tue May 21, 2019 5:40 pm
Forum: Flowcode V8
Topic: Get FC project on Arduino (via AVRISP)
Replies: 3
Views: 2368

Re: Get FC project on Arduino (via AVRISP)

Thank you BenJ,

I've already replaced the Arduino with another one. And now it works from the USB port.
Still it isn't possible to flash the program onto the original one.
I will try it later and if it still doesn't work it will thrown into the garbage bin.
by MJU
Sat May 18, 2019 11:38 pm
Forum: Flowcode V8
Topic: Get FC project on Arduino (via AVRISP)
Replies: 3
Views: 2368

Get FC project on Arduino (via AVRISP)

I use Flowcode ones in a while, and everytime there is something that doesn't work. :-( I want to upload a Flowcode project to an Arduino that is soldered onto a PCB and is very hard to detach from the PCB. The only thing that is connected is an LCD and a few I/O pins that are tied to GND. There was...
by MJU
Mon Apr 29, 2019 5:48 pm
Forum: Bug Reports
Topic: FC crashes when converting C code to icons
Replies: 2
Views: 2192

FC crashes when converting C code to icons

When I try to convert the C code block in that was posted in this post:
viewtopic.php?f=76&t=21187#p95162

My Flowcode crashes time after time.
by MJU
Mon Apr 29, 2019 5:44 pm
Forum: Bug Reports
Topic: Change Float variable to other
Replies: 2
Views: 2019

Change Float variable to other

When generated a float variable, it isn't possible anymore to change the type.
When you want to edit a Float, all the other options are greyed out.
by MJU
Mon Apr 29, 2019 5:42 pm
Forum: Bug Reports
Topic: C simulation doesn't calculate trigonometry
Replies: 0
Views: 4280

C simulation doesn't calculate trigonometry

Is it possible that the C code simulation doesn't simulate Sin/Tan/Cos and other trigonometry functions?
by MJU
Mon Apr 29, 2019 5:40 pm
Forum: Flowcode V8
Topic: Using C code in FC8: several questions
Replies: 7
Views: 4269

Re: Using C code in FC8: several questions

mnf wrote:The majority of formula should convert to a FC calculation box easily - but the auto C->Flowcode converter doesn't seem to cope with sin, cos & tan etc...

Martin
Thank you again, now it works (think I've replied this to Kersing accidental )
by MJU
Mon Apr 29, 2019 5:39 pm
Forum: Flowcode V8
Topic: Using C code in FC8: several questions
Replies: 7
Views: 4269

Re: Using C code in FC8: several questions

How about using the C code to flowcode conversion option available in FC8? I've never heard about the C sim button, nor the C to flowchart option. Maybe the Wiki should be updated or better be organised. Everytime I look for something I get 40 results that doesn't help me. Thanks again for all the ...
by MJU
Sat Apr 27, 2019 11:04 pm
Forum: Flowcode V8
Topic: Using C code in FC8: several questions
Replies: 7
Views: 4269

Re: Using C code in FC8: several questions

Hi MJU, Flowcode renames variables to either FCV_NAME or for locals FCL_NAME (where NAME is the name you gave the variable converted to upper case) To define a float - declare the variable as type float (An aside - note that due to a bug in FC - you must do this when initially declaring the variabl...
by MJU
Sat Apr 27, 2019 5:53 pm
Forum: Flowcode V8
Topic: Using C code in FC8: several questions
Replies: 7
Views: 4269

Using C code in FC8: several questions

I want to use several formulas from which I have the C-code already, in a Flowcode project. How do I do the following... - Add variables in Flowcode (floating) - Add a C-component. - In this C-component put formulas that use the variables that were declared in Flowcode - Use the result of the formul...