thank you joan , problem solved , best regardsjoan wrote:Is this a problem using scratch? Or is it a problem using all software?
On the B+ gpios 0-27 are available on the expansion header (there is no case where gpioX is on pinX of the expansion header).
thank you B.Goode , i used scratchgpio6 as you suggested , problem solved , everything works OK , best regardsB.Goode wrote:From a quick glance at the ScratchGPIO code on its github repository I am pretty certain that ScratchGPIO5 only supports board-numbered pins up to #26 for use with the original models A and B.
The author has a beta version of ScratchGPIO6 which supports pins up to #40, which would be compatible with the A+ and B+ models.
http://simplesi.net/scratchgpio-development-testing/