Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 7 months ago.
Mbuino
How do you connect to the PINOUT and use a Breadboard with it sorry I'm new,. like with Arduino.
Question relating to:
1 Answer
10 years, 7 months ago.
For a digital output the syntax is:
DigitalOut myOutput(PIN_NAME)
You then set them high or low with myOutput = 0; or myOutput = 1;
where PIN_NAME is the name indicated on the back of the mBuino replacing the . with an _ e.g. P0_9 for the pin furthest from the USB connector. You can also see the pin names on the image on this page: http://developer.mbed.org/platforms/Outrageous-Circuits-mBuino/
There are also aliases defined for the pins used for the LEDs, LED1 - LED7 will give you the 7 LEDs.