1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-04-22 12:37:36 +00:00

Update portio.pla

This commit is contained in:
David Schmenk 2017-12-15 16:37:29 -08:00 committed by GitHub
parent 0af2aefa6f
commit 3ab50047a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ export def portRead
end
def digitalWrite(pin, val)#0
ANN0[((pin&3)<<1)+val&1]
ANN0[((pin&3)<<1)+(val&1)]
end
export def portWrite(val)#0