AGirs
Macros
GirsLite.config.h File Reference

Configuration optimized for IrScrutinizer and Lirc. More...

#include <girs_hw_config.h>
Include dependency graph for GirsLite.config.h:

Go to the source code of this file.

Macros

#define PROGNAME   "GirsLite"
 Program name, as displayed in greeting messages etc. More...
 
#define TRANSMIT
 Define to support transmission of IR signals. More...
 
#define RECEIVE
 Define to support the rendering of some known protocols, presently NEC1 and RC5. More...
 
#define LED
 Define to support decoding of the received signal. More...
 
#define PARAMETERS
 Define to allow to change the parameters, like timeouts. More...
 
#define NAMED_COMMANDS
 Define to support commands called by names, grouped in sets, "remotes". More...
 
#define TRANSMITLED   4
 Define to have the receive command report the durations, even if DECODE is defined and a decode was found. More...
 
#define RECEIVELED   3
 Number of logical LED to light when waiting for reception. More...
 
#define CAPTURELED   3
 Number of logical LED to light when waiting for capture. More...
 
#define COMMANDLED   2
 Number of logical LED to light when waiting for command. More...
 
#define EOLCHAR   '\r'
 Character that ends the command lines. More...
 
#define LCD_0x3F_20_4
 Define to use LCD display at I2C address 0x3F, 4 lines, 20 columns. More...
 
#define LCD_0x27_20_4
 Define to use LCD display at I2C address 0x27, 4 lines, 20 columns. More...
 
#define LCD_0x27_16_2
 Define to use LCD display at I2C address 0x27, 2 lines, 16 columns. More...
 
#define DEFAULT_BEGINTIMEOUT   10000UL
 Time to wait for signal to start. More...
 
#define DEFAULT_RECEIVE_ENDINGTIMEOUT   50L
 By receive, time to wait before signal is considered ended. More...
 
#define DEFAULT_CAPTURE_ENDINGTIMEOUT   100L
 By capture, time to wait before signal is considered ended. More...
 
#define DEFAULT_CAPTURESIZE   400U
 Size of capture and receive arrays. More...
 
#define IRRECEIVER_MARK_EXCESS   50
 This quantity is added to all gaps and subtracted from all marks when receiving. More...
 
#define IRSENSOR_MARK_EXCESS   -10
 This quantity is added to all gaps and subtracted from all marks when capturing. More...
 

Detailed Description

Configuration optimized for IrScrutinizer and Lirc.

Definition in file GirsLite.config.h.

Macro Definition Documentation

◆ CAPTURELED

#define CAPTURELED   3

Number of logical LED to light when waiting for capture.

Definition at line 131 of file GirsLite.config.h.

◆ COMMANDLED

#define COMMANDLED   2

Number of logical LED to light when waiting for command.

Definition at line 137 of file GirsLite.config.h.

◆ DEFAULT_BEGINTIMEOUT

#define DEFAULT_BEGINTIMEOUT   10000UL

Time to wait for signal to start.

Definition at line 187 of file GirsLite.config.h.

◆ DEFAULT_CAPTURE_ENDINGTIMEOUT

#define DEFAULT_CAPTURE_ENDINGTIMEOUT   100L

By capture, time to wait before signal is considered ended.

Definition at line 198 of file GirsLite.config.h.

◆ DEFAULT_CAPTURESIZE

#define DEFAULT_CAPTURESIZE   400U

Size of capture and receive arrays.

Definition at line 204 of file GirsLite.config.h.

◆ DEFAULT_RECEIVE_ENDINGTIMEOUT

#define DEFAULT_RECEIVE_ENDINGTIMEOUT   50L

By receive, time to wait before signal is considered ended.

If using the decoder, be sure to end a capture before the repeat sequence.

Definition at line 193 of file GirsLite.config.h.

◆ EOLCHAR

#define EOLCHAR   '\r'

Character that ends the command lines.

Definition at line 145 of file GirsLite.config.h.

◆ IRRECEIVER_MARK_EXCESS

#define IRRECEIVER_MARK_EXCESS   50

This quantity is added to all gaps and subtracted from all marks when receiving.

Definition at line 210 of file GirsLite.config.h.

◆ IRSENSOR_MARK_EXCESS

#define IRSENSOR_MARK_EXCESS   -10

This quantity is added to all gaps and subtracted from all marks when capturing.

Definition at line 217 of file GirsLite.config.h.

◆ LCD_0x27_16_2

#define LCD_0x27_16_2

Define to use LCD display at I2C address 0x27, 2 lines, 16 columns.

Definition at line 172 of file GirsLite.config.h.

◆ LCD_0x27_20_4

#define LCD_0x27_20_4

Define to use LCD display at I2C address 0x27, 4 lines, 20 columns.

Definition at line 163 of file GirsLite.config.h.

◆ LCD_0x3F_20_4

#define LCD_0x3F_20_4

Define to use LCD display at I2C address 0x3F, 4 lines, 20 columns.

Definition at line 156 of file GirsLite.config.h.

◆ LED

#define LED

Define to support decoding of the received signal.

Define to support blinking with LED according to decoding outcome. Define to support an LCD display with I2C connection. Defines a command "lcd". Define to use signaling LEDs. Defines command "led".

Definition at line 56 of file GirsLite.config.h.

◆ NAMED_COMMANDS

#define NAMED_COMMANDS

Define to support commands called by names, grouped in sets, "remotes".

(Not yet implemented.)

Definition at line 69 of file GirsLite.config.h.

◆ PARAMETERS

#define PARAMETERS

Define to allow to change the parameters, like timeouts.

Defines command "parameters". The Lirc driver uses this, if available.

Definition at line 62 of file GirsLite.config.h.

◆ PROGNAME

#define PROGNAME   "GirsLite"

Program name, as displayed in greeting messages etc.

Definition at line 11 of file GirsLite.config.h.

◆ RECEIVE

#define RECEIVE

Define to support the rendering of some known protocols, presently NEC1 and RC5.

Define to support capturing of IR signals. Requires non-demodulating IR sensor (TSMP58000, QSE159, etc). Define to support reception of demodulated IR signals. Require demodulating IR sensor (TSMP* or equivalent).

Definition at line 37 of file GirsLite.config.h.

◆ RECEIVELED

#define RECEIVELED   3

Number of logical LED to light when waiting for reception.

Definition at line 124 of file GirsLite.config.h.

◆ TRANSMIT

#define TRANSMIT

Define to support transmission of IR signals.

Requires IR LEDs.

Definition at line 18 of file GirsLite.config.h.

◆ TRANSMITLED

#define TRANSMITLED   4

Define to have the receive command report the durations, even if DECODE is defined and a decode was found.

Use this for Lirc. Define to be able to reconfigure signaling LEDs during runtime. Have parameters for transmitled etc. Define to support sending signals without modulation, e.g. with RF module. Define to support a reset command, Experimental!! Define to support command "memory", reporting free (SRAM) memory. Define to support command "info". Define to support command "hex", sending Pronto hex signals. Number of logical LED to light when transmission takings place.

Definition at line 117 of file GirsLite.config.h.