Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
buttons — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
BASIC Stamp
buttons
jcleaver
Posts:
17
2006-03-01 02:20
edited 2006-03-02 12:03
in
BASIC Stamp
·
is there a simple way using the following
btnbus
···
var
··
inb
of reversing the buttons so 1=0
·
0=1 ect (not wiring)
Comments
LoopyByteloose
Posts:
12,537
2006-03-01 05:34
edited 2006-03-01 05:34
I suppose there is or will be a NOT function. If this can be done at the BIT level, that is it.
It doesn't get much simpler.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································
Warm regards,
·····
G. Herzog [noparse][[/noparse]
·
黃鶴 ]
·
in Taiwan
Chris Savage
Parallax Engineering
Posts:
14,406
2006-03-01 06:41
edited 2006-03-01 06:41
Kramer I think this post is in the wrong forum.
·
I believe it is regarding the BASIC Stamp.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
jcleaver
Posts:
17
2006-03-01 14:47
edited 2006-03-01 14:47
yes it is a bs2x
good quote though
thanks
still looking
Chris Savage
Parallax Engineering
Posts:
14,406
2006-03-01 19:42
edited 2006-03-01 19:42
This thread is being moved from the Propeller Forum to the BASIC Stamp Forum.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
PJAllen
Banned
Posts:
5,065
2006-03-01 19:56
edited 2006-03-01 19:56
You can use
~
(see Unary Operators) to invert the bit/s.
LoopyByteloose
Posts:
12,537
2006-03-02 11:43
edited 2006-03-02 11:43
That little red thingy is a Tilde mark [noparse][[/noparse]the top left key of the key board].
I can barely see it. Something about the color and shape does funny things to my screen.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································
Warm regards,
·····
G. Herzog [noparse][[/noparse]
·
黃鶴 ]
·
in Taiwan
PJAllen
Banned
Posts:
5,065
2006-03-02 12:03
edited 2006-03-02 12:03
·
~
·
Sign In
or
Register
to comment.
Comments
It doesn't get much simpler.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
good quote though
thanks
still looking
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I can barely see it. Something about the color and shape does funny things to my screen.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
·~
·