MSPM0_ValvanoWare  1.0
ECE445L starter code
Enumerations | Functions
Arabic.h File Reference

Arabic output to LCD. More...

#include <stdint.h>

Go to the source code of this file.

Enumerations

enum  Arabic_t {
  null , alif , ayh , baa ,
  daad , daal , dhaa , dhaal ,
  faa , ghayh , haa , ha ,
  jeem , kaaf , khaa , laam ,
  meem , noon , qaaf , raa ,
  saad , seen , sheen , ta ,
  thaa , twe , waaw , yaa ,
  zaa , space , dot
}
 Arabic character set.
 

Functions

void Arabic_SetCursor (uint32_t newX, uint32_t newY)
 Move Arabic cursor. More...
 
void Arabic_OutChar (Arabic_t ch)
 Output an Arabic character. More...
 
void Arabic_OutString (Arabic_t *ptr)
 Output an Arabic string. More...
 

Detailed Description

Arabic output to LCD.

Arabic character/string output to ST7735R display

Version
ECE319K v1.0
Author
Amina Meddad and Jonathan Valvano
Warning
AS-IS
Note
For more information see http://users.ece.utexas.edu/~valvano/
Date
August 14, 2024
Adafruit ST7735R pins
Pin Connection Description
10+3.3Backlight
9 nc SPI1 MISO (used for SDC)
8 PB9 SPI1 SCLK clock out
7 PB8 SPI1 PICO data out
6 PB6 SPI1 CS0=TFT_CS
5 nc CARD_CS (used for SDC)
4 PA13Data/Command(GPIO), high for data, low for command
3 PB15RESET, low to reset, (GPIO)
2 +3.3VCC
1 Gnd ground
wide.hk ST7735R with ADXL345 accelerometer pins
PinConnection
VCC +3.3 V
GND Ground
!SCL SPI1 SCLK: PB9 clock
!SDA SPI1 PICO: PB8 MOSI SPI data from microcontroller to TFT or SDC
DC GPIO PA13 TFT data/command
RES GPIO PB15 TFT reset
CS SPI1 CS0: PB6 TFT_CS, active low to enable TFT
*CS (NC) SDC_CS, active low to enable SDC
MISO (NC) MISO SPI data from SDC to microcontroller
SDA (NC) I2C data for ADXL345 accelerometer
SCL (NC) I2C clock for ADXL345 accelerometer
SDO (NC) I2C alternate address for ADXL345 accelerometer
Backlight + - Light, backlight connected to +3.3 V
wide.hk ST7735R with ADXL335 accelerometer pins
PinConnection
VCC +3.3 V
GND Ground /
!SCLSPI1 SCLK: PB9
!SDA SPI1 PICO: PB8 MOSI SPI data from microcontroller to TFT or SDC
DC GPIO PA13 TFT data/command
RES GPIO PB15 TFT reset
CS SPI1 CS0: PB6 TFT_CS, active low to enable TFT
*CS (NC) SDC_CS, active low to enable SDC
MISO (NC) MISO SPI data from SDC to microcontroller
X(NC) analog input X-axis from ADXL335 accelerometer
Y(NC) analog input Y-axis from ADXL335 accelerometer
Z(NC) analog input Z-axis from ADXL335 accelerometer
Backlight + Light, backlight connected to +3.3 V
HiLetgo ST7735 TFT and SDC pins
signalPinConnection
LED- 16TFT, to ground
LED+ 15TFT, to +3.3 V
SD_CS 14SDC, to chip select
MOSI 13SDC, to MOSI
MISO 12SDC, to MISO
SCK 11SDC, to serial clock
CS 10TFT, to PB6 SPI1 CS0
SCL 9TFT, to PB9 SPI1 SCLK
SDA 8TFT, to PB8 MOSI SPI1 PICO
A0 7TFT, to PA13 Data/Command, high for data, low for command
RESET 6TFT, to PB15 reset (GPIO), low to reset
NC 3,4,5not connected
VCC 2to +3.3 V
GND 1to ground
Tyenaza Tyenazaqhf72mi9s3 pins
signalPinConnection
LED 8to +3.3 V
SCK 7SCLK to PB9 SPI1 SCLK
SDA 6MOSI, to PB8 SPI1 PICO
A0 5Data/Command to PA13 (GPIO), high for data, low for command
RESET 4to PB15 (GPIO), low to reset
CS 3to PB6 SPI1 CS0:
Gnd 2to ground
VCC 1to +3.3 V