YALI
Yet Another LCD Interface
Macros
arduino-conf.h File Reference

Arduino configuration file for YALI module. More...

#include "Arduino.h"
Include dependency graph for arduino-conf.h:

Go to the source code of this file.

Macros

#define ARDUINO_AVR   1
 
#define SHIFTREG_CLK_PIN   4
 
#define SHIFTREG_DATA_PIN   5
 
#define SHIFTREG_LATCH_PIN   6
 
#define UCHAR   unsigned char
 
#define CHAR   char
 
#define VOID   void
 
#define MAX_STR_LEN   16
 
#define DELAY_LONG()   delay(10)
 
#define DELAY_SHORT()   delayMicroseconds(50)
 

Detailed Description

Arduino configuration file for YALI module.

Author
Dilshan R Jayakody (jayak.nosp@m.ody2.nosp@m.000lk.nosp@m.@gma.nosp@m.il.co.nosp@m.m)
Version
1.0
Date
2023-03-23

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Macro Definition Documentation

◆ ARDUINO_AVR

#define ARDUINO_AVR   1

Flag to indicate the Arduino AVR project.

◆ CHAR

#define CHAR   char

Mapping for char.

◆ DELAY_LONG

#define DELAY_LONG ( )    delay(10)

Function mapping for long delay.

◆ DELAY_SHORT

#define DELAY_SHORT ( )    delayMicroseconds(50)

Function mapping for short delay.

◆ MAX_STR_LEN

#define MAX_STR_LEN   16

Maximum string length allowed by the YALI library.

◆ SHIFTREG_CLK_PIN

#define SHIFTREG_CLK_PIN   4

Clock output which connected to the CLK terminal of the YALI module.

◆ SHIFTREG_DATA_PIN

#define SHIFTREG_DATA_PIN   5

Data output which connected to the DAT terminal of the YALL module.

◆ SHIFTREG_LATCH_PIN

#define SHIFTREG_LATCH_PIN   6

Latch control pin which is connected to the LAT terminal of the YALI module.

◆ UCHAR

#define UCHAR   unsigned char

Mapping for Unsigned char.

◆ VOID

#define VOID   void

Mapping for void.