خرید بک لینک

Vote count: 0

I am trying to figure out what a piece of firmware code does on a particle elctron. It appears to be written in c++ and compiled against gnu++11 standard library linked to it. What does map do in this line of code. The value is set arbitrarily in this case but is actually the bitshift of an input value under normal load.

int value = 128;
retu map(value, 0x000, 0xFFF, 0, 50000) / 10000.0;

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 9 ارديبهشت 1395 ساعت: 1:44

صفحه بندی