Skip to content

Arduino library with LCD, Keyboard and SPI Flash support for the SMART Response XE classroom communicator

License

Notifications You must be signed in to change notification settings

gc986/SmartResponseXE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gc986 added:
1) SRXERectangle1 - function for drawing reatangle with size 384x160. Minimal width = 1pix. You can use actual screen size.
2) SRXEVerticalLine1 - function for drawing horizontal line with minimal width 1pix. You can use actual screen size.

>>>>>>>>>>

Larry's SMART Response XE support library

Features:
--------
1) LCD initialization (4-gray levels) and support to draw 4 sizes of characters and outline+filled rectangles
2) Functions to erase/write/read the external 128K byte SPI FLASH memory
3) Fast GPIO access with simplified pin numbering (e.g. PORTD bit3 = pin 0xD3)
4) Scan the keyboard and return pressed keys translated with the shift/sym keys

Installation:
------------
1) Download the library: https://github.com/bitbank2/SmartResponseXE/archive/master.zip

2) (In the Arduino IDE) Sketch > Include Library > Add .ZIP Library > select the downloaded file > Open

2) (In the VSCode PlatformIO) copy folder to <folder of Your project>/lib

Getting Started:
---------------
The first thing to do is initialize and clear the LCD. The pin numbers for the SRXE are:
  // CS, D/C, RESET
  SRXEInit(0xe7, 0xd6, 0xa2); // initialize display
Next, you can draw some text or rectangles. The color can be 0-3 (0=off, 3=fully on)
  SRXEWriteString(0,120,"Hello World!", FONT_LARGE, 3, 0); // draw large black text at x=0,y=120, fg=3, bg=0
  

About

Arduino library with LCD, Keyboard and SPI Flash support for the SMART Response XE classroom communicator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.4%
  • C 9.6%