Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Difference between LED intensity and LED level all #71

Closed
domchristie opened this issue Nov 3, 2021 · 2 comments
Closed

Comments

@domchristie
Copy link

I'm currently working on providing Series compatibility to halvves/webmonome, and am wondering what the difference is between LED intensity and LED levels. If I understand the docs correctly:

  • LED intensity controls the brightness for all LEDs (and this appears to work for my Walnut 64)
  • LED level provides brightness control for either a single LED, rows or columns, an 8x8 block, or the entire grid

If so, is there a reason why the Series protocol reduces the level to a single bit:

static int proto_series_led_level_set(monome_t *monome, uint_t x, uint_t y,
uint_t level) {
return proto_series_led_set(monome, x, y, reduce_level_to_bit(level));
}

Could it just pass the level value unchanged?

Also, given that my Walnut 64 supports variable brightness for all the LEDs, could it also support varying levels for individual LEDs/row/frames?

Thanks!

@tehn
Copy link
Member

tehn commented Nov 3, 2021

series grids have an LED driver that supports 1-bit per LED, plus overall brightness (intensity) so there is no per-LED level addressing hence the reducing to 1 bit. it does this for backwards compatibility to ensure series grids work in some predictable way with newer level messages.

series driver is MAX7219 btw

@tehn tehn closed this as completed Nov 3, 2021
@domchristie
Copy link
Author

@tehn got it! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants