Comments (1)
Not exactly a timely response, but:
Brightness::custom is not exposed as pub, is this by design?
This was done because Brightness::custom
couldn't be made const previously and I didn't want to expose the option of setting precharge phase 2 values that are above 15.
#183 resolves this
The precharge value is set to either 0x01 or 0x02 in this crate
I had to figure this out myself, too, but we set a 0x11
or 0x12
precharge value, both of which should be valid. We use the value in Brightness
as the phase 2 value. https://github.com/jamwaffles/ssd1306/blob/cafc5a112b02d4ff61d23865ad48bd65a61dfe79/src/lib.rs#LL348C18-L348C27
Can the VCOMH Deselect Level be exposed?
The SSD1306 datasheet only lists 0x00, 0x20 and 0x30 which doesn't seem to match the values used in this crate.
Probably? The observation is good, and I don't know where 0b100
comes from as the source repository no longer exists.
from ssd1306.
Related Issues (20)
- power-on versus reset HOT 1
- Incomplete bounds check in set_pixel HOT 1
- trait for disp.flush() HOT 7
- Upgrade to embedded-graphics 0.7 HOT 1
- Basic mode clear doesn't work in page addressing mode
- 0.6.0 Upgrade problem HOT 1
- memchr does not declare `#![no_std]` HOT 4
- Issues on Adafruit OLED Bonnet HOT 1
- ssd1306 with rtic 1.0.0 HOT 7
- memory.x or probe-run "fix" HOT 6
- [N00b help request] Init fails with Raspberry Pi Pico and Adafruit OLED HOT 3
- Noob Issue: Cant manage to get this building for the stm32f1xx_hal HOT 6
- Newbie: No signs of life from SSD1306 atmega32u4 SPI 128x64 HOT 2
- How to use display with multiple I2C peripherals ([shared-bus] crate?) HOT 3
- Static noise when using crate with embedded_graphics HOT 4
- Using `DrawTarget::clear` is difficult in buffered graphics mode HOT 5
- `DrawTarget` is not implemented for `Ssd1306<I2CInterface<avr_hal_generic::i2c::I2c<.....` HOT 4
- Yet another `DrawTarget` is not implemented for `Ssd1306<SPIInterface<Spi... HOT 6
- Unable to draw circles & lines using embedded graphics crate
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 ssd1306.