I found this literal notation in the High Precision PWM app note. What is the "ZX" notation.
I thought it had to be "&b0000_1100 ?
Const TCCR1A_CLR_MSK as Byte = ZX0000_1100
Const TCCR1B_CLR_MSK as Byte = X1110_0000
Richard
Literal notation question
Re: Literal notation question
It is a variation of the "BX" notation present in BasicX (you may recall that ZBasic is a superset of BasicX). Both allow the specification of a binary constant, exactly equivalent to using the "&B" notation.rich wrote:What is the "ZX" notation.
You will find the BX notation described in section 2.6.5 of the ZBasic Reference Manual:
www.zbasic.net/doc/ZBasicRef.php?page=54
- Don Kinzer