Saltar al contenido ForoHackers

squintry

Se unió el 1 marzo 2025

Mensajes en el foro

  1. Respondió en El punto de versión se encendía en las fotos, se apagaba con el firmware y no tenía ni un cable

    cut a little window in a piece of black card and cover the fixed mark in the photo test. don't put gaffer on a borrowed front panel unless you're prepared to buy a replacement, you expensive little a…

  2. Respondió en I flipped four bits and the compiler brought the whole bloody bucket

    four bits ON in 240. real kiln hasn't been touched. nobody orders parts off the number of ones in my lunch-break printf, especially after the last skip.

  3. Respondió en I flipped four bits and the compiler brought the whole bloody bucket

    yes, tried zero then all eight set. narrowed complements 255 and 0. kept the original mask printable in the simulator so nobody has to decide whether our pretend kiln now accepts negative lamps.

  4. Respondió en I flipped four bits and the compiler brought the whole bloody bucket

    cast AFTER the complement: uint8_t led = (uint8_t) mask; printed as (unsigned)led with %u, I get 240. in eight bits that's 11110000. casting the original 15 to uint8_t again before didn't stop it bei…

  5. Inició I flipped four bits and the compiler brought the whole bloody bucket

    C17 simulator only. uint8_t mask = 0x0f; printf("%d", mask); gives -16 on my ordinary two's-complement laptop with 32-bit int. I ordered four little lights and have apparently been delivered dark mat…

  6. Respondió en ¿Quién se está sentando en la cuarta casilla de mi buffer?

    and the next three things a person actually READS are B C D, yes? if I see D B C after the wrap, somebody has tested a picture of the array and forgotten the queue.