diff --git a/main.cc b/main.cc index 45dee7c..6d4291a 100644 --- a/main.cc +++ b/main.cc @@ -9,6 +9,9 @@ TextStream kout = TextStream(0, 80, 0, 12, true); +TextStream dout[8]; + + // Main function // (the bootstrap processor starts here)} extern "C" int main() { @@ -82,7 +85,11 @@ extern "C" int main_ap() { ////test Serial Serial s = Serial(); s.write('a'); + + uint8_t from = static_cast(LAPIC::getID()) * 20; + uint8_t to = from+20; + dout[LAPIC::getID()] = TextStream(from, to, 0, 6, true); return 0; }