Introduce QuickFill
This commit is contained in:
@@ -2,7 +2,13 @@
|
||||
|
||||
namespace GPU {
|
||||
void setup() {
|
||||
Port::GP1.write(Port::Command::GP1::Reset());
|
||||
Port::GP1.write(Port::Command::GP1::SetDisplayState(Port::DisplayState::On));
|
||||
//Port::GP1.write(Port::Command::GP1::Reset());
|
||||
|
||||
//Quickfill
|
||||
Port::GP0.write(Port::Command::GP0::QuickFill(Color(0xFF, 0x0, 0x0)));
|
||||
Port::GP0.write(Port::Command::GP0::TopLeftPosition(8, 8));
|
||||
Port::GP0.write(Port::Command::GP0::WidthHeight(32, 32));
|
||||
|
||||
//Port::GP1.write(Port::Command::GP1::SetDisplayState(Port::DisplayState::On));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user