How to wire a bumper switch

Wire it like this picture and "jump" would be the code that is executed when the button is pressed...

Switch_picture.jpg

Oh?Why all that complicated

Oh?

Why all that complicated stuff?

I always just wire a switch from V to the input port, one line, single, effective, arty and nice :slight_smile:

Oh - RTFMF, it is because you use the pre-made boards!

From the Picaxe Manual 1, page 57:

Billede_18.png

Debounce
Shouldn’t you “debounce” the switch as well for most applications?

am I the only one that

edit : differing manual versions appear to be the issue that I have run into.

page 58 showed the tutorial for buttons in an older (july 08)manual without a schematic, while page 58 in the latest manual appears to have the schematic in a summary of the tutorails section.

 

update your manual if you haven’t already.

Plain English… English is
Plain English… English is not a plane it cannot fly.

Alright, you got me on that one…
I blame it on "rage-typing"…

I had to. I couldn’t hold it

I had to. I couldn’t hold it back. I don’t mind when people ask questions but when it is CLEAR they haven’t tried to find the answer themsleves first it gets on my nerves too. What REALLY gets me is when people ask for someone to do their homework FOR them. I put all of my projects off until the last minute when I was working on my computer science degree too but I didnt expect people to do it for me NOW in exchange for me learning it later. If you won’t learn it FOR a project you certainly wont learn it AFTER the project.

We all have those days, but I had to point out the spelling error :wink:

lesson learned. I feel it
lesson learned. I feel it obligatory to point out that this was indeed me, and while i feel i have made sufficient progress since first joining i have also succumbed a few times to being lazy. At first the schematic seemed intimidating, because i have no experience reading them (robotics/coding is something i’ve taken up in my own time completely separate from school as no courses remotely related to either are offered). However with the help of chris i was able to sort through it quickly, however i also feel responsible to own up to my mistakes and/or acts of laziness. If chris is willing to spend the time and effort to help a beginner like me, i feel that it is only right if i honor it with a response. Also i plan on staying here for the foreseeable future and i dont want to have a bad rep. And while some questions may be answered here or on google, they may not be tailored to the asker’s specific needs, i think this should at least warrant a chance in the shout box if not its own post. I would just like to formally apologize again, and next time (if there is one) if i ask a newbie question dont bother giving me page numbers or help, RTFM works fine.

I completely understand. In
I completely understand. In my undergrad I had a 2.78 GPA because I put all my programming project off until th enight before and submitted them as incomplete. I understand :wink: However as a word of advice always start early or you dont learn what you need to and fall further behind. I would have saved myself a lot of time and money if I had started on projects shortly after they were assigned rather than shortly before they were due. I’m not trying to throw you under the bus rather I’m trying to get you off the road.

well said, thanks again for
well said, thanks again for the help with the switch and now this.