Search found 14 matches

by mrclauds
Tue Jun 20, 2017 6:10 pm
Forum: Flowcode V4
Topic: RS232 Communications
Replies: 5
Views: 19358

Re: RS232 Communications

Hi

Thank you very much... just spent the last few hours decoding your code in detail and understood it... Very clever and straight forward :) Doing Binary arithmetic has given me such a brain workout, but glad I did it :)
Also figured going through first 7 bits was all I needed :)

Thanks very much
by mrclauds
Tue Jun 20, 2017 2:29 pm
Forum: Flowcode V4
Topic: RS232 Communications
Replies: 5
Views: 19358

Re: RS232 Communications

Hi

Thank you so much
Would it be possible for you to explain the code a little?
Also, I want to receive characters rather than send... is it a matter of changing from send rs232 to receive rs232?
by mrclauds
Mon Jun 19, 2017 11:17 am
Forum: Flowcode V4
Topic: RS232 Communications
Replies: 5
Views: 19358

RS232 Communications

Hi All
Was hoping to get some help on this...

I have a UART working perfectly, but the system I need to connect to has the following RS232 settings:
Baud 9600
Data Bits 7
Stop Bits 2
Handshaking None or Xon/Xoff
Parity Even

To change to 7 data bits, I have to switch to software controlled, and ...
by mrclauds
Fri Jan 27, 2012 11:30 am
Forum: Flowcode V4
Topic: Strange LCD Problem
Replies: 5
Views: 4540

Re: Strange LCD Problem

Hi Benj

The flasher test works perfectly...
I made a breadboard to test LCD on PortB and that works perfectly...
Must be the resistor missing... Never read that in the data sheet though?

Still confuses me though...
The LCD displays on PortA with no problems when I've got my entire program loaded ...
by mrclauds
Tue Jan 24, 2012 5:41 pm
Forum: Flowcode V4
Topic: Strange LCD Problem
Replies: 5
Views: 4540

Re: Strange LCD Problem

Hi Benj

Still to no avail...
These are my details and what i've tried...
PIC16F877A
20mhz Oscillator
LCD:
data 1 A2
data 2 A3
data 3 A4
data 4 A5
RS A0
Enable A1

My clock speed has been tried at 20000000 and 19660800
I'm running HS with everything else diabled and off in chip options
Oscillator at ...
by mrclauds
Tue Jan 24, 2012 9:20 am
Forum: Flowcode V4
Topic: Strange LCD Problem
Replies: 5
Views: 4540

Strange LCD Problem

Hey guys

I have a strange problem...
I've got a RFID terminal running with an LCD that I need to alter the coding...
The flow code is as follows:

String Manipulation
LCD Start
RFID Initialise
LCD cursor set
Connection Point
String Maipulation
LCD clear
LCD Print ASCII
1s Delay
While Loop

If I ...
by mrclauds
Tue Jun 28, 2011 12:50 pm
Forum: Flowcode V4
Topic: Hitag 2 RFID help
Replies: 5
Views: 4069

Re: Hitag 2 RFID help

Thanks very much :)
by mrclauds
Mon Jun 27, 2011 9:46 pm
Forum: Flowcode V4
Topic: Hitag 2 RFID help
Replies: 5
Views: 4069

Re: Hitag 2 RFID help

Thanks Benj

I was thinking of changing the pc comms over to bit banged and keep the rfid on UART...
Is there any reason why I shouldn't?
I assume the reliability of the bit banged protocol is as good as the inbuild UART provided the coding is well done right?
If so, then it will be simpler to have ...
by mrclauds
Sat Jun 25, 2011 9:06 pm
Forum: Flowcode V4
Topic: Hitag 2 RFID help
Replies: 5
Views: 4069

Re: Hitag 2 RFID help

I've managed to come right with regards to reading the rfid tag using lots of trial and error...
I'm still stuck with regards to using the rfid without using the chips UART though?

Am i going to have to bit bang each command individually?
Or can I still use the standard RFID macros somehow?

Thanks ...
by mrclauds
Sat Jun 25, 2011 8:03 am
Forum: Flowcode V4
Topic: Hitag 2 RFID help
Replies: 5
Views: 4069

Hitag 2 RFID help

Hi everyone...

Im struggling with the rfid a little and was hoping someone could give me some guidance...
The module I am using is : http://docs-europe.electrocomponents.com/webdocs/0813/0900766b80813104.pdf
Pic16F877A

I've gone through the examples and cant seem to make heads or tails out of it ...
by mrclauds
Tue Jun 07, 2011 12:21 pm
Forum: Flowcode V4
Topic: Pickit 3 problem with hex file?
Replies: 8
Views: 6533

Re: Pickit 3 problem with hex file?

Hi Benj

I had my antivirus disabled and still could not get it to work...
I played in pk3cmd and manually tried a bunch of options and finally came right...

I had to change my parameters, but now have it working...
I changed it from:
-P%p -F%f.hex -E -M -Y

to:
-P%p -F"%f.hex" -E -M -Y"%f.hex ...
by mrclauds
Tue Jun 07, 2011 10:37 am
Forum: Flowcode V4
Topic: Pickit 3 problem with hex file?
Replies: 8
Views: 6533

Re: Pickit 3 problem with hex file?

Hi Benj

I was able to program the microcontroller by compiling in Flowcode, opening the asm file and then copy and paste to a project through MPlab..
It worked perfectly... So there is def no problem with MPlab or pickit...

I have also not moved any files on any programs at all, much less flowcode ...
by mrclauds
Tue Jun 07, 2011 9:19 am
Forum: Flowcode V4
Topic: Pickit 3 problem with hex file?
Replies: 8
Views: 6533

Re: Pickit 3 problem with hex file?

Hi

Yes, exactly the same... even redownloaded the pickit 3 zip file to make sure...?
Running windows XP...

The only change I've made since I last used flowcode was that I installed a usb to serial converter driver...
Could this be the problem?

Thanks
Clauds
by mrclauds
Mon Jun 06, 2011 7:10 pm
Forum: Flowcode V4
Topic: Pickit 3 problem with hex file?
Replies: 8
Views: 6533

Pickit 3 problem with hex file?

Hi everyone...

Need some help quickly...
I've been using a pickit 3 to download my programs to the ucontroller...
I last used it 2 weeks ago and today when I tried to download it, it simply says:

Return code = 0

Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools ...