Search found 13 matches

by barryw
Tue Sep 27, 2011 10:29 am
Forum: Flowcode V4
Topic: input and output on same port pin
Replies: 1
Views: 1831

input and output on same port pin

Hi, I'm trying to use the same port pin as a digital in and out. however as soon as I set the port to give an output it resets back to an input on the next instruction, do I need to use soms ASM code to reset the pin to an output for a duration , then use ASM again to reset to an input?
if so can ...
by barryw
Tue Sep 06, 2011 3:26 pm
Forum: Flowcode V4
Topic: PIC10F200 missing files
Replies: 6
Views: 3964

Re: PIC10F200 missing files

Hi Ben

Many Thanks for that, I will try a larger device.

Barry W
by barryw
Tue Sep 06, 2011 2:58 pm
Forum: Flowcode V4
Topic: PIC10F200 missing files
Replies: 6
Views: 3964

Re: PIC10F200 missing files

Hi Ben,

Many thanks for that.

That worked for the OSCCAL and GPIO OK but now get this :-
Launching the compiler...

C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe --CHIP=10F200 -N48 Kojak1.c

C:\Program Files\Matrix Multimedia\Flowcode V4\FCD\internals.h: 176: (1360) no space for auto ...
by barryw
Tue Sep 06, 2011 2:32 pm
Forum: Flowcode V4
Topic: PIC10F200 missing files
Replies: 6
Views: 3964

Re: PIC10F200 missing files

Hi Ben,

Have setup the HI-TECH compiler and now get error message

Launching the compiler...

C:\Program Files\HI-TECH Software\PICC\9.70\bin\picc.exe --CHIP=10F200 -N48 Kojak1.c

Kojak1.c: main()

56: osccal = osccal & 0xFE;

^ (192) undefined identifier "osccal"

89: gpio = (gpio & 0xfb ...
by barryw
Fri Sep 02, 2011 8:11 am
Forum: Flowcode V4
Topic: PIC10F200 missing files
Replies: 6
Views: 3964

PIC10F200 missing files

Hi I have just updated my Flowcode V4 and have selected a PIC10F200, came to compile to hex and got report that, boostc/include PIC10F200 file missing,
will please direct me to a download of the PIC10F include files.

Many Thanks

BarryW
by barryw
Tue May 17, 2011 8:04 am
Forum: Flowcode V4
Topic: Hi tech Compiler V9.81
Replies: 8
Views: 4433

Re: Hi tech Compiler V9.81

Hi Guys, Well it seems as if the 16F1827 is the way to go with this, there will be a lot of redundant menory bu what the heck, Also when I tried to use the 16F1826 with 1 PWM it would not compile as it did not recconise, the ccp2 commands.
what is the work round for this?

many thanks to all
by barryw
Mon May 16, 2011 3:54 pm
Forum: Flowcode V4
Topic: Hi tech Compiler V9.81
Replies: 8
Views: 4433

Re: Hi tech Compiler V9.81

Hi Ben,
Attached is the file i'm trying to compile, it seems as if it is ccp2 that is not reconised

regards

barry
by barryw
Mon May 16, 2011 12:00 pm
Forum: Flowcode V4
Topic: Hi tech Compiler V9.81
Replies: 8
Views: 4433

Re: Hi tech Compiler V9.81

Hi Ben,
Well I found a typo in the compiler Parameters, have corrected it and now get
(908) Exit status = 1
when I try to compile. any ideas.
many thanks

Barry
by barryw
Mon May 16, 2011 9:41 am
Forum: Flowcode V4
Topic: Hi tech Compiler V9.81
Replies: 8
Views: 4433

Hi tech Compiler V9.81

Hi I'm trying to compile to a PIC16F1826 with a bit of code writen for a 16f 818, have installed the compiler but get the message
(902) no chip name specified; use "PICC--CHIPINFO" to see availble chip names.

What am I not doingcorrectly?
by barryw
Fri Oct 08, 2010 7:37 am
Forum: Flowcode V4
Topic: ADC and External Vref
Replies: 1
Views: 2120

ADC and External Vref

Hi, Got a small problem in that the Vcc of my PIC is unstable so I need to use an external Reference voltage for my ADC ( this a battery powered circuit)
so how do I set up my ADC to use Vref+ on AN3, I am assuming that it will have to be done with a "C" statement. The PIC is a 18F819 and only AN0 ...
by barryw
Sun Jun 20, 2010 6:03 pm
Forum: Flowcode V4
Topic: Port C on PIC18F2420 not working
Replies: 3
Views: 2776

Re: Port C on PIC18F2420 not working

port c test.fcf
Hi Ben,
I hope the attachment is ok as I an not used to this froum. As I said all works well in simlation but not in hardware. I had tried to use port c for the display
and noticed that leds connected to bort b (bits 2 & 3 ) were misbehaving too wilst in simulation.
Regards

Barry w
by barryw
Thu Jun 17, 2010 8:14 pm
Forum: Flowcode V4
Topic: Port C on PIC18F2420 not working
Replies: 3
Views: 2776

Port C on PIC18F2420 not working

I have a problem in that the port C on a PIC18F2420 can't be controled! all works in simulation however once the program is compiled port C seems to be switched to all output's set to low, port A & B are OK (in and outputs on port A OK, LCD connected to port B is also OK) I have tried to set port C ...
by barryw
Thu Mar 25, 2010 10:17 am
Forum: Flowcode V4
Topic: 81F1220
Replies: 1
Views: 1950

81F1220

Hi,
I have a major problem in that I cannot get a PIC18F1220 to run even a simple program, I have set the osccon to 0x62 which is supposed to select theinternal osc and run at 4mHz, disabled the watchdog and LVP, but can't get any joy. I have tried with 5 chips but get the same non result. Is there ...