send string
Moderator: Benj
send string
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 !
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 !
- Attachments
-
- send string.fcf
- (8.5 KiB) Downloaded 224 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: send string
Hello,
What do you mean by the file is too big? Compiling with v6 I am getting these stats.
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%)
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: send string
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.
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.
- Attachments
-
- send string.c
- (11.99 KiB) Downloaded 219 times
-
- MyProject.c
- (160 Bytes) Downloaded 210 times
Re: send string
Maybe someone can help me because it doesn't work.
- Attachments
-
- MyProject_2.c
- (202 Bytes) Downloaded 212 times
Re: send string
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");
}
}
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: send string
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?
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
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
Hello everybody,
Can anyone help me with a hex file for PIC12F1822, to send a string as we mentioned in the first post?
Can anyone help me with a hex file for PIC12F1822, to send a string as we mentioned in the first post?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: send string
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.
Can't help with Flowcode v5 but I could write you a quick v8 example you can use with the free 30-day trial.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: send string
Here you go,
Let us know how you get on.
Let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: send string
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.
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.
Re: send string
I can't install Flowcode version 8.2.2.
- Attachments
-
- not be opened.png (12.81 KiB) Viewed 9216 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: send string
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: Is your file size the same?
Try a different browser as I just downloaded 8.2.2 an all is ok.
This is what I downloaded: Is your file size the same?
Martin
Re: send string
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 !
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 !
- Attachments
-
- Flowcode 8.2.2.png (3.12 KiB) Viewed 9197 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: send string
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.
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.
- Attachments
-
- Windows 8.png (14.08 KiB) Viewed 9186 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: send string
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/?
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/?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: send string
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.
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.
- Attachments
-
- v.8.png (26.81 KiB) Viewed 9157 times
Re: send string
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.
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.
- Attachments
-
- Successful activation.
- 01.png (13.25 KiB) Viewed 9131 times
-
- I can't open Flowcode if I don't access the Free option.
- 02.png (8.25 KiB) Viewed 9131 times
-
- Unsafe connection.
- 03.png (23.82 KiB) Viewed 9131 times
Re: send string
Two more pictures,
- Attachments
-
- The only option.
- 04.png (5.38 KiB) Viewed 9130 times
-
- I do not have access to the UART component.
- 05.png (6.05 KiB) Viewed 9130 times
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: send string
hi,
You need to be logged in and running a 30 day trial to be able to use components like UART.
You need to be logged in and running a 30 day trial to be able to use components like UART.
Martin
Re: send string
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 !
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 !