We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm trying to fill an array with a rotating counts then add the all up each time the sub is called. When I simulate this code I never see the i++ index. I guess keil supports i++ by itself.
i++; if(i == 10){i == 0;} array[i] = data; data = 0; for (a = 0; a < 10 ; a++) {data = data + array[i];}
"The simulator was only updating the results when I minimized the maximized my window." Have you checked 'Periodic Window Update' on the 'View' menu?