Skip to content

Commit

Permalink
cleaned up license text
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Bank authored and Laurence Bank committed Oct 14, 2022
1 parent 8e3a296 commit 1e57a2c
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 4 deletions.
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name=OneBitDisplay
version=2.1.0
version=2.2.0
author=Larry Bank
maintainer=Larry Bank
sentence=OLED and LCD library for 1-bit per pixel displays.
paragraph=Supports most monochrome OLEDs, LCDs and now Sharp Memory LCDs. Designed to provide a rich set of features with a simple API. Can automatically detect the display address (3C or 3D) and the controller type (SSD1306, SH1106 or SH1107). Includes 5 sizes of fixed fonts (6x8, 8x8, 12x16, 16x16, 16x32). Can use I2C, SPI or bit bang I2C+SPI on any GPIO pins with the use of my BitBang_I2C library. Supports display sizes of: 128x128, 128x64, 128x32, 64x32, 96x16, 72x40. Includes scrolling text/gfx, deferred rendering, lines, sprites, circles, rectangles and a simple menu system.
sentence=OLED, LCD and e-paper library for 1-bit per pixel displays.
paragraph=Supports most monochrome OLEDs, LCDs, Sharp Memory LCDs and many e-paper displays. Designed to provide a rich set of features with a simple API. Can automatically detect the display address (3C or 3D) and the controller type (SSD1306, SH1106 or SH1107). Includes 5 sizes of fixed fonts (6x8, 8x8, 12x16, 16x16, 16x32). Can use I2C, SPI or bit bang I2C+SPI on any GPIO pins with the use of my BitBang_I2C library. Supports display sizes of: 128x128, 128x64, 128x32, 64x32, 96x16, 72x40. Includes scrolling text/gfx, deferred rendering, lines, sprites, circles, rectangles and more.
category=Display
url=https://github.com/bitbank2/OneBitDisplay
architectures=*
Expand Down
2 changes: 1 addition & 1 deletion src/OneBitDisplay.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// OneBitDisplay (OLED+LCD library)
// OneBitDisplay (OLED,LCD and e-paper library)
// Copyright (c) 2020 BitBank Software, Inc.
// Written by Larry Bank ([email protected])
// Project started 3/23/2020
Expand Down
12 changes: 12 additions & 0 deletions src/OneBitDisplay.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
// Copyright 2020 BitBank Software, Inc. All Rights Reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//===========================================================================

#ifndef __ONEBITDISPLAY__
#define __ONEBITDISPLAY__

Expand Down
12 changes: 12 additions & 0 deletions src/obd.inl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
// obd.inl
// Drawing code for OneBitDisplay library
//
// Copyright 2020 BitBank Software, Inc. All Rights Reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//===========================================================================

void initSPI(OBDISP *pOBD, int iSpeed, int iMOSI, int iCLK, int iCS);
void _delay(int iDelay);
void EPDSetPosition(OBDISP *pOBD, int x, int y, int cx, int cy);
Expand Down
12 changes: 12 additions & 0 deletions src/obd_io.inl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
// I/O functions for the OneBitDisplay library
//
// written by Larry Bank
// Copyright 2020 BitBank Software, Inc. All Rights Reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//===========================================================================

#define MAX_CACHE 192
static uint8_t u8Cache[MAX_CACHE]; // for faster character drawing
static volatile uint8_t u8End = 0;
Expand Down

0 comments on commit 1e57a2c

Please sign in to comment.