summaryrefslogtreecommitdiffstats
path: root/drivers/oled/oled_driver.h
Commit message (Collapse)AuthorAgeFilesLines
* Add brightness level API to OLED driver (#10772)Ryan2020-10-291-0/+10
| | | | | * Add brightness level API to OLED driver * Set default brightness to 255
* Add OLED driver function to determine if the screen is currently on (#10382)Fred Silberberg2020-09-211-0/+4
|
* format code according to conventions [skip ci]QMK Bot2020-08-291-1/+1
|
* Add a method to read the OLED display buffer from user space (#8777)Richard2020-08-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * Adding extern and declaration * Change to mediated buffer read * Adding raw byte read * Restore write raw... D'Oh * Working struct return * Pack that struct * Remove conditional packing and add example to docs * Cleanup tab/spaces * Update docs/feature_oled_driver.md Prettify formatting * Update drivers/oled/oled_driver.h Prettify formatting
* Enable OLED support for Teensy 3.2/LC (#7591)Joel Challis2020-07-261-0/+4
| | | | | | | | | | | | | * I2C_TIMEOUT is not defined on arm teensy * Work round teensy having different ChibiOS config options * Stash OLED conf files * update comment * update comment * Remove stm32 alias to allow teensy alt mode
* OLED driver function to set pixels (#9713)Gautham Yerroju2020-07-161-0/+4
| | | | | | | | | | | | | | | * Add a function to set individual pixels * Add documentation for oled_write_pixel * use smaller data type for oled_write_pixel * Fix boundary check edge case * Update oled_write_pixel doc Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Adding OLED scroll setup functions (#8386)brickbots2020-03-141-0/+12
| | | | | * Adding scroll setup functions: * Clarifying values stored in oled_scroll_speed
* Buffer based OLED panning, write byte to buffer at arbitrary index (#8055)brickbots2020-03-071-0/+4
| | | | | | | | | * Add buffer based single line pan, arbitrary byte write to buffer * Change dirty mask to inverse of OLED_BLOCK_TYPE for future proofing larger buffer sizes * Updating docs to include new functions * Updating to clarify scroll vs pan
* Fix out of bound OLED font access (#8145)Ted M Lin2020-02-111-2/+2
| | | | | | | | | | | | | | | * Fix out of bound OLED font access The default font is 1344 bytes, or a total of 224 glyphs (each 6-bytes wide). OLED_FONT_END defaults to 224, which if used will then index off the end of the font array. So either the documentation or code is wrong. Instead of figuring out the rewording of the documentation, just change the OLED_FONT_END default value to 223, to match the documentation and code. * Add static assert to check array size Build bomb if the font array size doesn't match to the defines.
* Add backwards compatibility for oled_write_raw_P on ARMzvecr2019-12-241-0/+2
|
* Adds raw write functions to the OLED driver (#7237)Thomas Baart2019-11-031-1/+5
| | | | | | * Added oled_write_raw and oled_write_raw_P functions to the OLED driver * Added oled_write_raw method calls to feature_oled_driver.md
* clang-format changesskullY2019-08-301-101/+105
|
* Added OLED Display autoscroll during periods of OLED data inactivity (#6546)XScorpion22019-08-251-0/+8
| | | | | | | | * Added OLED Display autoscroll during periods of OLED data inactivity. * Fixing compile errors * Feedback from review
* Add SH1106 OLED support (#5787)Michael F. Lamb2019-06-111-1/+13
| | | | | | | | | | | | | | | | | * modify oled_driver to support SH1106 also: - improve mechanism to specify which OLED IC we use - comment calc_bounds() - give OLED_COLUMN_OFFSET a default value - inline comment re: OLED MEMORY_MODE and SH1106 - update docs/feature_oled_driver.h for SH1106 support and related changes - docs: OLED: note we have tested SSD1306 on ARM boards (per @XScorpion2) - define out MEMORY_MODE when using SH1106 OLED driver * document that SSD1306 128x64 on AVR works Per @XScorpion2: https://github.com/qmk/qmk_firmware/pull/5787#discussion_r291837842
* Fixing OLED Driver for 128x64 displays (#6085)XScorpion22019-06-071-3/+44
|
* Reducing size of data send in one frame & update Zen rev2 oled usageRyan Caltabiano2019-04-201-17/+26
|
* OLED Driver FeatureRyan Caltabiano2019-04-201-0/+183