The Raspberry pi is supposed to have 17 I/O pins max according to the wiki (if you turn all the i2c & SPI busses off).
Given how often I run out of pins on an arduino, I could use the expansion Yours, Bruce Hodsdon Senior Engineering Consultant RHM Consultants Pty Ltd -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
