Thanks guys makes a lot of difference getting some expert guidance. Accelerated learning!!
Please feel free to provide insight into developing the ADC block.
Search found 16 matches
- Mon Mar 16, 2015 10:30 am
- Forum: Flowcode V6
- Topic: user input
- Replies: 4
- Views: 3187
- Wed Mar 11, 2015 1:40 pm
- Forum: Flowcode V6
- Topic: user input
- Replies: 4
- Views: 3187
Re: user input
Thank you 

- Wed Mar 11, 2015 1:03 am
- Forum: Flowcode V6
- Topic: user input
- Replies: 4
- Views: 3187
user input
Hello all,
I want to develop a program that requires a user to input a value such as the weight of an object. How do I set this up so that a range of 0-250Kg can be input before the program starts to take readings from a sensor and makes calculations. Is there an example available please?
I want to develop a program that requires a user to input a value such as the weight of an object. How do I set this up so that a range of 0-250Kg can be input before the program starts to take readings from a sensor and makes calculations. Is there an example available please?
- Fri Oct 28, 2011 6:47 pm
- Forum: Flowcode V2 & V3
- Topic: Using the random number function on C to make delays random
- Replies: 3
- Views: 5521
Re: Using the random number function on C to make delays ran
I've started the flow chart, I need help with the c-code. How do I use the random value to influence the delays?
- Fri Oct 28, 2011 2:33 pm
- Forum: Flowcode V2 & V3
- Topic: Using the random number function on C to make delays random
- Replies: 3
- Views: 5521
Using the random number function on C to make delays random
Hello, I would like to make interrupt or delays random in a program. So when a button is pressed, a buzzer is activated. A random delay or interrupt of 5 to 10 seconds should elapse, then the buzzer is activated again. A random delay between 2 and 10 sec' duration then starts. Is there a way to seed...
- Mon May 18, 2009 11:10 am
- Forum: Flowcode V2 & V3
- Topic: Light pacer
- Replies: 7
- Views: 6003
Re: Light pacer
Hello Ziggy 1. More efficient way is to use floating point but this can get tricky and uses lots of memory space on the PIC devices so if what you currently have is working then I would stick with it. 2. Sorry but I cannot go through peoples programs fixing problems etc. I am only here to support p...
- Mon May 18, 2009 9:31 am
- Forum: Flowcode V2 & V3
- Topic: Light pacer
- Replies: 7
- Views: 6003
Re: Light pacer
Hello 1. How are you doing the decimal point. Is it juat psudo decimal point? 2. Where are you checking for the reset button press? Simply place a calculation in this part of code setting the count values to 0. 3. Yes two switches to set the delay would work. Simply increment or decrement a variabl...
- Sun May 17, 2009 8:38 pm
- Forum: Flowcode V2 & V3
- Topic: Light pacer
- Replies: 7
- Views: 6003
Re: Light pacer
2/ When the stopwatch is paused by the stop button, the reset button doesn't seem to be able to reset the minute unit variable to 0. How do I solve this? 3/ I also still need to know how I can allow a user to change the variable DELAY that determines the time intervals between the lights. I was thin...
- Sun May 17, 2009 8:20 pm
- Forum: Flowcode V2 & V3
- Topic: Light pacer
- Replies: 7
- Views: 6003
Re: Light pacer
Hello Ziggy Try looking at the problem logically with a pen and paper. This way you can plan out your functionality without having to start programming. A good start would be : Enter a set time - Ok how would you do this. Eg using switches etc. Its a year since I thought about this project. I have ...
- Sun Apr 20, 2008 7:47 pm
- Forum: Flowcode V2 & V3
- Topic: Light pacer
- Replies: 7
- Views: 6003
Light pacer
I want to construct a flow code that is able to do the following, Enter a set time between 10-120 seconds. The entered time can be divided into 2-8 parts. The time is then stored in memory. A count down is activated when start button is pressed to decrement by the time set in memory. A set of lights...
- Fri Feb 08, 2008 6:10 pm
- Forum: Flowcode V2 & V3
- Topic: 24 hour clock with 4digit 7-seg display
- Replies: 28
- Views: 22805
Re: 24 hour clock with 4digit 7-seg display
The link for the software I mentioned in the above post
http://users.picbasic.org/projects/PicT ... merCal.htm
http://users.picbasic.org/projects/PicT ... merCal.htm
- Fri Feb 08, 2008 5:14 pm
- Forum: Flowcode V2 & V3
- Topic: 24 hour clock with 4digit 7-seg display
- Replies: 28
- Views: 22805
Re: 24 hour clock with 4digit 7-seg display
Ben, I have successfully implemented the stop and reset button respectively, thanks for the hint. I want to use a 4 MHZ crystal to generate a 100ms interrupt. I downloaded a piece of software called "Pic Timer Calculator Version 4". The software recommends a timer offset of 100, a prescale...
- Wed Feb 06, 2008 1:59 pm
- Forum: Flowcode V2 & V3
- Topic: 24 hour clock with 4digit 7-seg display
- Replies: 28
- Views: 22805
Re: 24 hour clock with 4digit 7-seg display
Thanks great help.
- Wed Feb 06, 2008 11:06 am
- Forum: Flowcode V2 & V3
- Topic: 24 hour clock with 4digit 7-seg display
- Replies: 28
- Views: 22805
Re: 24 hour clock with 4digit 7-seg display
I have adapted tutorial 22 for my stop watch project. I have implement a start button macro with debounce. I am finding it difficult stopping the program as a stop watch. Could anyone suggest how I could implement the stop and reset button please?
Thank you
Thank you
- Thu Jan 24, 2008 2:20 pm
- Forum: Flowcode V2 & V3
- Topic: 24 hour clock with 4digit 7-seg display
- Replies: 28
- Views: 22805
Re: 24 hour clock with 4digit 7-seg display
Thanks for the input. I looked at the examples that came with flowcode 3 in the program files on my computer. They are excellent. I recommend that anyone who needs help with sorting out timing for example will be able to adapt example 22 to achieve what they need. The examples are very very helpful ...
- Mon Jan 21, 2008 5:19 am
- Forum: Flowcode V2 & V3
- Topic: 24 hour clock with 4digit 7-seg display
- Replies: 28
- Views: 22805
Re: 24 hour clock with 4digit 7-seg display
I am in the process of developing a stop watch with min secs and 1/1000th of a second digit displayed. 1/ I am using a 16X2 alphanumeric display. I need help on the refresh routine for displaying the count from the timer interrupt. Any suggestions on how to organise the LCD display subroutine would ...