Search found 24 matches

by CRAIG CHAMBERLAIN
Sun Mar 03, 2013 4:50 am
Forum: Flowcode V4
Topic: Sampling of AN0 and displaying on LCD
Replies: 4
Views: 3896

Re: Sampling of AN0 and displaying on LCD

Martin,
Thank you,
That was a sticking point to a much larger program.
Is it not recommended, or just not possible to use the same port for
the A/D and display?
-Craig
by CRAIG CHAMBERLAIN
Sat Mar 02, 2013 5:28 am
Forum: Flowcode V4
Topic: Sampling of AN0 and displaying on LCD
Replies: 4
Views: 3896

Sampling of AN0 and displaying on LCD

Hello, I am trying to just sample a 16f877A AN0, and display it on a 2 x 16 LCD. I have done that, but now I am trying to show the digits behind the decimal point. I cannot seem to use float to string to accomplish this, Can someone show me a sample of this? There is something basic I am missing. I ...
by CRAIG CHAMBERLAIN
Fri Feb 15, 2013 8:00 am
Forum: General Programming
Topic: Flowcode 4 Documentation
Replies: 2
Views: 2504

Re: Flowcode 4 Documentation

Acestu,
I didn't see the downloadable program, I thought it was only online.
I've got it now, Thanks!
-Craig
by CRAIG CHAMBERLAIN
Thu Feb 14, 2013 1:32 am
Forum: General Programming
Topic: Flowcode 4 Documentation
Replies: 2
Views: 2504

Flowcode 4 Documentation

Hello,
When I first bought my copy of Ver 4, I must have downloaded a version of a program called "intro to FlowCode programming".
It was an executable. You did not have to be online to use it. Is there a way to get another copy of this? I lost it in a system crash.

Thanks,
Craig C
by CRAIG CHAMBERLAIN
Sun Dec 11, 2011 3:57 am
Forum: Flowcode V4
Topic: 16F877A A/D question
Replies: 7
Views: 5552

Re: 16F877A A/D question

Martin,
Thanks, works for me to.
What are the components after the loop for?
And how could the program get there?
Thanks,
-Craig
by CRAIG CHAMBERLAIN
Sat Dec 10, 2011 8:49 am
Forum: Flowcode V4
Topic: 16F877A A/D question
Replies: 7
Views: 5552

Re: 16F877A A/D question

Hi Martin. I plan on using a multiplexor to send in the input signal to whatever is the best A/D to use. The output of the multiplexor will be in tristate until I do a read of whatever channel. Is there a way to access the a/d inputs on ports other than A? I don't see the option on the component mac...
by CRAIG CHAMBERLAIN
Fri Dec 09, 2011 5:22 am
Forum: Flowcode V4
Topic: 16F877A A/D question
Replies: 7
Views: 5552

Re: 16F877A A/D question

Hey, Werner!
Thanks for the input. If you simmed it, I would imagine it will work.
I"ll give it a shot.
-Craig
by CRAIG CHAMBERLAIN
Fri Dec 09, 2011 2:39 am
Forum: Flowcode V4
Topic: 16F877A A/D question
Replies: 7
Views: 5552

16F877A A/D question

Hi All!
Is it possible to use a A/D on Port A when running the 16 X 2 LCD on port A as well?
If not, what would be recommended?
Thanks,
-Craig
by CRAIG CHAMBERLAIN
Thu Dec 08, 2011 9:30 am
Forum: Flowcode V4
Topic: 16F877A project
Replies: 4
Views: 3306

Re: 16F877A project

Ben, I believe you may not understand my goal. I want to be able to use 4 control lines to control a 1 of 16 analog switch, which will control which signal is read by the micro. I'll only be using 1 analog input. It sounds like you are proposing a form of window comparator. Which does give me an ide...
by CRAIG CHAMBERLAIN
Sat Dec 03, 2011 4:15 am
Forum: Flowcode V4
Topic: 16F877A project
Replies: 4
Views: 3306

Re: 16F877A project

Ben,
Thanks for the reply.
Not quite sure what you mean by reading the ADC as a byte. Are you saying use the address of the data to select a switch perhaps?
I'm no neophyte, But you left me in the dust on this one!
-Craig
by CRAIG CHAMBERLAIN
Wed Nov 30, 2011 9:52 am
Forum: Flowcode V4
Topic: 16F877A project
Replies: 4
Views: 3306

16F877A project

I have a 16F877A project that uses a 3 way rotary switch. Does something like this exist? Can I make one without knowing C? Or just stick with 3 standard switches and live with it? Not a big problem now that I think about it. Question 2: It would be very handy for me to be able to Sim a signal multi...
by CRAIG CHAMBERLAIN
Sat Nov 26, 2011 11:39 pm
Forum: Flowcode V4
Topic: Connection Points
Replies: 2
Views: 4215

Connection Points

Hi all!
Is it possible to use connection points to jump from one macro to another?
It didn't work for me anyway. Am I missing declaring them correctly?
If not, what is the best way to accomplish this?
Thanks,
Craig
by CRAIG CHAMBERLAIN
Fri Nov 25, 2011 7:15 am
Forum: General Programming
Topic: LED program locks FC
Replies: 1
Views: 2216

LED program locks FC

I was doing the LED exercise in the intro course. Trying to run a program to display 1234. This would instantly lock the program, and could only be shut down by ctr-alt-del, and cancelling in "applications running". Sometimes only resetting the computer. I simplified to a single digit, and it does d...
by CRAIG CHAMBERLAIN
Sat Nov 12, 2011 9:38 am
Forum: Flowcode 4 Bugs
Topic: LCD test program works on simulator,
Replies: 13
Views: 15828

Re: LCD test program works on simulator,PROBLEM SOLVED!

Martin,
First I re-connected the write line as it was toggling, and I thought maybe it need that. It did. No it doesn't make sense.
It also needed the one piece of code then that you supplied making the RA2 R/W line low.
Now I have a working LCD.
Thanks for your help!
-Craig
by CRAIG CHAMBERLAIN
Thu Nov 10, 2011 5:39 am
Forum: Flowcode 4 Bugs
Topic: LCD test program works on simulator,
Replies: 13
Views: 15828

Re: LCD test program works on simulator,

I do get a top row of filled segments when i crank up the contrast.
-craig
by CRAIG CHAMBERLAIN
Tue Nov 08, 2011 8:56 am
Forum: Flowcode 4 Bugs
Topic: LCD test program works on simulator,
Replies: 13
Views: 15828

Re: LCD test program works on simulator,

Martin, I tried your program with the same results, no output, even garbage or otherwise. I had pulled RA2 to ground. The QL200 has jumpers to connect or disconnect the display pins to the ports. I pulled the jumper to RA2 off, and connected the display side of the the jumper pins RA2 (R/W) by wire ...
by CRAIG CHAMBERLAIN
Mon Nov 07, 2011 6:54 am
Forum: Flowcode 4 Bugs
Topic: LCD test program works on simulator,
Replies: 13
Views: 15828

Re: LCD test program works on simulator,

Martin & Steve, Thanks for your input to date, it has been very helpful. I must be very close to getting it now. I was using incorrect pin assignments. All the data pins were wrong. The switch has been been re-assigned to RB0 only on Port B. RA4 is pulled up. I even tried pulling the chip, putting i...
by CRAIG CHAMBERLAIN
Sun Nov 06, 2011 5:19 am
Forum: Flowcode 4 Bugs
Topic: LCD test program works on simulator,
Replies: 13
Views: 15828

Re: LCD test program works on simulator,

Steve, "Of you have the connection pins wrong for the LCD within Flowcode". I have set the options of LVP, WDT, etc set "off". or disabled. so that shouldn't be an issue. Also I do have the "Start LCD" command in place, and as I said, it is working on the Sim. But on assigning the port pins I was of...
by CRAIG CHAMBERLAIN
Thu Nov 03, 2011 10:51 pm
Forum: Flowcode 4 Bugs
Topic: LCD test program works on simulator,
Replies: 13
Views: 15828

LCD test program works on simulator,

But not on my Ql200 board. But it seems to be trying, the data lines are toggling to port b, but except for the back light. it's blank. I did run the 1 led blinker at 1hz test, on the sim and on the QL200,and the clock *seems* OK. It was blinking at the same rate as the sim. The Sheep counter exerci...
by CRAIG CHAMBERLAIN
Thu Aug 04, 2011 5:20 am
Forum: General Programming
Topic: DELETE THIS POST
Replies: 4
Views: 3804

Re: Is there a way to simulate....

Let me try to make my question a bit clearer. i am using a 16f877a. I will be multiplexing 14 analog signals to a a/d input on the Micro. There are also switches as part of the input controls as well. I then plan on comparing the sensor numbers, and have the program change the outputs in response. S...
by CRAIG CHAMBERLAIN
Wed Aug 03, 2011 4:41 am
Forum: General Programming
Topic: DELETE THIS POST
Replies: 4
Views: 3804

DELETE THIS POST

a 74HC4067 multiplexor?
Kind of like the switches, LEDS Etc, provided by FC for the on screen component board.

Or even a way via straight FC, maybe creating a macro?

Thanks in advance.
Craig
1
by CRAIG CHAMBERLAIN
Wed Jul 06, 2011 5:47 pm
Forum: Flowcode V4
Topic: QL200 Wont Connect
Replies: 6
Views: 4908

Re: QL200 Wont Connect

John,
Thanks, I understand what you are saying.
I have written a test program and loaded it in via the QL200.
All is a go! thanks again!
-Lisa
by CRAIG CHAMBERLAIN
Mon Jul 04, 2011 5:00 am
Forum: Flowcode V4
Topic: QL200 Wont Connect
Replies: 6
Views: 4908

Re: QL200 WONT CONNECT

Thank you! Very informational. It's good to know I can still use the QL200. As far as the addressing goes, " Before compiling you will have to make sure the connections on your board match the flowcode components. i.e. for the LCD RS = Bit4 Enable = Bit5." Does Flowcode not start addressing at 1 ins...
by CRAIG CHAMBERLAIN
Sun Jul 03, 2011 10:38 am
Forum: Flowcode V4
Topic: QL200 Wont Connect
Replies: 6
Views: 4908

QL200 Wont Connect

Hello all.
I have 2 Questions
1) I can connect via USB connector with matrix eb-006 multiprogrammer board,
but with the QL200 I am getting a "USB not connected" error.

Does Flowcode 4 support RS 232 (DB-9) connections?
Thanks,
Lisa L