Note but looks documented as an example:
See Compound operators; for instance &=(compound bitwise and)
The following code gives errors;
————————
static unsigned short receivedBit;
void setup() {
receivedBit = receivedBit & B1111;
}
void loop() {
}
————
After verification
In file included from …/inc/spark_wiring.h:30:0,
from …/inc/application.h:29,
from test.cpp:2:
…/…/core-common-lib/SPARK_Firmware_Driver/inc/config.h:12:2: warning: #warning “Defaulting to Release Build” [-Wcpp]
#warning “Defaulting to Release Build”
^
test.cpp: In function ‘void setup()’:
test.cpp:3:29: error: ‘B1111’ was not declared in this scope
void setup();
^
make: *** [test.o] Error 1
Error: Could not compile. Please review your code.