Search found 5 matches

by driftlogic
Wed Nov 02, 2011 12:45 am
Forum: Flowcode V2 & V3
Topic: LED Flashing Delay
Replies: 3
Views: 4703

Re: LED Flashing Delay

thank you for the response Ben. i am using a pic16f873a. I'm having a little trouble achieving this based on your suggestion, do know if there are any example files that may help me?

Best,

DriftLogic
by driftlogic
Mon Oct 31, 2011 11:46 pm
Forum: Flowcode V2 & V3
Topic: LED Flashing Delay
Replies: 3
Views: 4703

LED Flashing Delay

In a complex LED flashing pattern where the delay between LED outputs is determined by a variable called 'rate' how can I instantaneously change the rate value without relying on a macro to do it. For example, Say I have a switch, and depending on the switch state a certain value to 'rate' is set ...
by driftlogic
Thu Oct 13, 2011 6:20 pm
Forum: Flowcode V2 & V3
Topic: Selectable LED Pattern
Replies: 3
Views: 4345

Re: Selectable LED Pattern

Nevermind I figured it out. I just used the input of a switch pin to set a variable (int). And then could decide what to do
by driftlogic
Thu Oct 13, 2011 5:23 pm
Forum: Flowcode V2 & V3
Topic: Selectable LED Pattern
Replies: 3
Views: 4345

Re: Selectable LED Pattern

I can see from a single switch how to read if its a 0 or a 1 and to have an action for either case. With a switch bank im not sure how it works. Should each pin be hooked up to the same pin? Different Pins? If they are to different pins how do I read the value of the switch to a particular pin ...
by driftlogic
Thu Oct 13, 2011 6:05 am
Forum: Flowcode V2 & V3
Topic: Selectable LED Pattern
Replies: 3
Views: 4345

Selectable LED Pattern

Hi All,

I'm able to create a simple LED flashing pattern in the program. How could I utilize a switchbank to choose some predefined flashing patterns? I assume I have to utilize the If (Decision).

Thanks

EDIT: okay i figured it out by using a slide switch and using a component macro to read the ...