BasicX
Discussion forum for the BasicX family of microcontroller chips.
Search Results for "timer"
Post a new Thread
microboter - Aug 3 2002
I am trying write a program that monitors 2 inputs and then
activates 3 outputs.
If Input #1 is active:
Make output #1 follow input' AND
Start 20... 
Paul J. Csonka - Dec 31 2000
Good afternoon,
I would like to use the Timer on a bx-24.
In a new project, F=Timer works perfectly.
If I use the exact same code in another (much longer) f... 
John Piccirillo - Mar 15 2002
Not too long ago Frank Manning posted some code to use
Timer 2 to control PWM on pin 25. I'm using Timer 1 to control
a motor at 14 kHz on pin 27 and would like ... 
Frank Manning - May 19 2004
From: Neil Jepsen <>
> [...]as soon as I realised that timer was not losing
> time, my "game_time" was incorrect.. I've repeated
> the offending code below, an... 
soso soso - Mar 2 2006
Hi~
I have a question about timer. In my applicaiton, PWM is always used to control a DC motor, but I also want to use the command "timer" to calcuate the time interval of... 
Emil E. Hrivnak - May 10 2003
How about using the Timer function:
--------------------------------
Sub Main
Dim Five_Secs As Single
Five_Secs = Timer()
Do
Call CheckPins()... 
Art Church - Oct 27 2005
I do this on one of my projects. It is very simple but the accuracy is only +/- 4 ms.
s=false
do
If pin = high and s=false then
t=timer
s=true
end if
... 
petervanlievenoogen - Nov 15 2002
This routine locks after a few day's
so Pinker stay's 1!
If Timer>TimerTempB+1.0 then
If Pinker=0 then
Pinker=1
ElseIf Pinker=1 then
Pinker=0
End If... 
novice055 - Jan 9 2003
Hi guy,
I understand that the Watchdog is capable of reseting the processor
after a maximum of 2048ms. However, my application require this
timing to be appr... 
nuepatrick - Jul 26 2006
I have a project that I am designing and I need a simple accurate
timer that starts when power is applied to the circuit. I need to
display this on a bpi-216.
Any ideas woul... 
Timer? [4 Articles]
Chris Parker - Nov 19 1999
Hi,
I need to incorporate a stopwatch type timer in a program I am writing for the BX24. I have looked at, and run, TimerExample.bas but it only counts about 9 sec... 
kj62 - Dec 12 2001
Hello.
how can i use timer0 to generate an interupt for a task periodically?
The timer will be used as a free running ticking device and when a
I/O line goes hig... 
Don Kinzer - Jun 7 2005
--- In basicx@basi..., Carol wrote:
> hello,
>
> i am wishing to hook a piezo speaker to a basicx pin and get a beep
out
> of the thing with an i... 
mikey_1_4 - Apr 25 2004
Is there a status bit or method which can indicate the source of a
reset? Weather the BX24 was reseted from a watchdog timer or the
reset signal?
mike for bo... 
antoniod_arienzo - Jan 28 2008
Hello, my new group!!!
I write from Italy, so excuse my grammar mistake...
I' ve already a nice question for you...
How can I pass the contents of ADC's registers (ADCH and ADCL... 
Francisco Lobo - Feb 5 2004
I am trying to determine DT every time i sample an ADC from an analog
input....
This is what i am doing...
TimerTemp = Timer ' We store the timer value in ... 
mechatronicsccc - Oct 12 2006
Hello,
I also program AB PLCs and try to experment using what I know
with programing PLC in RS logic to the microcontrolers.
I am working on what would be a time on delay Rel... 
arhodes19044 - Jan 26 2006
--- In basicx@basi..., "Westhoff, Thomas "
wrote:
>
>
>It doesn't have multi-tasking, but you can work around that usually.
And this is one of the really ni... 
binu - Aug 11 2008
Hello
Is it possible to wait for 1min for keypress. And if the chip get a
keypress on its input within 1minute then we have to jump to a
location, else after 1min we have to jum... 
Jepsen Acoustics & Electronics Ltd - Apr 7 2006
I have not used tasking in the past because I have not understood it
properly nor been able to use it reliably. In an effecot to get some
more understanding I decided to start... 
Tony Brenke - Aug 15 2000
Operating_system_referance.doc
page 26 gives you a list of conflicts.
adc to com1 used timer 1
InputCapture used timer 1
OutputCapture uses timer 1
thos... 
Edwin Cini - May 28 2003
Hi,
Is there a way of changing the tick-rate of InputCapture? I imagine
there is a pre-scaler ahead of the timer used for InputCapture.
I need to test the ... 
Don Kinzer - Feb 27 2004
--- In , "psyclopedia" wrote:
> Is there a way for the BX-24 to test for the amount of time
> a button is pressed?
I assume that you have a ... 
- Oct 30 1999
g'day everyone,
I'm pretty new to microcontrollers having done one project at uni with a BS2.
My next project involves measuring race times with an accuracy of 1... 
binu - Aug 11 2008
Hello
Can i use RTC , COM3 and Timer1 functions on a BX24chip.
can i do Timer action with 1 or is their free timer to use.
Thanks
------------------------------------
... 
Chris - Apr 7 2006
You only need to start the task once.
Try this for your Sub Main:
sub main()
calltask "taskled1", stackled1 'run as task
calltask "taskled2", stackled2
do
Call... 
iprobertson - Jan 7 2003
Hi,
Does anybody have a method of implementing a timeout on a serial
port.
I have a project where I where I am waiting for a specific string on
the seri... 
Christian Wentz - Jan 20 2002
I'm building a wireless timing system for alpine ski racing using a few
BX-01's i have around, and i was wondering if anyone knew of a low cost
transceiver tha... 
ssonderhoff - Mar 17 2009
Does anyone know how this is done? I want to put the cpu into idle mode using an interrupt from the the compare function on timer 1. According to the Atmel documentation this shoul... 
Jim Szymczak - Jan 22 2001
use a 555 timer chip. there are some 555 timer design tools that can be
found on the web which will help you choose the schematic, resistors and
capacitors for the ... 
Chris - May 19 2004
Neil,
Frank is correct, I misspoke. Com3 will not interfere with the RTC.
I was thinking of something else.
Are you perhaps incrementing your Time variable ... 
Tom Becker - Oct 6 2005
Perhaps obvious, a one-line task makes a VB-like timer. When the task
completes, its stack's first byte becomes value bxTaskHalted. It can be
reused, but a second concurre... 
dakota - Jan 25 2001
I want to make a stamp project to set the fast/slow control on an old clock
rather than wait for a day to see if the clock is slow or fast I want to use
a "tic" to ... 
Tom Becker - Nov 9 2009
Here is an exploit of the Basic-X register.RTCTick implementation which permits using Timer(), usually limited to a 24-hour period, to measure beyond 48-day periods.
Basic-X kee... 
Francisco Lobo - Jan 16 2004
Is there a way to determine a sample rate (how many times per second i
have been runing this sub). or is there a way to set watchdog/interrupt
timer to go to a sp... 
Neil Jepsen - Nov 29 2001
A major shortcoming with the bx24 ( and others) is the lack of timers.
In PLC programming, an oft use command is if x.= true then start
timer y
when timer y = 0, ... 
andymich2 - Mar 4 2004
Don,
Use Timer(). Every time the 'station' is changed, refresh a
variable for, say, three seconds in the future (Timer + 3.0). When
Timer catches up with the vari... 
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
next