Hi Peter,
Thanks for the advice and I'll make port A all output as I'm only using port B. Oh and yes the inputs on the switches are tied high via a 10K resistor.
Hi Peter,
Thanks for the advice and I'll make port A all output as I'm only using port B. Oh and yes the inputs on the switches are tied high via a 10K resistor.
Hi,Malc
Have a look to the " BUTTON " command ...it is really very powerful for such application.
Add a DEFINE BUTTON_PAUSE 200 at the top of your program if you want a debounce time of 200 ms ( max 255 ms ...) ... that's all !
read you soon !!!
Alain
PS; if not already done, download this : http://www.melabs.com/downloads/pbpm304.pdf
THE reference manual !!!
Microcode studio : http://www.melabs.com/downloads/mcs2300.zip
Last edited by Acetronics2; - 14th May 2006 at 13:57.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Hee hee - fancy seeing you here
Yes I have downloaded the manual, and had it open last night whilst I was developing the program, and as manuals go its really good to get newbies like myself up and running.
Must admit, that I'm having more fun (and luck) with PBP than I did with JAL. PBP seems more logical in its commands and the structure of using them.
Alain, let me into a secret, is that Melanie in her avitar... brains as well as beauty - wow !!
In fact, Mel is some like Charly in the "Charly's girls" TV series ... I do not think anyone on this forum knows her real appearance ...Originally Posted by malc-c
We only know she says she likes to wear leather clothes at night, and is a bit bored about charming guys hoping to get something from her brain ...
May be she'd love to find a bunch of red roses and some Champagne at her door rather than the New up to date Compiler ....
Talk to her gently, and she'll give you the best from her ...
That's part of what I understood here ... not to break the magic.
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
There are those that have sent boxes of red roses...
...and there are those that have sent boxes of chocolates...
...boxes of diamonds are a little slower in coming - but I'm working on it...
...and there are those that have seen a little more of me than others (I seldom refuse an invite to dinner - especially if you're buying - but can you afford a genuine up-town girl?) *smiles*
...and Yes, that's really me in the avatar... if you're real nice I just might change it for a while to something more sophisticated - but I'm always worried that I'll distract you from your work (or play)...
I have a feeling of what it could beOriginally Posted by Melanie
Maybe i'm in the 3rd category ... LOL easy to start some rumor here
BTW Melanie, if you change your Avatar to 'something more sophisticated', i feel that some end-of-class student here could be shocked OR spam your PM! May i bet on the second one![]()
Last edited by mister_e; - 15th May 2006 at 03:34.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
My PM is already spammed...
Dear Miss Whiplash... Thank you for last nights session... I won't be able to sit down for a week, but it was worth every minute... PS My PIC still doesn't work.
Now, now Steve... people might get the wrong idea on how you ended up in hospital...
Bookmarks