Search found 7 matches

by pheelius
Fri Oct 19, 2007 6:50 pm
Forum: Flowcode V2 & V3
Topic: PIC18F2431 PWM
Replies: 3
Views: 4086

PIC18F2431 PWM

How does one access all five of the PIC18F2431's PWM outputs, also everytime I bring the macro up it says disabled??
by pheelius
Mon Jul 02, 2007 12:05 am
Forum: Flowcode V2 & V3
Topic: Adding 18F2553 to Flowcode
Replies: 2
Views: 3010

Adding 18F2553 to Flowcode

Is it possible for an end user to add a chip to flowcode V3 that isn't already included, in this case I want to add the 18F2553 which is identical to the already supported 18F2550 except for its ADCs are 12 bit.
by pheelius
Fri Jun 29, 2007 7:09 pm
Forum: Flowcode V2 & V3
Topic: PIC18F2523 12 bit adc
Replies: 5
Views: 4953

Found what else you need to do, at the beginning of the fcd files you also need to change the line:

ADCBits=10

to

ADCBits=12


javascript:emoticon(':D')
Very Happy :D
by pheelius
Fri Jun 29, 2007 6:15 pm
Forum: Flowcode V2 & V3
Topic: PIC18F2523 12 bit adc
Replies: 5
Views: 4953

i've just tried what you suggested but when I read the adc of a pic18f2523 as an integer and display it in on an lcd I still only get a 10 bit value.
by pheelius
Fri Jun 29, 2007 3:43 pm
Forum: Flowcode V2 & V3
Topic: PIC18F2523 12 bit adc
Replies: 5
Views: 4953

PIC18F2523 12 bit adc

Is there any way of accessing the full 12 bits of the PIC18F2523's ADC, it seems to be restricted to the usual 10bits of the majority of the PICs.
by pheelius
Fri Sep 22, 2006 12:22 pm
Forum: Electronics products
Topic: PIC ADC question
Replies: 1
Views: 6107

PIC ADC question

Can one drive an adc pin from the output of an opamp or does one need to put a resistance/filter between them for proper operation?
by pheelius
Sat Apr 22, 2006 8:19 pm
Forum: Flowcode V2 & V3
Topic: 16 bit math in flowcode
Replies: 1
Views: 4104

16 bit math in flowcode

One can do 16 bit math in flowcode using the c box, here is an example of the code needed for the 10 bit ADC: int a, b, c, d, e, f, g, h, i, j; a=((4*FCV_ADCH) + (FCV_ADCL/64)); b=a/1000; c=1000*b; d=a-c; e=d/100; f=100*e; g=d-f; h=g/10; i=10*h; j=g-i; FCV_A=b; FCV_B=e; FCV_C=h; FCV_D=j; there is pr...