Page 1 of 3

send string

Posted: Wed Jul 29, 2020 10:35 am
by 0101
Hello everybody,
Please, if anyone can write in C the sending of a string, for example "5501A3D2" or any other hexadecimal string. Flowcode generates a C file, but it is too big, it has many program lines.
Thank you in advance !

Re: send string

Posted: Wed Jul 29, 2020 4:42 pm
by Benj
Hello,

What do you mean by the file is too big? Compiling with v6 I am getting these stats.
Memory Usage Report
===================
RAM available:368 bytes, used:56 bytes (15.3%), free:312 bytes (84.7%),
Heap size:312 bytes, Heap max single alloc:110 bytes
ROM available:8192 words, used:266 words (3.3%), free:7926 words (96.7%)

Re: send string

Posted: Wed Jul 29, 2020 4:57 pm
by 0101
Hi Mr. Ben,
I meant that there are many lines of program. I wrote the same program in mikroC, I have to put a button on it. If the file written in mikroC is compared to the file generated by Flowcode you will notice the size of the program.

Re: send string

Posted: Wed Jul 29, 2020 5:52 pm
by 0101
Maybe someone can help me because it doesn't work.

Re: send string

Posted: Thu Jul 30, 2020 10:10 am
by 0101
Can anyone write this program in C, regardless of how it is compiled? Please very much.

Code: Select all

void main ()
        {
        UART1_Init(9600);
        while (1)
                {
                if(Button(&PORTA,2,1,1))
                UART1_Write("5501A3D2");
                }
        }

Re: send string

Posted: Thu Jul 30, 2020 10:38 am
by LeighM
What is your target device and platform? Flowcode, Arduino, mikroC?
This will determine what function calls you can use. e.g. UART1_Init() and Button() etc.
It sounds like you are wanting help to edit a C program for mikroC, is that the case?

Re: send string

Posted: Thu Jul 30, 2020 11:19 am
by 0101
If possible for mikroC, if not, then in any C.
Thanks for the help.

Re: send string

Posted: Thu Jul 30, 2020 1:15 pm
by 0101
Ok, if no one can help me with a program written in C, please then, if possible in Flowcode for PIC12F1822, because the 5.1 Flowcode version I have is limited. I'm interested the hex file.

Re: send string

Posted: Fri Jul 31, 2020 9:53 am
by 0101
Hello everybody,
Can anyone help me with a hex file for PIC12F1822, to send a string as we mentioned in the first post?

Re: send string

Posted: Fri Jul 31, 2020 10:28 am
by Benj
Hello,

Can't help with Flowcode v5 but I could write you a quick v8 example you can use with the free 30-day trial.

Re: send string

Posted: Fri Jul 31, 2020 10:42 am
by 0101
Hi Mr. Ben,
Perfect, please help me.
Thanks in advance!

Re: send string

Posted: Fri Jul 31, 2020 12:20 pm
by Benj
Here you go,
Demo.fcfx
(9.67 KiB) Downloaded 199 times
Let us know how you get on.

Re: send string

Posted: Fri Jul 31, 2020 12:55 pm
by 0101
Hi Mr. Ben,
Thank you very much, it's a great idea to try version 8, I was set on v.5 for Flowcode. Thanks again, I will download the free version, but I have to install a new version of the operating system. I'll keep you posted. :D :D :D :D :D

Re: send string

Posted: Sat Aug 01, 2020 3:44 pm
by 0101
I can't install Flowcode version 8.2.2.

Re: send string

Posted: Sat Aug 01, 2020 9:25 pm
by medelec35
Could your download got corrupted?
Try a different browser as I just downloaded 8.2.2 an all is ok.
This is what I downloaded:
Flowcode 8.2.2 installer.png
Flowcode 8.2.2 installer.png (5.84 KiB) Viewed 9662 times
Is your file size the same?

Re: send string

Posted: Sun Aug 02, 2020 11:09 am
by 0101
Hi Mr. Martin,
I downloaded again with Mozilla Firefox, the first time I downloaded with Opera. The size is the same. Download address:
https://www.matrixtsl.com/flowcode/download/file/
Thanks a lot !

Re: send string

Posted: Sun Aug 02, 2020 12:24 pm
by medelec35
As File size looks correct:
V8 properties.png
V8 properties.png (38.18 KiB) Viewed 9643 times
What windows version are you running?

Re: send string

Posted: Sun Aug 02, 2020 12:39 pm
by 0101
I have Windows 8 version.

I downloaded version 8.2.2.15 from here: https://softdeluxe.com/Flowcode-144164/download/

How do I activate Flowcode for 30 days?

I forgot to mention that I installed it.

Re: send string

Posted: Mon Aug 03, 2020 10:30 am
by 0101
Hello everybody,
How do I activate Flowcode for 30 days?
Thank you in advance !

Re: send string

Posted: Mon Aug 03, 2020 11:53 am
by Benj
Hello,

Just register for a Matrix account.
https://www.matrixtsl.com/accounts/register/

Then activate your account by clicking the link on the email that is sent to you.

Then in Flowcode click on Help -> Manage Licenses -> 30 Day Unlock and use your account username and password.

You can also donload Flowcode direct from our website, I'm not sure about the softdeluxe version?
https://www.matrixtsl.com/flowcode/download/?

Re: send string

Posted: Mon Aug 03, 2020 12:42 pm
by 0101
Hi Mr. Ben,
Thanks a lot for the help, but I can't download the Flowcode v.8 license.

Sorry, the license is only valid for the product purchased, my mistake.

Re: send string

Posted: Tue Aug 04, 2020 3:55 pm
by 0101
Hello everybody,
I downloaded Flowcode from here: https://www.matrixtsl.com/flowcode/download/?
after I created an account and after I logged in. At the first download I did not have an account created and
I was not logged in, maybe that was the reason why it did not install. I followed the unlock steps for use for
30 days, I got the activation of Flowcode v.8, but every time I launch Flowcode I have to approve the internet
connection, because the message says it is insecure and I have two options "Free and My Flowcode License ", if
I do not validate the free option, Flowcode closes, if I validate the free option, I cannot use the UART component.
I tried to get the unlock for use again for 30 days, but I have to validate the free option and when accessing Manage
Licenses only the My Flowcode License option remains. I can't use Flowcode 8, I'm sorry.

Re: send string

Posted: Tue Aug 04, 2020 4:10 pm
by 0101
Two more pictures,

Re: send string

Posted: Tue Aug 04, 2020 7:30 pm
by medelec35
hi,
You need to be logged in and running a 30 day trial to be able to use components like UART.

Re: send string

Posted: Wed Aug 05, 2020 12:19 pm
by 0101
Hello everybody,
I tried a new reinstallation, the same steps mentioned above and I received exactly the same messages posted above. I understand that for 30 days I have to test how Flowcode 8.2.2 works. and what's new in this version. In conclusion, you can't test Flowcode for 30 days, because you don't have access to all the components, more precisely you can use, 4 switches, 2 LEDs, display, numeric keypad, nothing else. It is not for 30 days, it is free and completely limited. In my post I was interested in using UART on 12F1822, more precisely obtaining a hex file.
Thanks a lot !