send string

Moderator: Benj

medelec35
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

Post by medelec35 »

Do you want baud rate and clock frequency kept the same, or increased?
Martin

0101
Posts: 50
Joined: Thu Dec 12, 2019 3:36 pm
Been thanked: 1 time
Contact:

Re: send string

Post by 0101 »

Hi Mr. Martin,
8MHz clock frequency, the 9600 transfer rate.
Thank you in advance !

medelec35
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

Post by medelec35 »

The higher the clock frequency, the higher the baud rate of UART can be.
Personally I would run clock between 16 and 32MHz.
Attached are requested files.
Have you tried disabling firewall, than try again with Flowcode V8?
Also when you run V8, if it connects OK with server, on the start page you will see:
V8 Connected to server.png
V8 Connected to server.png (176.18 KiB) Viewed 5706 times
If does not, you will see:
V8 Not connected to server.png
V8 Not connected to server.png (44.22 KiB) Viewed 5706 times
So not worth entering licence details until you can see the top image on the Start Page of Flowcode.
Attachments
receive string.hex
(1.86 KiB) Downloaded 190 times
send string.hex
(1.32 KiB) Downloaded 194 times
Martin

0101
Posts: 50
Joined: Thu Dec 12, 2019 3:36 pm
Been thanked: 1 time
Contact:

Re: send string

Post by 0101 »

Hi Mr. Martin,
Well, I get the message below when I launch Flowcode, it seems weird.
Thanks a lot for the hex files.
Attachments
Flowcode not connected to server..png
Flowcode not connected to server..png (6.98 KiB) Viewed 5706 times

0101
Posts: 50
Joined: Thu Dec 12, 2019 3:36 pm
Been thanked: 1 time
Contact:

Re: send string

Post by 0101 »

Hi Mr. Martin,
I'm pleasantly impressed, it works. Flowcharts are made in Flowcode 8.2.2. ? Which compiler did you use, the XC8 in Flowcode or the new version from Microchip?
Attachments
test send receive.png
test send receive.png (28.63 KiB) Viewed 5704 times

medelec35
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

Post by medelec35 »

Your're welcome & glad it works.
Created with Flowcode 8.2.2.15, using the default XC8 shipped with Flowcode.
Martin

0101
Posts: 50
Joined: Thu Dec 12, 2019 3:36 pm
Been thanked: 1 time
Contact:

Re: send string

Post by 0101 »

Great, worth all the money. Does Flowcode 8.2.2.15 also support 10F200 or 12F509? Can you compile?

medelec35
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

Post by medelec35 »

Yes it is.
I have used flowcode to develop a complex touch screen heating controller with many features, RF remotes, MP3 players, Data-loggers etc.
Would not have been possible otherwise.
Yes both devices are supported, but neither have UART.
Therefore would not be able to compile flowcharts.
Scroll down this page to see what devices Flowcode supports and it even shows you what peripheral's each device supports.
Martin

0101
Posts: 50
Joined: Thu Dec 12, 2019 3:36 pm
Been thanked: 1 time
Contact:

Re: send string

Post by 0101 »

Definitely they do not have UART, I am interested, for example if I turn on and off some LEDs etc

medelec35
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

Post by medelec35 »

Yes, it will do that.
I would not recommend usage of the older types.
12F1840 is what I use for 8 pin devices.
They are cheap, advanced and have enough peripheral's & memory for my needs so far.
Maximum clock speed is 32MHz so fast enough for my needs as well.
Martin

Post Reply