2015-03-12 21:50:57 +01:00
|
|
|
#ifndef __U8G_CONFIG_H__
|
|
|
|
#define __U8G_CONFIG_H__
|
|
|
|
|
|
|
|
|
2015-07-16 23:23:43 +02:00
|
|
|
// ***************************************************************************
|
2015-03-12 21:50:57 +01:00
|
|
|
// Configure U8glib fonts
|
2015-07-16 23:23:43 +02:00
|
|
|
//
|
|
|
|
// Add a U8G_FONT_TABLE_ENTRY for each font you want to compile into the image
|
2015-03-12 21:50:57 +01:00
|
|
|
#define U8G_FONT_TABLE_ENTRY(font)
|
|
|
|
#define U8G_FONT_TABLE \
|
|
|
|
U8G_FONT_TABLE_ENTRY(font_6x10) \
|
|
|
|
U8G_FONT_TABLE_ENTRY(font_chikita)
|
|
|
|
#undef U8G_FONT_TABLE_ENTRY
|
2015-07-16 23:23:43 +02:00
|
|
|
//
|
|
|
|
// ***************************************************************************
|
2015-03-12 21:50:57 +01:00
|
|
|
|
2015-03-12 23:09:41 +01:00
|
|
|
|
2015-07-16 23:23:43 +02:00
|
|
|
// ***************************************************************************
|
2015-03-12 23:09:41 +01:00
|
|
|
// Enable display drivers
|
2015-07-16 23:23:43 +02:00
|
|
|
//
|
|
|
|
// Uncomment the U8G_DISPLAY_TABLE_ENTRY for the device(s) you want to
|
|
|
|
// compile into the firmware.
|
|
|
|
// Stick to the assignments to *_I2C and *_SPI tables.
|
|
|
|
//
|
|
|
|
// I2C based displays go into here:
|
2015-07-20 22:07:59 +02:00
|
|
|
#define U8G_DISPLAY_TABLE_ENTRY(device, lua_api_name)
|
2015-07-16 23:23:43 +02:00
|
|
|
#define U8G_DISPLAY_TABLE_I2C \
|
2015-07-20 22:07:59 +02:00
|
|
|
U8G_DISPLAY_TABLE_ENTRY(ssd1306_128x64_i2c, ssd1306_128x64_i2c)
|
2015-07-16 23:23:43 +02:00
|
|
|
|
|
|
|
// SPI based displays go into here:
|
|
|
|
#define U8G_DISPLAY_TABLE_SPI \
|
2015-07-20 22:07:59 +02:00
|
|
|
U8G_DISPLAY_TABLE_ENTRY(ssd1306_128x64_hw_spi, ssd1306_128x64_spi) \
|
|
|
|
// U8G_DISPLAY_TABLE_ENTRY(pcd8544_84x48_hw_spi, pcd8544_84x48_spi)
|
2015-07-16 23:23:43 +02:00
|
|
|
#undef U8G_DISPLAY_TABLE_ENTRY
|
|
|
|
//
|
|
|
|
// ***************************************************************************
|
2015-03-12 23:09:41 +01:00
|
|
|
|
|
|
|
|
2015-03-12 21:50:57 +01:00
|
|
|
#endif /* __U8G_CONFIG_H__ */
|