Defines | Functions

lib/display/lib_display.c File Reference

Implementation of library for using nRFgo display module. More...

#include "nrf24le1.h"
#include <stdint.h>
#include <string.h>
#include "nordic_common.h"
#include "hal_delay.h"
#include "lib_display.h"

Go to the source code of this file.

Defines

#define DDRAM_ADR   0x80
#define DDRAM_WR   0x40
#define FUNC_SET   0x00
#define LCD_ADDR   0x3E
#define JS_ADDR   0x3F
#define X   0
#define Y   1

Functions

void lcd_init (void)
void lcd_write_string (char *text, uint8_t line, uint8_t pos)
void lcd_clear (void)
void lcd_set_contrast (lib_nrf6350_lcd_contrast_t contrast)
void lcd_set_instruction (uint8_t instr)
void lcd_on (void)
void lcd_off (void)
void js_get_value (int8_t *val)
_Bool js_button_pushed (void)
lib_display_js_states_t js_get_status ()

Detailed Description

Implementation of library for using nRFgo display module.

Definition in file lib_display.c.


Define Documentation

#define DDRAM_ADR   0x80

Definition at line 26 of file lib_display.c.

#define DDRAM_WR   0x40

Definition at line 27 of file lib_display.c.

#define FUNC_SET   0x00

Definition at line 28 of file lib_display.c.

#define LCD_ADDR   0x3E

Definition at line 29 of file lib_display.c.

#define JS_ADDR   0x3F

Definition at line 30 of file lib_display.c.

#define X   0

Definition at line 32 of file lib_display.c.

#define Y   1

Definition at line 33 of file lib_display.c.