Repetier-Firmware  0.91
src/ArduinoAVR/Repetier/uiconfig.h File Reference

Go to the source code of this file.

Defines

#define UI_DISPLAY_CHARSET   2
#define BEEPER_TYPE_INVERTING   false
#define UI_DISPLAY_TYPE   0
#define UI_COLS   20
#define UI_ROWS   4
#define UI_DISPLAY_I2C_CHIPTYPE   0
#define UI_DISPLAY_I2C_ADDRESS   0x4e
#define UI_DISPLAY_I2C_OUTPUT_PINS   65504
#define UI_DISPLAY_I2C_OUTPUT_START_MASK   0
#define UI_DISPLAY_I2C_PULLUP   31
#define UI_I2C_CLOCKSPEED   100000L
#define UI_DISPLAY_RS_PIN   63
#define UI_DISPLAY_RW_PIN   -1
#define UI_DISPLAY_ENABLE_PIN   65
#define UI_DISPLAY_D0_PIN   59
#define UI_DISPLAY_D1_PIN   64
#define UI_DISPLAY_D2_PIN   44
#define UI_DISPLAY_D3_PIN   66
#define UI_DISPLAY_D4_PIN   59
#define UI_DISPLAY_D5_PIN   64
#define UI_DISPLAY_D6_PIN   44
#define UI_DISPLAY_D7_PIN   66
#define UI_DELAYPERCHAR   320
#define UI_HAS_KEYS   0
 Are some keys connected?
#define UI_HAS_BACK_KEY   1
 Is a back key present.
#define UI_INVERT_MENU_DIRECTION   false
#define UI_HAS_I2C_ENCODER   0
#define UI_I2C_KEY_ADDRESS   0x40

Define Documentation

#define BEEPER_TYPE_INVERTING   false

Select type of beeper 0 = none 1 = Piezo connected to pin 2 = Piezo connected to a pin over I2C

#define UI_COLS   20

Number of columns per row

Typical values are 16 and 20

#define UI_DELAYPERCHAR   320
#define UI_DISPLAY_CHARSET   2

While the ascii chars are all the same, the driver have different charsets for special chars used in different countries. The charset allows to fix for this problem. If characters look wrong, try a different charset. If nothing works, use the ascii charset 0 as fallback. Not the nicest for everything but working!

0 = ASCII fallback 1 = Default works on most displays. This has some japanese chars in charset 2 = Alternative charset with more european chars

#define UI_DISPLAY_D0_PIN   59
#define UI_DISPLAY_D1_PIN   64
#define UI_DISPLAY_D2_PIN   44
#define UI_DISPLAY_D3_PIN   66
#define UI_DISPLAY_D4_PIN   59
#define UI_DISPLAY_D5_PIN   64
#define UI_DISPLAY_D6_PIN   44
#define UI_DISPLAY_D7_PIN   66
#define UI_DISPLAY_ENABLE_PIN   65
#define UI_DISPLAY_I2C_ADDRESS   0x4e
#define UI_DISPLAY_I2C_CHIPTYPE   0
#define UI_DISPLAY_I2C_OUTPUT_PINS   65504
#define UI_DISPLAY_I2C_PULLUP   31
#define UI_DISPLAY_RS_PIN   63

Define the pin

#define UI_DISPLAY_RW_PIN   -1
#define UI_DISPLAY_TYPE   0

What display type do you use? 0 = No display 1 = LCD Display with 4 bit data bus 2 = LCD Display with 8 bit data bus (currently not implemented, fallback to 1) 3 = LCD Display with I2C connection, 4 bit mode 4 = Use the slower LiquiedCrystal library bundled with arduino. IMPORTANT: You need to uncomment the LiquidCrystal include in Repetier.pde for it to work. If you have Sanguino and want to use the library, you need to have Arduino 023 or older. (13.04.2012) 5 = U8G supported display

#define UI_HAS_BACK_KEY   1

Is a back key present.

If you have menus enabled, you need a method to leave it. If you have a back key, you can always go one level higher. Without a back key, you need to navigate to the back entry in the menu. Setting this value to 1 removes the back entry.

#define UI_HAS_I2C_ENCODER   0

Uncomment this, if you have keys connected via i2c to a PCF8574 chip.

#define UI_HAS_KEYS   0

Are some keys connected?

0 = No keys attached - disables also menu 1 = Some keys attached

#define UI_I2C_CLOCKSPEED   100000L
#define UI_I2C_KEY_ADDRESS   0x40
#define UI_INVERT_MENU_DIRECTION   false
#define UI_ROWS   4

Rows of your display. 2 or 4

 All Data Structures Namespaces Files Functions Variables Typedefs Friends Defines