/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | st7735.cxx | 35 upm::ST7735 * lcd = new upm::ST7735(7, 4, 9, 8); in main() local 36 lcd->fillScreen (ST7735_RED); in main() 37 lcd->refresh (); in main() 39 lcd->fillScreen (ST7735_CYAN); in main() 40 lcd->refresh (); in main() 42 lcd->fillScreen (ST7735_BLACK); in main() 43 lcd->refresh (); in main() 45 lcd->drawLine(10, 10, 10, 100, ST7735_MAGENTA); in main() 46 lcd->drawLine(20, 20, 10, 100, ST7735_YELLOW); in main() 47 lcd->drawLine(30, 30, 50, 100, ST7735_WHITE); in main() [all …]
|
D | ssd1306-oled.cxx | 96 upm::SSD1306 *lcd = new upm::SSD1306(BUS_NUMBER, DEVICE_ADDRESS); in main() local 98 lcd->clear(); in main() 99 lcd->stopscroll(); in main() 100 lcd->draw(intel_logo, 1024); in main() 104 lcd->clear(); in main() 105 lcd->setCursor(2, 0); in main() 106 lcd->write("Hello"); in main() 107 lcd->setCursor(3,0); in main() 108 lcd->write("World"); in main() 112 lcd->invert(true); in main() [all …]
|
D | lcm1602-i2c.cxx | 31 upm::Lcm1602* lcd = new upm::Lcm1602(0, 0x27); in main() local 32 lcd->setCursor(0,0); in main() 33 lcd->write("Hello World"); in main() 36 lcd->setCursor(1,2); in main() 37 lcd->write("Hello World"); in main() 39 lcd->setCursor(2,4); in main() 40 lcd->write("Hello World"); in main() 42 lcd->setCursor(3,6); in main() 43 lcd->write("Hello World"); in main() 45 delete lcd; in main()
|
D | eboled.cxx | 34 upm::EBOLED *lcd = new upm::EBOLED(); in main() local 36 lcd->clear(); in main() 37 lcd->setCursor(2, 0); in main() 38 lcd->write("Hello"); in main() 39 lcd->setCursor(3, 5); in main() 40 lcd->write("World!"); in main() 45 delete lcd; in main()
|
D | ssd1327-oled.cxx | 110 upm::SSD1327 *lcd = new upm::SSD1327(BUS_NUMBER, 0x3C); in main() local 113 lcd->setGrayLevel(12); in main() 114 lcd->draw(SeeedLogo, 96 * 96 / 8); in main() 119 lcd->setCursor(i, 0); in main() 120 lcd->setGrayLevel(i); in main() 121 lcd->write("Hello World"); in main() 124 delete lcd; in main()
|
D | sainsmartks.cxx | 48 upm::SAINSMARTKS* lcd = new upm::SAINSMARTKS(); in main() local 49 lcd->setCursor(0,0); in main() 50 lcd->write("Sainsmart KS"); in main() 51 lcd->setCursor(1,2); in main() 52 lcd->write("Hello World"); in main() 57 cout << "Button value: " << lcd->getRawKeyValue() << endl; in main() 63 delete lcd; in main()
|
D | jhd1313m1-lcd.cxx | 32 upm::Jhd1313m1 *lcd = new upm::Jhd1313m1(0, 0x3E, 0x62); in main() local 33 lcd->setCursor(0,0); in main() 34 lcd->write("Hello World"); in main() 35 lcd->setCursor(1,2); in main() 36 lcd->write("Hello World"); in main() 40 delete lcd; in main()
|
D | lcm1602-parallel.cxx | 43 upm::Lcm1602 *lcd = new upm::Lcm1602(8, 13, 2, 3, 4, 5, 20, 2); in main() local 44 lcd->setCursor(0,0); in main() 45 lcd->write("Hello World"); in main() 46 lcd->setCursor(1,2); in main() 47 lcd->write("Hello World"); in main() 51 delete lcd; in main()
|
D | ssd1308-oled.cxx | 91 upm::SSD1308 *lcd = new upm::SSD1308(BUS_NUMBER, DEVICE_ADDRESS); in main() local 93 lcd->clear(); in main() 94 lcd->draw(intel_logo, 1024); in main() 96 delete lcd; in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | st7735.js | 28 var lcd = new st7735.ST7735(10, 7, 9, 8); variable 29 lcd.fillScreen(st7735.ST7735_RED); 30 lcd.refresh(); 32 lcd.fillScreen(st7735.ST7735_CYAN); 33 lcd.refresh(); 35 lcd.fillScreen(st7735.ST7735_BLACK); 36 lcd.refresh(); 38 lcd.drawLine(10, 10, 10, 100, st7735.ST7735_MAGENTA); 39 lcd.drawLine(20, 20, 10, 100, st7735.ST7735_YELLOW); 40 lcd.drawLine(30, 30, 10, 100, st7735.ST7735_WHITE); [all …]
|
D | oled_ssd1306.js | 85 lcd = null; 93 var lcd = new lcdObj.SSD1306(6, 0x3c); variable 96 lcd.clear(); 97 lcd.setCursor(2, 0); 98 lcd.write("Hello"); 99 lcd.setCursor(3, 0); 100 lcd.write("World!"); 111 lcd.invert(true) 114 lcd.dim(true); 117 lcd.invert(false); [all …]
|
D | sainsmartks.js | 31 var lcd = new sainsmartObj.SAINSMARTKS(); variable 33 lcd.setCursor(0,0); 34 lcd.write("Sainsmart KS"); 35 lcd.setCursor(1,2); 36 lcd.write("Hello World"); 41 console.log("Button value: " + lcd.getRawKeyValue()); 47 lcd = null;
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | ST7735Sample.java | 39 upm_st7735.ST7735 lcd = new upm_st7735.ST7735((short) 7, (short) 4, (short) 9, (short) 8); in main() local 41 lcd.fillScreen(upm_st7735.javaupm_st7735Constants.ST7735_RED); in main() 42 lcd.refresh(); in main() 44 lcd.fillScreen(upm_st7735.javaupm_st7735Constants.ST7735_CYAN); in main() 45 lcd.refresh(); in main() 47 lcd.fillScreen(upm_st7735.javaupm_st7735Constants.ST7735_BLACK); in main() 48 lcd.refresh(); in main() 50 lcd.drawLine((short) 10, (short) 10, (short) 10, (short) 100, in main() 52 lcd.drawLine((short) 20, (short) 20, (short) 10, (short) 100, in main() 54 lcd.drawLine((short) 30, (short) 30, (short) 50, (short) 100, in main() [all …]
|
D | Lcm1602_i2cSample.java | 39 upm_i2clcd.Lcm1602 lcd = new upm_i2clcd.Lcm1602(0, 0x27); in main() local 41 lcd.setCursor(0, 0); in main() 42 lcd.write("Hello World"); in main() 45 lcd.setCursor(1, 2); in main() 46 lcd.write("Hello World"); in main() 49 lcd.setCursor(2, 4); in main() 50 lcd.write("Hello World"); in main() 53 lcd.setCursor(3, 6); in main() 54 lcd.write("Hello World"); in main()
|
D | Jhd1313m1Sample.java | 38 upm_i2clcd.Jhd1313m1 lcd = new upm_i2clcd.Jhd1313m1(0); in main() local 40 lcd.setCursor(0, 0); in main() 41 lcd.write("Hello World"); in main() 42 lcd.setCursor(1, 2); in main() 43 lcd.write("Hello World"); in main() 47 lcd.clear(); in main()
|
D | Jhd1313m1_lcdSample.java | 38 upm_i2clcd.Jhd1313m1 lcd = new upm_i2clcd.Jhd1313m1(1, 0x3E, 0x62); in main() local 40 lcd.setCursor(0,0); in main() 41 lcd.write("Hello World"); in main() 42 lcd.setCursor(1,2); in main() 43 lcd.write("Hello World"); in main() 47 lcd.clear(); in main()
|
D | SSD1327_oledSample.java | 123 upm_i2clcd.SSD1327 lcd = new upm_i2clcd.SSD1327(0); in main() local 127 lcd.setGrayLevel((short) 12); in main() 133 lcd.draw(image); in main() 137 lcd.setCursor(i, 0); in main() 138 lcd.setGrayLevel(i); in main() 139 lcd.write("Hello World"); in main()
|
D | Lcm1602_parallelSample.java | 50 upm_i2clcd.Lcm1602 lcd = new upm_i2clcd.Lcm1602(8, 13, 2, 3, 4, 5, 20, 2); in main() local 52 lcd.setCursor(0, 0); in main() 53 lcd.write("Hello World"); in main() 54 lcd.setCursor(1, 2); in main() 55 lcd.write("Hello World"); in main()
|
D | SSD1308_oledSample.java | 88 upm_i2clcd.SSD1308 lcd = new upm_i2clcd.SSD1308(0); in main() local 94 lcd.clear(); in main() 95 lcd.draw(image); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | eboled.py | 29 lcd = lcdObj.EBOLED(); variable 31 lcd.clear(); 32 lcd.setCursor(2, 0); 33 lcd.write("Hello"); 34 lcd.setCursor(3, 5); 35 lcd.write("World!");
|
D | sainsmartks.py | 43 lcd = sainsmartObj.SAINSMARTKS() variable 45 lcd.setCursor(0,0) 46 lcd.write("Sainsmart KS") 47 lcd.setCursor(1,2) 48 lcd.write("Hello World") 52 print "Button value: ", lcd.getRawKeyValue()
|
D | rgb-lcd.py | 24 import pyupm_i2clcd as lcd namespace 27 myLcd = lcd.Jhd1313m1(0, 0x3E, 0x62)
|
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
D | CMakeLists.txt | 2 set (classname "lcd") 3 set (libdescription "upm lcd/oled displays") 4 set (module_src lcd.cxx lcm1602.cxx jhd1313m1.cxx ssd1308.cxx eboled.cxx ssd1327.cxx sainsmartks.cx… 5 set (module_h lcd.h lcm1602.h jhd1313m1.h ssd1308.h eboled.h ssd1327.h ssd.h sainsmartks.h ssd1306.…
|
/hardware/bsp/intel/peripheral/libupm/docs/ |
D | building.md | 81 you're in the build directory, to make the lcd module you would: 84 cd src/lcd 91 rebuild. For example the lcd module target name is i2clcd. Therefore the python
|
/hardware/bsp/intel/peripheral/libupm/doxy/ |
D | samples.mapping.txt | 58 jhd1313m1-lcd.cxx Jhd1313m1_lcdSample.java 62 lcm1602-lcd.cxx Lcm1602_lcdSample.java
|