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.
main.cpp
- Committer:
- TBSliver
- Date:
- 2011-08-26
- Revision:
- 0:772568a970df
- Child:
- 1:354410846278
File content as of revision 0:772568a970df:
#include "mbed.h"
// Sign Output Pins
BusOut address(p25, p26, p27, p28); // Address 0 to 16
BusOut colour(p23, p24); // 0 = off, 1 = red, 2 = green, 3 = orange
DigitalOut abTop(p22); // bank A or B switch for Top Row - 0 = A, 1 = B
DigitalOut clkTop(p21); // clock for Top Row
DigitalOut weTop(p20); // Write Enable for Top Row
DigitalOut aeTop(p19); // Address Enable for Top Row
DigitalOut enbTop(p18); // Enable for Top Row
DigitalOut abBot(p17); // bank A or B switch for Bottom Row - 0 = A, 1 = B
DigitalOut clkBot(p16); // clock for Bottom Row
DigitalOut weBot(p15); // Write Enable for Bottom Row
DigitalOut aeBot(p14); // Address Enable for Bottom Row
DigitalOut enbBot(p13); // Enable for Bottom Row
int main() {
}