Hi Benj,
first I tried a simulation. Everything Ok. Then I wanted to compile after Hex. Error output!! (see picture attached).
After I had the LED array away and had subsequently recompiled, I had a working hex file.
The same program I have written in V4.3, there I had no error message!
Rolf
Search found 9 matches
- Mon Mar 31, 2014 8:03 am
- Forum: Flowcode V6
- Topic: Flowcode Releas V6.0.7
- Replies: 2
- Views: 2814
- Tue May 03, 2011 1:54 pm
- Forum: Flowcode V4
- Topic: how can I fill an array with RS232 data?
- Replies: 12
- Views: 8271
Re: how can I fill an array with RS232 data?
Benj wrote:Hello,
Its very simple. Here is a quick program that reads data from the RS232 and stores into an array until a time out is received or the array is filled. The array is then sent back out over the RS232.
This is exactly what I need
Thank you so much
- Fri Apr 29, 2011 4:57 pm
- Forum: Flowcode V4
- Topic: how can I fill an array with RS232 data?
- Replies: 12
- Views: 8271
Re: how can I fill an array with RS232 data?
I'm German, I thought so as you answered in Dutch
My bad, I saw "eigen_test" on your flowcode file name :P .
Learning a bit of C programming will help you alot in making programs with flowcode.
It seems to be very difficult to fill an array via the RS232. In my books It will only explain how I ...
My bad, I saw "eigen_test" on your flowcode file name :P .
Learning a bit of C programming will help you alot in making programs with flowcode.
It seems to be very difficult to fill an array via the RS232. In my books It will only explain how I ...
- Wed Apr 27, 2011 7:14 pm
- Forum: Flowcode V4
- Topic: how can I fill an array with RS232 data?
- Replies: 12
- Views: 8271
Re: how can I fill an array with RS232 data?
Make a new variable named 'i' and another one named 'array[X]'. X is the size of the array, it needs to be a value, not another variable.
Then use a while (i < incom) and add a calculation icon with "i = i + 1" in it.
PS: Do you speak Dutch or am I wrong thinking you do ?
Thanks for your tips ...
Then use a while (i < incom) and add a calculation icon with "i = i + 1" in it.
PS: Do you speak Dutch or am I wrong thinking you do ?
Thanks for your tips ...
- Wed Apr 27, 2011 1:02 pm
- Forum: Flowcode V4
- Topic: how can I fill an array with RS232 data?
- Replies: 12
- Views: 8271
Re: how can I fill an array with RS232 data?
I'm totally confused. :? :? Since this morning I have concentrated on the filling of array's, but again without success.
It would be really nice if someone could tell me how I can implement the following routine in my top gepost project and Flowcode.
int array [incom];
for (int i = 0; i <incom ...
It would be really nice if someone could tell me how I can implement the following routine in my top gepost project and Flowcode.
int array [incom];
for (int i = 0; i <incom ...
- Wed Apr 27, 2011 12:38 pm
- Forum: Flowcode V4
- Topic: AVR atmega8 TQFP
- Replies: 4
- Views: 4602
Re: AVR atmega8 TQFP
Sure, if you have AVR-Studio it is also the same routine
- Tue Apr 26, 2011 6:45 pm
- Forum: Flowcode V4
- Topic: how can I fill an array with RS232 data?
- Replies: 12
- Views: 8271
Re: how can I fill an array with RS232 data?
sorry, does not work as I thought. The data I receive from view as follows.
LED on
F5 FF 57 F7 5F 55 D5 D5 D5 57 57 7F 55 55 D5 57 75 FD F5 7D
LED off
F5 FF 57 F7 5F 55 D5 D5 D5 57 57 7F 55 55 55 D7 F5 FF F5 7D
here you can see that the first 14 bytes are always the same.
The only change is ...
LED on
F5 FF 57 F7 5F 55 D5 D5 D5 57 57 7F 55 55 D5 57 75 FD F5 7D
LED off
F5 FF 57 F7 5F 55 D5 D5 D5 57 57 7F 55 55 55 D7 F5 FF F5 7D
here you can see that the first 14 bytes are always the same.
The only change is ...
- Tue Apr 26, 2011 6:10 pm
- Forum: Flowcode V4
- Topic: how can I fill an array with RS232 data?
- Replies: 12
- Views: 8271
Re: how can I fill an array with RS232 data?
Thanks for the quick reply. The loop worked immediately.
Could you tell me how I now save the 6 remaining bytes to go.
Thanks in advance
Sorry this text is form a translator
Could you tell me how I now save the 6 remaining bytes to go.
Thanks in advance
Sorry this text is form a translator
- Tue Apr 26, 2011 2:52 pm
- Forum: Flowcode V4
- Topic: how can I fill an array with RS232 data?
- Replies: 12
- Views: 8271
how can I fill an array with RS232 data?
Hi,
I'm new to this and need your help!
I currently work on a project where I via the RS232 a lot of data (20 byte's) receive, but the details are not all needed.
My problem is that I would just like the last 6 Bytes Received's use. I thought I'd write the 20 byte's into an array,
then I would ...
I'm new to this and need your help!
I currently work on a project where I via the RS232 a lot of data (20 byte's) receive, but the details are not all needed.
My problem is that I would just like the last 6 Bytes Received's use. I thought I'd write the 20 byte's into an array,
then I would ...