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:
- 2016US_AdamStanic
- Date:
- 2016-03-07
- Revision:
- 0:e93123f7aefe
File content as of revision 0:e93123f7aefe:
#include "mbed.h"
#define dp23 P0_0
BusOut bus(dp23,dp24,dp25,dp26,dp27,dp5,dp6,dp28);
DigitalOut enable(dp14);
int main()
{
int brojac=1;
enable=0;
while(1)
{
for(brojac=1; brojac<=256 ;brojac=brojac*2)
if(brojac == 256)
{
brojac=1;
}
bus=brojac;
wait(1);
}
}