1 /* largeprogtest.c */
\r
3 #include "kernel_id.h"
\r
4 #include "ecrobot_interface.h"
\r
6 /* OSEK declarations */
\r
7 DeclareCounter(SysTimerCnt);
\r
10 /* LEJOS OSEK hook to be invoked from an ISR in category 2 */
\r
11 void user_1ms_isr_type2(void)
\r
15 ercd = SignalCounter(SysTimerCnt); /* Increment OSEK Alarm Counter */
\r
22 extern const U32 map[40000]; /* it consums 40000*4bytes = 160Kbytes in Flash */
\r
24 /* Task1 executed every 10msec */
\r
29 if (i >= 40000) i = 0;
\r
31 display_goto_xy(0, 0);
\r
32 display_int(map[i++], 0);
\r