Site Map

Recently Updated

Skip to end of metadata
Go to start of metadata

Shell

There are a few things that need to be taken care of before u jump in and write your first program, u need to disable the interupts and if you want to write to the display you need to clear the screen. Here is a code sample for displaying onto the screen...

sys_intOff(); //disable ARM interrupts[Main:\%3c\%3c]
sys_slowOn(); //enter 'slow mode', 12MHz, to save battery power[Main:\%3c\%3c]
clear_screen(); //clear the screen

input = readdouble();

/* your code here*/

while(!keyb_isON()){ //loop until ON pressed
}

sys_slowOff();
sys_intOn();

Labels:
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.