Search found 14 matches

by amishra123
Wed May 04, 2011 3:53 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Hi!New problem!, basically we are now sending charecters because we couldn't send the string over Mewi, it just wouldn't work!

The program sends 0x0A,0,0,0,0,0,0,0,0 . So a 0x0A then 8 characters the first is the first sensor the second the second sensor and so on!

I can't figure out how to put ...
by amishra123
Wed Apr 20, 2011 2:24 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Hi!
Thanks for that but it still stops at 0. I downloaded the file you gave me and copied it over to the components folder overwriting the other file but it doesnt seem to have made a difference. Ideally when all the Analogue inputs are 0 it should send 0,0,0,0,0,0. Then if the last one is on it ...
by amishra123
Tue Apr 19, 2011 4:02 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Thank you for the reply!

Another thing I have noticed and can't figure out why! If you put ADC0 to 0 then it doesnt read and send the rest of them.

Why is that?! I have attached the file so you can see what i mean
Thank you so much Amishra
by amishra123
Tue Apr 19, 2011 2:38 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Great thanks for that! How would I decode it on the other side?

As in how does the syntax work in the component macro box?
It asks for two parameters in the first input box nTimout(byte) and Numbytes(byte) what do they signify?
Also how does the reciever know that the numbers coming in on the ...
by amishra123
Sun Apr 17, 2011 8:28 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Thanks

Do you mean say for two sample it would have to be like this:

component macro: sample0 = adc0_Read_byte
calculation: data[0] = sample0

component macro: sample1 = adc1_Read_byte
calculation: data[1] = sample1
etc

?
Thanks Amishra
by amishra123
Wed Apr 13, 2011 3:46 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Hi, Thank you for that! In the end I realised it was as simple as input to variable then send! And receive on the other side!!

Now I have to step things up with using analogue inputs!!!
I started of as not knowing anything but fiddling around with the one you made I am beginning to understand a ...
by amishra123
Tue Apr 05, 2011 2:40 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

In your file, when I press play all of the LED's come on?

Also as i press the different switches switches 0-4 give the same serial out "**". :?

Is there any way I can send a serial in to test it?

Thanks Amishra
by amishra123
Tue Apr 05, 2011 1:59 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Hi! Thanks yeah i have updated and can open it now! It doesn't really do what I needed!

What I need is when a switch is pressed on the master pic, it is sent by serial to the slave pic and the corresponding LED comes on. I don't really know how to go about this and could really do with your help ...
by amishra123
Mon Apr 04, 2011 2:10 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Hi, Its says unexpected file format!!

Thanks Amishra
by amishra123
Mon Apr 04, 2011 8:32 am
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Hi!! Could someone please help!! I really need this ASAP!! :?

If someone can make a program for me I am willing to donate up to £10! :mrgreen:

Thanks you very much!!!
Amishra
by amishra123
Sat Apr 02, 2011 8:27 am
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Re: Serial

Hi thank you! I figured I would have to do something like that! The problem is I don't know how to do it!! I have very basic pic knowledge (Used logicator a while ago , which is only vaguely similar!)

So if you could tell me how to do each of those steps!!

Thank you again I really do appreciate ...
by amishra123
Mon Mar 28, 2011 10:18 pm
Forum: Flowcode V4
Topic: Serial
Replies: 22
Views: 10765

Serial

Hey everyone, I am quite new to this and require your help!
I am using Flowcode 4 and 2 PIC 18F4520

What I have to do is this. There are 8 switches on Port B (one each byte)on a PIC(1) and I have to somehow send the signals of when they are pressed via serial to another PIC(2) which has 8 LED's on ...
by amishra123
Mon Mar 28, 2011 10:17 pm
Forum: General Programming
Topic: Serial
Replies: 2
Views: 2915

Re: Serial

Thanks for the reply! I will post there aswell!
I have no time to start with anything!! I just need this done and I won't need to look at flowcode again!

Could you help me!!?
by amishra123
Mon Mar 28, 2011 3:32 pm
Forum: General Programming
Topic: Serial
Replies: 2
Views: 2915

Serial

Hey everyone, I am quite new to this and require your help!
I am using Flowcode 4 and 2 PIC 18F4520

What I have to do is this. There are 8 switches on Port B (one each byte)on a PIC(1) and I have to somehow send the signals of when they are pressed via serial to another PIC(2) which has 8 LED's on ...