PE Feature

Anobium

Senior Member
I am using the PE simulate code that does work when downloaded to a Picaxe 14m2.

Code:
symbol commsout = b.0
serout commsout,N2400_4, ("¯A")
serout commsout,N2400_4, ("_A")
serout commsout,N2400_4, ("-A")
I am showing the tristate of a port via a comms port. I am using these characters to show hi-mid-low states.

PE will not simulate the first line of the example code shown above.

Any workaround available?
 

eclectic

Moderator
Rough and ready? :
Code:
#picaxe 14M2
symbol commsout = b.0
serout commsout,N2400_4, ("hA")
serout commsout,N2400_4, ("_A")
serout commsout,N2400_4, ("-A")
e
 

Anobium

Senior Member
@eclectric. Good idea!

@Technical. Do we have a feature in PE? Can we get this patched when possible?
 

eclectic

Moderator
Or even
Code:
symbol commsout = b.0

serout commsout,N2400_4, ("~A")

serout commsout,N2400_4, ("_A")
serout commsout,N2400_4, ("-A")
 

Technical

Technical Support
Staff member
We'll look into it.
However if you want to work on a real life LCD just output the number of the character directly from the LCD character map as a number
This may not appear quite right in simulation but will work fine on the real life LCD device.

e.g.

serout commsout,N2400_4, ($F7,"A")
 
Top