a quick read through the old pb2.6c book (page 30 in my edition) indicates the pin number is a hangover from the old basic stamp
pin chips 0-7 8-15
8 gpio
14 porta portc
18 portb porta
28 portb portc
remember that if you can
a quick read through the old pb2.6c book (page 30 in my edition) indicates the pin number is a hangover from the old basic stamp
pin chips 0-7 8-15
8 gpio
14 porta portc
18 portb porta
28 portb portc
remember that if you can
Last edited by richard; - 2nd December 2013 at 22:07. Reason: editor eats white space
Yep! The manual says a constant of 0 -15. It just didn’t say that it starts on PortB.0 and continues into PortC.0 and then it confuses things by talking about PortA.0. the old basic stamp thing is just fine with me. No indexing needed, no fancy port descriptions, just a constants or variables of 0 – 15. Easy to cycle through or set up for Random enables. Why do I always complicate things! thanks guys for your comments.
Wayne
Bookmarks