We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5b68b0 commit ca0b2a8Copy full SHA for ca0b2a8
slider.html
@@ -309,21 +309,21 @@ <h3>Logg</h3>
309
310
311
if(sliderVal > 20)
312
- setBit(1, 3, 1); // 0001
+ setBit(1, 0, 1); // 0001
313
else
314
- setBit(1, 3, 0);
+ setBit(1, 0, 0);
315
if(sliderVal > 40)
316
- setBit(1, 2, 1); // 0010
+ setBit(1, 1, 1); // 0010
317
318
- setBit(1, 2, 0);
+ setBit(1, 1, 0);
319
if(sliderVal > 60)
320
- setBit(1, 1, 1); // 0100
+ setBit(1, 2, 1); // 0100
321
322
- setBit(1, 1, 0);
+ setBit(1, 2, 0);
323
if(sliderVal > 80)
324
- setBit(1, 0, 1); // 1000
+ setBit(1, 3, 1); // 1000
325
326
- setBit(1, 0, 0)
+ setBit(1, 3, 0)
327
328
console.log(charVal);
329
0 commit comments