Пример #1
0
int main() {

  // set up SysTick at 1ms resolution
  MillisecondTimer::initialise();

  RtcTest test;
  test.run();

  // not reached
  return 0;
}
Пример #2
0
int main() {

  // set up SysTick at 1ms resolution

  MillisecondTimer::initialise();

  // we're using interrupts, initialise NVIC

  Nvic::initialise();

  RtcTest test;
  test.run();

  // not reached
  return 0;
}