14 years ago
Highlights
Community contributions featured14 years ago
14 years ago
Hello. Is there an algorithm or a function to remap an array in C to another array with a constant maping? I.e. I have an array of bytes (uint8_t) with 4 elements, and I would l…
13 years, 10 months ago
int16_t a = -255; int16_t b = 409; int16_t c = 1000; int16_t result = a * b / c; result: 26 expected: -104 What the heck is going on here?
14 years ago
I have a self-inflicted dilemma about different coding styles. Suppose you have a list of functions/API's that need to be called in a particular order, as each one depends o…
15 years, 3 months ago
Latest Activity
See all in DiscussionsHello. Is there an algorithm or a function to remap an array in C to another array with a constant …
13 years, 10 months ago
Your variable a holds a negative value and you're casting it to an unsigned integer. Unsigned variables cannot hold negative …
14 years ago
Thank you for explaining the situation, this clears up my doubts. I am programming an application in AVR Studio 5.1 …
14 years ago