Pinoutdiagram
This table shows how the pinout on 7x10 G click corresponds to the pinout on the mikroBUS™
socket (the latter shown in the two middle columns).
Notes Pin
Pin Notes
CD4017clockpin RC 1 AN PWM 16 RR CD4017resetpin
74HC595reset RST 2 RST INT 15 NC
Latchof74HC595 CS 3 CS TX 14 NC
SPIclockpin
SCK 4 SCK RX 13 NC
SPIslavedataoutpin
SDO 5 MISO SCL 12 NC
SPIslavedatainpin
SDI 6 MOSI SDA 11 NC
Powersupply
+3.3V 7 3.3V 5V 10 +5V Powersupply
Ground GND 8 GND GND 9 GND Ground
Programming
Code examples for 7x10 G click, written for MikroElektronika hardware and compilers are
available on Libstock.
Codesnippet
This code snippet shows how to display scrolling text at medium speed.
01 void S7X10G_Task()
02 {
03 bool ind;
04 static bool called = false;
05 S7X10G_clearDisplay();
06
07 // scrolls given text
08 if ( !called )
09 {
10 S7X10G_drawText( " Mikro Elektronika" );