Search found 4 matches

by jbaldi
Tue Dec 20, 2011 11:23 pm
Forum: Flowcode V4
Topic: 18F46K22 FVR ADC Issue
Replies: 2
Views: 2274

Re: 18F46K22 FVR ADC Issue

I'm still getting the same result = 768 = 1100000000b. Could it be that ASRESL or ADRESH isn't getting set properly depending on what the ADFM bit is set to?
by jbaldi
Wed Dec 14, 2011 4:51 pm
Forum: Flowcode V4
Topic: 18F46K22 FVR ADC Issue
Replies: 2
Views: 2274

18F46K22 FVR ADC Issue

I have been trying to turn on and use FVR (@ 4.096V) on a 18F46K22 using some suggestions for other devices in other posts on this forum but not having any luck. I have code compiled with the CCS compiler that is getting a value of 1023 on AN0 and I'm trying to get the same results in Flowcode but t...
by jbaldi
Wed Aug 17, 2011 7:39 pm
Forum: C and ASM Programming
Topic: Updating FCV from C
Replies: 3
Views: 13034

Re: Updating FCV from C

Thanks. I didn't realize that the simulator doesn't simulate C.
by jbaldi
Tue Aug 16, 2011 9:31 pm
Forum: C and ASM Programming
Topic: Updating FCV from C
Replies: 3
Views: 13034

Updating FCV from C

I'm trying to update flow code variables from my C code but it's not working. For example when using FCV_MYINT = 5; in C I always get MYINT == 0 in flow code.