Search found 35 matches

by Jacob1
Sun Dec 31, 2017 5:52 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 12966

Re: HELP WITH A PROGRAM

Opened in Flowcode v7, there are two pushbuttons. Port A0 and PortA1 connected. I upload a Flowcode v6-v7 compatible program. When the switches are pressed no LEDs light up. I think it is opening it wrong on my laptop for some reason, I'm guessing as I can see it works on your You tube video fine. ...
by Jacob1
Sun Dec 31, 2017 5:18 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 12966

Re: HELP WITH A PROGRAM

sheep_counteer_2.fcfxHello! I used an internal rotary encoder component. The program does not seem to work? :? I'm not sure how the encoder works and when the simulation is played two LEDs light up. Maybe I do not understand the question. https://youtu.be/wyFQ1l6FkWI The program you have sent is mi...
by Jacob1
Sun Dec 31, 2017 3:29 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 12966

Re: HELP WITH A PROGRAM

I just wondered how you can run two decision icon loops at the same time? How about using one loop with two decision trees? Have a variable set to true if a count down is required and false if not and a condition to check if that part of the code needs to run, same for count up. I have had to use 4...
by Jacob1
Sun Dec 31, 2017 3:24 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 12966

Re: HELP WITH A PROGRAM

STibor wrote:sheep_counteer_2.fcfxHello!
I used an internal rotary encoder component.
The program does not seem to work? :? I'm not sure how the encoder works and when the simulation is played two LEDs light up.
by Jacob1
Sat Dec 30, 2017 2:00 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 12966

Re: HELP WITH A PROGRAM

Hi all, I have done a few tweaks to the delay times for the program, so it runs smoothly. I just wondered how you can run two decision icon loops at the same time? As at the moment, the MSB LEDs count down and then the LSB LEDs count up and vice versa, but I believe this needs to happen in parallel....
by Jacob1
Fri Dec 29, 2017 6:38 pm
Forum: E-blocks
Topic: How to print byte as binary string to gLCD?
Replies: 11
Views: 11534

Re: How to print byte as binary string to gLCD?

Hi, This is a booklet which we follow for my college course, it is not homework or an assignment. As the course is a new spec, this is what we follow for lessons as we have nothing else! The programs can be completed at home in our free time. Our teacher works from this as well but is also very new ...
by Jacob1
Fri Dec 29, 2017 6:29 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 12966

Re: HELP WITH A PROGRAM

Yes you are right I should have attached my work! My program uses 4 switches, as I couldn't work out how to do it with 2. I'm not sure if my program does what it says on the brief, as I'm still a little bit confused to what it is asking in terms of how the program should work. My program still doesn...
by Jacob1
Fri Dec 29, 2017 5:53 pm
Forum: General Programming
Topic: HELP WITH A PROGRAM
Replies: 23
Views: 12966

HELP WITH A PROGRAM

Hi all, I wondered if anyone would be able to help me with a program I have which is essentially a counter using a 8 bit led and 2 switches. I have attached the program brief below. I have been stuck with this program for a while as I am struggling to understand how the LEDS can be stopped and then ...
by Jacob1
Fri Dec 29, 2017 3:21 pm
Forum: E-blocks
Topic: How to print byte as binary string to gLCD?
Replies: 11
Views: 11534

Re: How to print byte as binary string to gLCD?

Hi Medlec, Thanks for taking the time to complete a example! However, I think that program is a bit different to the example you have given me. I am following a micro controller booklet, which gives a broad brief about what to do for each program. I think the program wants the binary number as in th...
by Jacob1
Wed Dec 27, 2017 4:42 pm
Forum: E-blocks
Topic: How to print byte as binary string to gLCD?
Replies: 11
Views: 11534

Re: How to print byte as binary string to gLCD?

Hello To print a byte out as a binary number you will have to create a little loop to do the following. while loop with a count of 8 in the properties. calculation x = byte & 0x01 if x yes: print a '1' no: print a '0' calculation byte = byte >> 1 end while Regarding reading the thermistor or temper...