reward
Archiver
Posts: 46,084
we're getting desperate...willing to offer $$ for an
hour of someone's time.
need help with programming the BS2 for a school project...
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
hour of someone's time.
need help with programming the BS2 for a school project...
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
Comments
Actually make that a lot more.
Not looking for your dollars but will try to help if I can.
I'm new to the BS2 but an old geiser to programming.
Mike
*********** REPLY SEPARATOR ***********
On 06/10/2002 at 4:01 AM gordon mara wrote:
>we're getting desperate...willing to offer $$ for an
>hour of someone's time.
>need help with programming the BS2 for a school project...
Mike B.
Original Message
From: "gordon mara" <gordonmara@y...>
To: <basicstamps@yahoogroups.com>
Sent: Sunday, October 06, 2002 4:01 AM
Subject: [noparse][[/noparse]basicstamps] reward
> we're getting desperate...willing to offer $$ for an
> hour of someone's time.
> need help with programming the BS2 for a school project...
>
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
heres a brief description of my project:
i have 3 inputs and 3 outputs.
in4, in5, in6 are inputs and out 13, out14, out15 are
outputs.
pin4 is an incrementing button.
pin5 is a decrementing button.
pin6 is connected to a sensor.
out13,out14,out15 will go to a decoder.
im trying to give the outputs to send logic highs in
binary sequence.
for example:
out13 out14 out15
0 0 0
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
at normal condition, the inputs are all = 000
and the outputs will be 000 also til a change in the
inputs.
if pin4 or pin6 goes to a logic high, i want the
outputs to increment 1 step and stay there til the
next logic high is sensed.
if pin5 goes high, i want the outputs to decrement 1
step and stay there til the next logic 1 is sensed.
hope that makes sense. the output will be connected
to a 3-8 decoder to control an amplifier. but all i
need the stamp to do is just to sense a change and to
give the proper outputs. please help???
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
Here's a way to do it with a 5 line state machine:
x var nib ' counts up or down from 1 to 8
s0 var nib ' prior state
s1 var nib ' present state
sx var nib ' change in state
loop:
s1=inB ' reads inputs p4, p5, p6 all at once
sx=s1^s0&s1 ' detects change 0->1 in any bit
s0=s1 ' update old state
x=x+sx.bit0+sx.bit2-sx.bit1 max 8 min 1 ' increment and decrement
outD=x-1<<1 ' transfer state %000->%111 to outputs p13,p14,p15
debug bin3 s1,tab,bin3 sx,tab,bin3 outD ' show internal states
goto loop
What's the reward? That took 10 minutes, so $$/6?
-- regards,
Tracy Allen
electronically monitored ecosystems
mailto:tracy@e...
http://www.emesystems.com
At 4:01 AM -0700 10/6/02, gordon mara wrote:
>we're getting desperate...willing to offer $$ for an
>hour of someone's time.
>need help with programming the BS2 for a school project...
>thanx for replying. im using the BS2 OEM.
>heres a brief description of my project:
>
>i have 3 inputs and 3 outputs.
>in4, in5, in6 are inputs and out 13, out14, out15 are
>outputs.
>pin4 is an incrementing button.
>pin5 is a decrementing button.
>pin6 is connected to a sensor.
>out13,out14,out15 will go to a decoder.
>
>im trying to give the outputs to send logic highs in
>binary sequence.
>for example:
>out13 out14 out15
> 0 0 0
> 0 1 0
> 0 1 1
> 1 0 0
> 1 0 1
> 1 1 0
> 1 1 1
>
>at normal condition, the inputs are all = 000
>and the outputs will be 000 also til a change in the
>inputs.
>
>if pin4 or pin6 goes to a logic high, i want the
>outputs to increment 1 step and stay there til the
>next logic high is sensed.
>if pin5 goes high, i want the outputs to decrement 1
>step and stay there til the next logic 1 is sensed.
>
>hope that makes sense. the output will be connected
>to a 3-8 decoder to control an amplifier. but all i
>need the stamp to do is just to sense a change and to
>give the proper outputs. please help???
know how much you've helped me. now, i just have to
finish the hardware and its done. i can finally
graduate. just tell me what you need and i'll
accomidate. thanks again!
--- Tracy Allen <tracy@e...> wrote:
> Hi Gordon,
>
> Here's a way to do it with a 5 line state machine:
>
> x var nib ' counts up or down from 1 to 8
> s0 var nib ' prior state
> s1 var nib ' present state
> sx var nib ' change in state
> loop:
> s1=inB ' reads inputs p4, p5, p6 all at once
> sx=s1^s0&s1 ' detects change 0->1 in any bit
> s0=s1 ' update old state
> x=x+sx.bit0+sx.bit2-sx.bit1 max 8 min 1 '
> increment and decrement
> outD=x-1<<1 ' transfer state %000->%111 to
> outputs p13,p14,p15
> debug bin3 s1,tab,bin3 sx,tab,bin3 outD ' show
> internal states
> goto loop
>
> What's the reward? That took 10 minutes, so $$/6?
>
> -- regards,
> Tracy Allen
> electronically monitored ecosystems
> mailto:tracy@e...
> http://www.emesystems.com
>
>
> At 4:01 AM -0700 10/6/02, gordon mara wrote:
> >we're getting desperate...willing to offer $$ for
> an
> >hour of someone's time.
> >need help with programming the BS2 for a school
> project...
>
>
> >thanx for replying. im using the BS2 OEM.
> >heres a brief description of my project:
> >
> >i have 3 inputs and 3 outputs.
> >in4, in5, in6 are inputs and out 13, out14, out15
> are
> >outputs.
> >pin4 is an incrementing button.
> >pin5 is a decrementing button.
> >pin6 is connected to a sensor.
> >out13,out14,out15 will go to a decoder.
> >
> >im trying to give the outputs to send logic highs
> in
> >binary sequence.
> >for example:
> >out13 out14 out15
> > 0 0 0
> > 0 1 0
> > 0 1 1
> > 1 0 0
> > 1 0 1
> > 1 1 0
> > 1 1 1
> >
> >at normal condition, the inputs are all = 000
> >and the outputs will be 000 also til a change in
> the
> >inputs.
> >
> >if pin4 or pin6 goes to a logic high, i want the
> >outputs to increment 1 step and stay there til the
> >next logic high is sensed.
> >if pin5 goes high, i want the outputs to decrement
> 1
> >step and stay there til the next logic 1 is sensed.
> >
> >hope that makes sense. the output will be
> connected
> >to a 3-8 decoder to control an amplifier. but all
> i
> >need the stamp to do is just to sense a change and
> to
> >give the proper outputs. please help???
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed.
> Text in the Subject and Body of the message will be
> ignored.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com