byte

Descripción

Un byte almacena un número sin signo de 8-bit, de 0 a 255.

Sintaxis

byte var = val;

Parámetros

  • var: el nombre de nuestra variable
  • val: el valor asignado a la variable

Ejemplo

byte b = B10010; // "B" es el formateador binario (B10010 = 18 decimal)

ARDUINO BUY RECOMMENDATION

Arduino UNO R3
Arduino Starter Kit
Disclosure: Some links in this section are Amazon affiliate links. If you make a purchase through these links, we may earn a commission at no extra cost to you.
Additionally, some links direct to products from our own brand, DIYables.

※ OUR MESSAGES