Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 0:220fd80e5a11, committed 2013-02-18
- Comitter:
- HarishMekali
- Date:
- Mon Feb 18 07:09:20 2013 +0000
- Commit message:
- LED without lib
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Feb 18 07:09:20 2013 +0000 @@ -0,0 +1,23 @@ + +void delay(void) +{ +int j; +for(j=0;j<1000000;j++) + {j++; j--;} +} + +#define FIO1DIR2 (* (volatile unsigned char *) (0x2009C022)) +#define FIO1PIN2 (* (volatile unsigned char *) (0x2009C036)) + +int main() +{ +FIO1DIR2=0xFF; +while(1) +{ +FIO1PIN2|=0xFF; +delay(); +FIO1PIN2&=0x00; +delay(); +} + +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Feb 18 07:09:20 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/0954ebd79f59 \ No newline at end of file