Michael Spencer / Smoothie

Dependencies:   mbed

Fork of Smoothie by Stéphane Cachat

Embed: (wiki syntax)

« Back to documentation index

RrdGlcd Class Reference

RrdGlcd Class Reference

Based loosely on st7920.h from http://mbed.org/users/Bas/code/ST7920 and parts of the Arduino U8glib library. More...

#include <RrdGlcd.h>

Public Member Functions

 RrdGlcd (PinName mosi, PinName sclk, Pin cs)
 Constructor, initializes the lcd on the respective pins.
void fillGDRAM (const uint8_t *bitmap)
 Fills the screen with the graphics described in a 1024-byte array @.

Detailed Description

Based loosely on st7920.h from http://mbed.org/users/Bas/code/ST7920 and parts of the Arduino U8glib library.

Written by Jim Morris

Definition at line 22 of file RrdGlcd.h.


Constructor & Destructor Documentation

RrdGlcd ( PinName  mosi,
PinName  sclk,
Pin  cs 
)

Constructor, initializes the lcd on the respective pins.

Parameters:
mosimbed pinname for mosi
sclkmbed name for sclk
cdSmoothie Pin for cs
Returns:
none

Definition at line 149 of file RrdGlcd.cpp.


Member Function Documentation

void fillGDRAM ( const uint8_t *  bitmap )

Fills the screen with the graphics described in a 1024-byte array @.

Parameters:
bitmap128x64, bytes horizontal
Returns:
none

Definition at line 290 of file RrdGlcd.cpp.