|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object avrora.sim.platform.LCDScreen
Debug class. Connect this for TestUart test case. "Formats" LCD display.
Constructor Summary | |
LCDScreen()
The constructor for the LCDScreen class initializes a 40x2 character array that
represents the character area of the LCD screen. |
Method Summary | |
char |
memory(byte cursor)
The memory() method returns the character in memory at the given location. |
void |
receiveFrame(USART.Frame frame)
The receiveFrame() method receives a frame from the USART that this device is
connected to. |
java.lang.String |
toString()
The toString() method converts this LCD screen into a String representation. |
USART.Frame |
transmitFrame()
Transmit a frame from this device. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LCDScreen()
LCDScreen
class initializes a 40x2 character array that
represents the character area of the LCD screen.
Method Detail |
public char memory(byte cursor)
memory()
method returns the character in memory at the given location.
cursor
- the index into the memory for which to retrieve the character
public USART.Frame transmitFrame()
USART.USARTDevice
transmitFrame
in interface USART.USARTDevice
public void receiveFrame(USART.Frame frame)
receiveFrame()
method receives a frame from the USART that this device is
connected to. It then decodes the command, performs the specified action, and updates the
character memory accordingly.
receiveFrame
in interface USART.USARTDevice
frame
- the USART frame to receivepublic java.lang.String toString()
toString()
method converts this LCD screen into a String representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |