#include <ADUC831.H> #include <absacc.h> #include <stdio.h>
unsigned char xdata large_array[0xC0];
void main (void) { unsigned int i;
for (i = 0; i < sizeof (large_array); i++) { large_array = (unsigned char) i; } for (i = 0; i < sizeof (large_array); i++) { printf ("
Read large_array[0x%X]=%bX", i, large_array); } while (1); }
从串口读出来的数都是FF呀!!!!!! |