Hi all,
after 3 hours, searching picaxe manuals and in the Forum but i'm to stupid to find how to use bits from a variable (b0).
I found a BS2 Program on Internet and I want to modify it for a 08M.
There is a definition:
showPeak VAR Bit ' bit to indicate to show peak
and Code:
showPeak = showPeak + 1 ' alternate between 0 and 1
if showPeak then doLedsWithPeak
OUTH = leds
GOTO shiftValue
Is there a workaround?
many Thank's
Hans
after 3 hours, searching picaxe manuals and in the Forum but i'm to stupid to find how to use bits from a variable (b0).
I found a BS2 Program on Internet and I want to modify it for a 08M.
There is a definition:
showPeak VAR Bit ' bit to indicate to show peak
and Code:
showPeak = showPeak + 1 ' alternate between 0 and 1
if showPeak then doLedsWithPeak
OUTH = leds
GOTO shiftValue
Is there a workaround?
many Thank's
Hans