FIND YOUR NEXT FEW LINES

Results for “output”

Small, practical examples. Search by task or narrow things down below.

432 snippets foundClear filters
Arduino / CSerial communication

Print integers in different bases

Inspect a byte in decimal, hexadecimal, and binary.

Serial✓ Tested
Arduino / CGetting Started

Print once from setup

Arduino / C: Print once from setup on an Uno with the Serial Monitor set to 9600 baud.

Arduino / C✓ Tested
HTMLMetadata & document links

Provide a concise page description

HTML: A description meta element summarizes a document for clients that use that metadata.

HTML✓ Tested
CSSResponsive conditions & sizing

Provide a fallback for an unset custom property

CSS: The second var argument supplies a value when the custom property is unavailable.

CSS✓ Tested
HTMLGetting Started

Provide a list of selectable options

HTML: Learn how to provide a list of selectable options in a complete browser example.

HTML✓ Tested
HTMLLinks & accessibility

Provide a skip link

Let keyboard users jump directly to focusable main content.

HTML✓ Tested
CSSFlexbox alignment

Push flex items to opposite ends

CSS: Space-between distributes free main-axis space between items.

CSS✓ Tested
CSSFlexbox alignment

Push one flex item away from its siblings

CSS: An auto inline-start margin consumes remaining main-axis space.

CSS✓ Tested
Arduino / CEEPROM & program memory

Read 16-bit values from a flash table

Arduino / C: pgm_read_word retrieves a complete word from program memory.

Arduino / C✓ Tested
Arduino / CGetting Started

Read a button in the Serial Monitor

Arduino / C: Use a pull-up input and if/else to report three button readings.

Arduino / C✓ Tested
Arduino / CDigital input & output

Read a button with the internal pull-up

Treat a grounded input as a pressed button.

INPUT_PULLUP✓ Tested
Arduino / CEEPROM & program memory

Read a byte lookup table from flash

Arduino / C: PROGMEM tables require the AVR program-memory access functions.

Arduino / C✓ Tested