diff --git a/docs/ebb.html b/docs/ebb.html index 39130b6..35d8651 100644 --- a/docs/ebb.html +++ b/docs/ebb.html @@ -1506,8 +1506,8 @@ ul.no_bullets { This bit will be 1 if the PRG button has been pushed since the last QG or QB query. Otherwise it will be 0. Note that input B0 can be used to trigger a "button push" event; see the description of QB for more information.

-

Bit 4: PEN — Pen is down
- This bit is 1 when the pen is down, and 0 when the pen is up. The pen status is given by the position of the pen-lift +

Bit 4: PEN — Pen is up
+ This bit is 1 when the pen is up, and 0 when the pen is down. The pen status is given by the position of the pen-lift servo output, which can be controlled with the SP command and can be read with the QP query. Note that this is the commanded state of the pen, and that it does physically take time to lift from or lower to the page. @@ -1542,6 +1542,7 @@ ul.no_bullets { 3E<CR><NL>

This query returns value of 3E, which corresponds to 0011 1110 in binary, indicates that RB5 and RB2 are low, the PRG button has been pressed, the pen is down, a command is being executed, Motor 1 and Motor 2 are moving, and the FIFO motion queue is empty.

+
  • Version History: On 5/7/2024 the meaning of bit 4 was corrected. Previous versions had the state inverted.