Pins= bug on 18X ?

Jeremy Leach

Senior Member
Doesn't compile for anything other than Pin0,Pin1,Pin2,Pin6,Pin7 =

So it looks like the compiler checks the Pin number based on the Input. But when used on the left of the equals it means the output = ...doesn't it?! Or have things changed?
 

hippy

Ex-Staff (retired)
It's a long standing issue - http://www.rev-ed.co.uk/picaxe/forum/Topic.asp?topic_id=1265

The work round is to use 'outpin0' etc on the left.
 

Jeremy Leach

Senior Member
Outpin0 etc is great (at least there's a way of doing it without resorting to High and Low), but needs to be explained in the manual.

But I do think it's illogical to allow pins = , but not have a full implementation of pinx = (well my brain has a 'malfunction' anyway <img src="wink.gif" width=15 height=15 align=middle>)

It should be Outpins = , not Pins =

Edited by - Jeremy Leach on 21/12/2006 13:42:43
 
Top