FIND YOUR NEXT FEW LINES

Results for “select”

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

376 snippets foundClear filters
Arduino / CEEPROM & program memory

Read and total a flash lookup table

Arduino / C: Array size can be computed at compile time even for a flash-resident table.

Arduino / C✓ Tested
Arduino / CDigital signals & interrupts

Read back a configured digital output

Arduino / C: digitalRead observes the pin’s digital level after an output write.

Arduino / C✓ Tested
jQueryTraversal & selection

Read checked options

Collect checked checkbox values with jQuery map and get.

jQuery✓ Tested
Arduino / CSerial communication

Read one character from serial input

Wait for an incoming byte without blocking the main loop.

Serial.available✓ Tested
Arduino / CSerial protocols

Read serial text up to a delimiter

Arduino / C: readBytesUntil excludes the delimiter and does not add a null terminator.

Arduino / C✓ Tested
Arduino / CText & bounded buffers

Reject an integer with trailing characters

Arduino / C: strtol exposes an end pointer so a parser can require the entire token.

Arduino / C✓ Tested
Arduino / CEEPROM & program memory

Reject an unsupported settings version

Arduino / C: A version byte lets firmware fall back when stored settings use another format.

Arduino / C✓ Tested
Arduino / CArrays & embedded state

Reject insertion when a fixed queue is full

Arduino / C: Track a count separately from circular read and write positions.

Arduino / C✓ Tested
Arduino / CSensor calculations

Reject one outlier with a median-of-three filter

Arduino / C: Sorting three values leaves the median in the middle.

Arduino / C✓ Tested
jQueryInsertion & wrapping

Remove a wrapper while preserving its children

jQuery: unwrap replaces a selected element’s parent with that parent’s contents.

jQuery✓ Tested
jQueryDOM & classes

Remove matching elements

Remove selected list items from the DOM with jQuery.

jQuery✓ Tested
Arduino / CGetting Started

Repeat a serial message three times

Arduino / C: Repeat a serial message three times on an Uno with the Serial Monitor set to 9600 baud.

Arduino / C✓ Tested