Search found 20 matches

by K9ACT
Mon Oct 28, 2013 8:38 pm
Forum: Flowcode V6
Topic: Examples and Macros
Replies: 9
Views: 6450

Re: Examples and Macros

Did you mean literally that you quickly put that together between the time I posted and your posting?
If so, that's awesome. If not, it just real cool.

So my first question is: where did you find the Segrefresh macro?

Jack
by K9ACT
Mon Oct 28, 2013 5:40 pm
Forum: Flowcode V6
Topic: Examples and Macros
Replies: 9
Views: 6450

Re: Examples and Macros

Can't open the file and get the same message I get from most of the examples.

Attribute <array> not found.

Jack
by K9ACT
Mon Oct 28, 2013 5:34 pm
Forum: Flowcode V6
Topic: Examples and Macros
Replies: 9
Views: 6450

Re: Examples and Macros

Thanks. Will give it a go.

js
by K9ACT
Mon Oct 28, 2013 5:01 pm
Forum: Flowcode V6
Topic: Examples and Macros
Replies: 9
Views: 6450

Re: Examples and Macros

Using V6 trial program.

js
by K9ACT
Mon Oct 28, 2013 4:52 pm
Forum: Flowcode V6
Topic: Examples and Macros
Replies: 9
Views: 6450

Examples and Macros

I have looked at the examples files and don't find what I am looking for and assume there are lots more out there somewhere.

Is there an archive somewhere?

Right now I am looking for a simple event counter, i.e. switch input, 7 seg output.

Thanks,

js
by K9ACT
Mon Oct 28, 2013 4:48 pm
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Re: Flowcode V6 From Scratch

I really want 130C but the 20mV per byte is the show stopper here. You can use GetInt instead of GetByte Resolution of GetInt is: 5/1023 = 4.89mV If you do then you will need to change Read_Adc variable from Byte (0to 255) to Int (0 to 1023) Great! works fine in sim but seems to be backwards in har...
by K9ACT
Mon Oct 28, 2013 12:52 am
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Re: Flowcode V6 From Scratch

I guess I misunderstood the objective. I was thinking this was a hi/lo limit that would turn on the LED when above or below the limits. Now that I understand that, I don't understand why setting the low to go on instead of off does not make it a hi/lo limit. Aside from that, it is running properly i...
by K9ACT
Sun Oct 27, 2013 7:07 pm
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Re: Flowcode V6 From Scratch

I fixed a bunch of problems while you were typing I guess. The one question I am not making clear is on the LED connection to the 675. I know how to change it but I do not understand what determines which pin I am supposed to use. I use AN0 for input, vcc and ground but which is of the ones left can...
by K9ACT
Sun Oct 27, 2013 5:38 pm
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Re: Flowcode V6 From Scratch

Attached is my latest. As you can see, I still have a re-sizing problem with the analog input.

I still do not understand how I determine which pins to connect the leds to. The input is obvious but the output is not.

The sim runs but I have no control over the pot.

js
by K9ACT
Sun Oct 27, 2013 4:44 pm
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Re: Flowcode V6 From Scratch

Just a quick question before you go to bed. I will work through your new stuff in the meantime. It is not obvious to me what the difference between the dashboard and system panel is and why you changed for this project. Nor do I understand why or how the program knows or cares about the current limi...
by K9ACT
Sun Oct 27, 2013 6:27 am
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Flowcode V6 From Scratch

Very good stuff Martin. I really appreciate this. Technically, I got as far as the LED's but I have no idea what to use for the output from the 675 to drive them. Also, I seem to have many more than two of them so I keep getting no connection warnings when I try run it. From a practical standpoint, ...
by K9ACT
Sun Oct 27, 2013 6:09 am
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Flowcode V6 From Scratch

Have you seen this : http://www.youtube.com/watch?v=Xh68YXcT ... T38LfzIy0Q ? I have looked at these videos on 4 different computers and they are all so out of focus that they are useless. Must be something I am doing wrong if they look good to others. Any ideas? js Your link is not working. Don't ...
by K9ACT
Sat Oct 26, 2013 6:44 pm
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Flowcode V6 From Scratch

Have you seen this :
http://www.youtube.com/watch?v=Xh68YXcT ... T38LfzIy0Q
?

I have looked at these videos on 4 different computers and they are all so out of focus that they are useless.

Must be something I am doing wrong if they look good to others.

Any ideas?

js
by K9ACT
Sat Oct 26, 2013 6:17 pm
Forum: Programming Tips & Tricks
Topic: Flowcode V6 From Scratch
Replies: 17
Views: 19352

Flowcode V6 From Scratch

Thanks so much Martin. I will check out the other links but I went right to your tutorial and it's exactly the sort of thing I need. So now I have an ADC whose input is assigned but I am not sure where the output is or what I can do with it. I assume the red pot is to simulate a variable input? The ...
by K9ACT
Sat Oct 26, 2013 3:23 pm
Forum: General Programming
Topic: LM34 Temp sensor
Replies: 27
Views: 26733

Re: LM34 Temp sensor

I believe that's a bit harsh Jack, as the people your calling "idiots" are trying to help you. Many of those people e.g VC members and other forum users give up their free time to help as we are not employed By Matrix. My apologies to the group if it was taken as referring to them. I was referring ...
by K9ACT
Sat Oct 26, 2013 2:35 am
Forum: General Programming
Topic: LM34 Temp sensor
Replies: 27
Views: 26733

Re: LM34 Temp sensor

I downloaded your program and diddled with it a bit but have no idea of how this all goes together and am getting totally frustrated again trying to learn even this seemingly simple method. As one able to retire at 40 after a successful career manufacturing computer chips, I always thought I was pre...
by K9ACT
Wed Oct 23, 2013 4:01 pm
Forum: General Programming
Topic: LM34 Temp sensor
Replies: 27
Views: 26733

Re: LM34 Temp sensor

I am looking to make a greenhouse environmental controller and am thinking of using a PIC and was wondering if anyone has had experience with LM34 temp sensor (Fahrenheit readings) Also looking for a humidity sensor. Any help with experiences with this would be greatly appreciated . 8) Bill Funny y...
by K9ACT
Wed Oct 23, 2013 3:25 pm
Forum: Flowcode V6
Topic: First PIC Program
Replies: 6
Views: 4328

Re: First PIC Program

Hello, In your configuration settings you have the oscillator set to Internal RC which should be correct for your 4MHz clock speed setting, therefore delays should be working correctly. I just determined that the config settings are ignored in the simulator. Please confirm this.... it would have sa...
by K9ACT
Wed Oct 23, 2013 2:11 pm
Forum: Flowcode V6
Topic: First PIC Program
Replies: 6
Views: 4328

Re: First PIC Program

I have attached a file but I note there is also one with a .001 suffix that you might explain. The good news is that it now runs. I think the problem was trying to run it in the Pickit1 progrm socket. I haven't retried the 628 yet but that was in an off board socket so perhaps something else is goin...
by K9ACT
Wed Oct 23, 2013 1:45 am
Forum: Flowcode V6
Topic: First PIC Program
Replies: 6
Views: 4328

First PIC Program

I have been hacking around with other people's projects for about 6 months but until today, have never actually written my own program. I was really excited to see my first simple program with Flow Code running on the simulator within an hour of downloading the program. My joy has subsided since I s...