Search found 67 matches

by alanwms
Mon Jun 21, 2021 3:57 pm
Forum: Flowcode V5
Topic: Hex compile error
Replies: 6
Views: 5033

Re: Hex compile error

Thanks Martin
by alanwms
Mon Jun 21, 2021 3:11 am
Forum: Flowcode V5
Topic: Hex compile error
Replies: 6
Views: 5033

Re: Hex compile error

The converted file is working for me - A few hickupps, mainly for the analog inputs. I used to have a number in the program looking for <1500. Now that code only works with <500. I think I have concluded that the FC9 thinks that the pic18f2553 is an 8 bit analog - It's actually 12 bits (4096) I'm tr...
by alanwms
Fri Jun 18, 2021 10:00 pm
Forum: Flowcode V5
Topic: Hex compile error
Replies: 6
Views: 5033

Re: Hex compile error

Thanks Martin - How did you convert to FC9?
by alanwms
Fri Jun 18, 2021 1:50 am
Forum: Flowcode V5
Topic: Hex compile error
Replies: 6
Views: 5033

Hex compile error

Hello - I'm working with FC5 due to an old program I am updating. A few questions: 1. The program will not compile to Hex - Give me an error 120 telling me about C code. I do have I block with C code changing the osccon and intcon. I deleted this block, and the 120 error remains. 2. Can this program...
by alanwms
Sat Jan 16, 2021 5:10 pm
Forum: Flowcode V8
Topic: FC9
Replies: 1
Views: 1294

FC9

I apparently can't post in the FC9 forum so I will just leave this here. See Jpeg file attachment. When creating a new variable, I pressed the "?" button which presented me with the web help page. I subsequently clicked on the main page which gave it focus and caused the :create new variable" box to...
by alanwms
Sun Nov 29, 2020 3:15 am
Forum: Flowcode V7
Topic: Non Technical Question regarding FC7
Replies: 1
Views: 3391

Non Technical Question regarding FC7

I spent about 30 minutes on the website attempting to purchase the FC 7 Test/Debug key, and failed to find out how to do that.

Two things - 1) Can you help me with that? 2) is it time to make that a little easier to handle?
by alanwms
Sun Nov 29, 2020 3:12 am
Forum: Flowcode V7
Topic: 16 bit hints regarding PWM
Replies: 2
Views: 3371

Re: 16 bit hints regarding PWM

Thanks a lot for verifying this Chip!

Units would have helped me.
by alanwms
Sat Nov 28, 2020 4:51 am
Forum: Flowcode V7
Topic: 16 bit hints regarding PWM
Replies: 2
Views: 3371

16 bit hints regarding PWM

Hello Ben. I'm having difficulty figuring out the frequency for a PWM output. I'm not sure how the "Period calc" equates to the "frequency_Calc" when the explanation hint pops up. By the way, these hints don't stay long enough on the screen to read the whole story in one shot. Quite the chore for lo...
by alanwms
Mon Jul 13, 2020 3:11 pm
Forum: Flowcode V7
Topic: Timer Counter in Sim
Replies: 6
Views: 5602

Re: Timer Counter in Sim

Thanks - That helps a lot.
by alanwms
Sun Jul 12, 2020 5:21 pm
Forum: Flowcode V7
Topic: Timer Counter in Sim
Replies: 6
Views: 5602

Re: Timer Counter in Sim

Thanks - I do understand interrupts. What I am attempting to do is count hardware pulses into the timer. I'm not sure how to do that in sim. I have: 1. Attempted to setup the timer 0 interrupt with a transition on T0CK1 pin and connect a simulator switch to that pin. Regardless, the interrupt happen...
by alanwms
Thu Jul 02, 2020 2:56 am
Forum: Flowcode V7
Topic: Timer Counter in Sim
Replies: 6
Views: 5602

Timer Counter in Sim

Hello Ben - Just doing a simple test to understand the timer capabilities, and can't get the Ulong_timer variable to update. It's always at zero- am I missing something?
I did try enabling the timer interrupt to no avail.
by alanwms
Thu Dec 26, 2019 5:41 pm
Forum: Flowcode V7
Topic: Interrupt Frequency
Replies: 3
Views: 3359

Re: Interrupt Frequency

Thanks Ben - Merry Christmas.
by alanwms
Sun Dec 22, 2019 5:11 am
Forum: Flowcode V7
Topic: Interrupt Frequency
Replies: 3
Views: 3359

Interrupt Frequency

Clock Speeds.jpg
Clock Speeds.jpg (42.38 KiB) Viewed 3359 times
Hello Ben:

With an interrupt that is hartware driven (Interrupt on Pin 1), how come the timer interrupt parameters show 15 Hz?
I suspect that this is a mistake since it never changed even if I change the project clock speeds. Can you help me understand that?
by alanwms
Sat Nov 23, 2019 2:52 am
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 5368

Re: PIC18f2553 RE3/Mclr

Thank you very much Ben. That removes the question for me. I will check the docs you reference.
by alanwms
Thu Nov 21, 2019 9:44 pm
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 5368

Re: PIC18f2553 RE3/Mclr

Thanks Ben - Here are my files I call "Musings" because I change lots of stuff in order to attempt resolve.
by alanwms
Wed Nov 20, 2019 7:27 pm
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 5368

Re: PIC18f2553 RE3/Mclr

Thank you Ben. The system compiles now. The reason I was doing this is because I can get the system to reset by a low signal on the pin (mclr). My thought were that making this an input would resolve the issue. Unfortunately it didn't. I can still get the system to reset under a low condition on the...
by alanwms
Tue Nov 19, 2019 5:21 am
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 5368

Re: PIC18f2553 RE3/Mclr

Thanks you. I will attempt that resolve. On another note - I think (maybe) that the project option config which disables mclr in leu for Re3 is not working. I think that the mclr pin is still an mclr pin? I can get the pic to reset using this pin. To be clear - It will compile with the Re3 pin selec...
by alanwms
Sat Nov 16, 2019 6:36 pm
Forum: Flowcode V7
Topic: PIC18f2553 RE3/Mclr
Replies: 9
Views: 5368

PIC18f2553 RE3/Mclr

Attempting to read RE3 but the compiler refuses to compile. See bellow picture. Any thoughts?
RE3-MCLR.jpg
RE3-MCLR.jpg (62.09 KiB) Viewed 5363 times
by alanwms
Mon Nov 11, 2019 9:51 pm
Forum: Flowcode V7
Topic: 2D Simulation
Replies: 1
Views: 2378

2D Simulation

Hello - I have looked around for forum hints on simulation problems and have not concluded. Here is my problem: Simulator works if I step through a program. Running a program at speeds causes the components (Switches/Led's) not to graphically update. I do believe that the switches are recognized by ...
by alanwms
Mon May 13, 2019 4:24 pm
Forum: Flowcode V7
Topic: PIC18F2553 ADC and VREF
Replies: 2
Views: 3591

Re: PIC18F2553 ADC and VREF

Hmmm - The chip is running internal 8mhz oscillator. But good thoughts regarding acq time and speed.
by alanwms
Thu May 09, 2019 11:06 pm
Forum: Flowcode V7
Topic: PIC18f2553 C4 and C5 outputs Versus USB
Replies: 0
Views: 4293

PIC18f2553 C4 and C5 outputs Versus USB

Hello (Ben): I have difficulties getting the I/O points C4/C5 working correctly, and I think it is due to the USB which is assigned to the same port pins (which are only inputs for me). I have studied the forum which is where I concluded my issue, and attempted the C code for disabling the USB witho...
by alanwms
Sat Apr 13, 2019 9:33 pm
Forum: Flowcode V7
Topic: Interrupt difficulies pic18f2553
Replies: 3
Views: 3561

Re: Interrupt difficulies pic18f2553

Oops - Actually, I turned off the computer and restarted to resolve the issue.
by alanwms
Sat Apr 13, 2019 9:32 pm
Forum: Flowcode V7
Topic: Interrupt difficulies pic18f2553
Replies: 3
Views: 3561

Re: Interrupt difficulies pic18f2553

Thanks for checking Ben - I'm running 7.3.07 already. Maybe something of a squirrel in my software?
by alanwms
Sat Mar 30, 2019 7:30 pm
Forum: Flowcode V7
Topic: PIC18F2553 ADC and VREF
Replies: 2
Views: 3591

PIC18F2553 ADC and VREF

Hello Ben. I have the zipped patches in my FC7 file but still having an issue specifically with analog3 on the pic18f2553. I have a temp sensor connected to AN3, and I have a voltage emanating from the pin. The voltage should be .7v and it is actually around 3.5v I'm not sure but it looks to me like...
by alanwms
Sat Mar 23, 2019 4:42 am
Forum: Flowcode V7
Topic: Local Variables in Simulation
Replies: 4
Views: 4618

Re: Local Variables in Simulation

My .local_variables don't show in FC7.3 when I manually enter the .local_variable