mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
lcd: Renamed 'i2clcd' library to 'lcd'
All other upm library directories match their corresponding library name, the i2clcd was an outlier which caused problems for CMake and testing. * Replaced usage of i2clcd with lcd * Renamed source files and examples * Updated examples to use correct class * Updated documentation where necessary (left changelog sections) Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
from __future__ import print_function
|
||||
import time, sys
|
||||
|
||||
from upm import pyupm_i2clcd as lcdObj
|
||||
from upm import pyupm_lcd as lcdObj
|
||||
|
||||
def main():
|
||||
# setup with default values
|
||||
|
@ -21,10 +21,10 @@
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
# Load i2clcd display module
|
||||
# Load lcd display module
|
||||
from __future__ import print_function
|
||||
import time, signal, sys
|
||||
from upm import pyupm_i2clcd as upmLCD
|
||||
from upm import pyupm_lcd as upmLCD
|
||||
|
||||
def main():
|
||||
myLCD = upmLCD.SSD1308(0, 0x3C);
|
||||
|
@ -21,10 +21,10 @@
|
||||
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
# Load i2clcd display module
|
||||
# Load lcd display module
|
||||
from __future__ import print_function
|
||||
import time, signal, sys
|
||||
from upm import pyupm_i2clcd as upmLCD
|
||||
from upm import pyupm_lcd as upmLCD
|
||||
|
||||
def main():
|
||||
myLCD = upmLCD.SSD1327(0, 0x3C);
|
||||
|
Reference in New Issue
Block a user