Deploying to gh-pages from master @ 2f08a34394 🚀
				
					
				
			This commit is contained in:
		
							parent
							
								
									1fc8734431
								
							
						
					
					
						commit
						cb0c876455
					
				
					 1 changed files with 15 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -263,11 +263,25 @@ void oled_write(const char *data, bool invert);
 | 
			
		|||
void oled_write_ln(const char *data, bool invert);
 | 
			
		||||
 | 
			
		||||
// Pans the buffer to the right (or left by passing true) by moving contents of the buffer
 | 
			
		||||
// Useful for moving the screen in preparation for new drawing 
 | 
			
		||||
// Useful for moving the screen in preparation for new drawing
 | 
			
		||||
// oled_scroll_left or oled_scroll_right should be preferred for all cases of moving a static
 | 
			
		||||
// image such as a logo or to avoid burn-in as it's much, much less cpu intensive
 | 
			
		||||
void oled_pan(bool left);
 | 
			
		||||
 | 
			
		||||
// Returns a pointer to the requested start index in the buffer plus remaining
 | 
			
		||||
// buffer length as struct
 | 
			
		||||
oled_buffer_reader_t oled_read_raw(uint16_t start_index);
 | 
			
		||||
 | 
			
		||||
// Writes a string to the buffer at current cursor position
 | 
			
		||||
void oled_write_raw(const char *data, uint16_t size);
 | 
			
		||||
 | 
			
		||||
// Writes a single byte into the buffer at the specified index
 | 
			
		||||
void oled_write_raw_byte(const char data, uint16_t index);
 | 
			
		||||
 | 
			
		||||
// Sets a specific pixel on or off
 | 
			
		||||
// Coordinates start at top-left and go right and down for positive x and y
 | 
			
		||||
void oled_write_pixel(uint8_t x, uint8_t y, bool on);
 | 
			
		||||
 | 
			
		||||
// Writes a PROGMEM string to the buffer at current cursor position
 | 
			
		||||
// Advances the cursor while writing, inverts the pixels if true
 | 
			
		||||
// Remapped to call 'void oled_write(const char *data, bool invert);' on ARM
 | 
			
		||||
| 
						 | 
				
			
			@ -279,23 +293,9 @@ void oled_write_P(const char *data, bool invert);
 | 
			
		|||
// Remapped to call 'void oled_write_ln(const char *data, bool invert);' on ARM
 | 
			
		||||
void oled_write_ln_P(const char *data, bool invert);
 | 
			
		||||
 | 
			
		||||
// Returns a pointer to the requested start index in the buffer plus remaining
 | 
			
		||||
// buffer length as struct
 | 
			
		||||
oled_buffer_reader_t oled_read_raw(uint16_t start_index);
 | 
			
		||||
 | 
			
		||||
// Writes a string to the buffer at current cursor position
 | 
			
		||||
void oled_write_raw(const char *data, uint16_t size);
 | 
			
		||||
 | 
			
		||||
// Writes a single byte into the buffer at the specified index
 | 
			
		||||
void oled_write_raw_byte(const char data, uint16_t index);
 | 
			
		||||
 | 
			
		||||
// Writes a PROGMEM string to the buffer at current cursor position
 | 
			
		||||
void oled_write_raw_P(const char *data, uint16_t size);
 | 
			
		||||
 | 
			
		||||
// Sets a specific pixel on or off
 | 
			
		||||
// Coordinates start at top-left and go right and down for positive x and y
 | 
			
		||||
void oled_write_pixel(uint8_t x, uint8_t y, bool on);
 | 
			
		||||
 | 
			
		||||
// Can be used to manually turn on the screen if it is off
 | 
			
		||||
// Returns true if the screen was on or turns on
 | 
			
		||||
bool oled_on(void);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue