Comments (2)
Hello @tobozo,
could it mean the whole channels list is off by one?
That's precisely the case!
No wonder you had problems with your ConBee. ๐
your changes seem to dramatically improve the frame rate ๐
La chose la plus difficile c'est d'avoir l'idรฉe la plus simple.
Thanks for your tip about significant luminance values depending on the screen brightness. I'm keeping this in mind, even though no one uses the ESPboy's screen backlight LED. I think I'm the only one who does, but only in specific cases: to simulate fades between splash screens.
Thanks again for your constructive feedback.
Steph
from wifichanviz.
Salutations @m1cr0lab
thanks for your feedback, I'm happy my work inspired you :-)
dpc[channel - 1]++;
could it mean the whole channels list is off by one?
this app was supposed to help me pick an idle wifi channel to have my ConBee dongle collect data from my Linky ... and I've been wondering why my zigbee network had such a big packet loss ratio ๐คฆ
thanks for spotting that!
calculating the luminance for the historical perspective fade:
your changes seem to dramatically improve the frame rate ๐
pour ma dรฉfense I initially wanted to have the luminance vary depending on the display brightness but the min-max values weren't consistent across M5 devices and the code block to handle that was removed.
however before removing this feature I found out there are 4 significant luminance levels (e.g. 1, 2, 4, 8) to map between max and min brightness in order to keep the graph horizon visible.
I believe the ESPBoy could benefit from that tweak, all you need is to set those 1/2/1 values as variables too:
static uint8_t rl, gl, bl; // don't forget to init in setup()!
void onBrightnessChanged( uint8_t brightness, uint8_t min_brightness=0x00, uint8_t max_brightness=0xff )
{
// on brightness change
uint8_t luminance = map( brightness, max_brightness, min_brightness, 1, 4 );
rl = luminance;
gl = luminance*2;
bl = luminance;
}
// (...)
for (uint16_t i = 0; i < len; ++i) {
if (fb[i]) {
// (... )
r = r > rl ? r - rl : 0;
g = g > gl ? g - gl : 0;
b = b > bl ? b - bl : 0;
// (...)
}
}
be well
from wifichanviz.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifichanviz.