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.
Nboard.h
00001 #include "mbed.h" 00002 00003 DigitalOut LED0(PB_3); 00004 DigitalOut led1(PA_7); 00005 DigitalOut led2(PA_6); 00006 DigitalOut led3(PA_5); 00007 DigitalOut led4(PA_3); 00008 DigitalOut led5(PA_1); 00009 DigitalOut led6(PA_0); 00010 DigitalOut led7(PA_2); 00011 00012 DigitalIn BP0(PA_9,PullUp); 00013 DigitalIn BP1(PA_10,PullUp); 00014 DigitalIn BP2(PB_0,PullUp); 00015 //DigitalIn BP3(PB_7,PullUp); 00016 00017 00018 DigitalIn Jack(PB_6,PullUp); 00019 DigitalIn BP(PB_7,PullUp); 00020 00021 AnalogIn AnaIn(PB_1); 00022 PwmOut pwmd(PB_4); 00023 PwmOut pwmg(PB_5); 00024 00025 BusOut LEDs(PB_3,PA_7,PA_6,PA_5,PA_3,PA_1,PA_0,PA_2); 00026 BusOut BusSelectMux (PA_8,PF_1,PF_0); 00027 00028 #define Ana0 0 00029 #define Ana1 1 00030 #define Ana2 2 00031 #define Ana3 3 00032 #define Ana4 4 00033 #define Ana5 5 00034 #define AIn 6 00035 #define Vpot 7
Generated on Sat Aug 27 2022 15:15:53 by
1.7.2