![](/media/cache/group/mbed-logo-square-512_3.png.50x50_q85.png)
DigitalIn Hello World
Fork of DigitalIn_HelloWorld_Mbed by
Use
The DigitalIn API is used to read a digital pin. The value will be either 0 or 1. Buttons and switches are some of the more common digital inputs.
API
API reference.
Import librarymbed
History
"Update mbed-os"
2017-06-27, by sarahmarshy [Tue, 27 Jun 2017 11:14:19 -0500] rev 10
"Update mbed-os"
Ported mbed OS 2 to mbed OS 5
2017-01-19, by mab5449 [Thu, 19 Jan 2017 10:37:24 -0600] rev 9
Ported mbed OS 2 to mbed OS 5
it works!
2015-03-27, by mbedAustin [Fri, 27 Mar 2015 22:07:54 +0000] rev 8
it works!
removed check requirement
2015-03-27, by mbedAustin [Fri, 27 Mar 2015 21:24:54 +0000] rev 7
removed check requirement
added note about changing button to match user board
2015-03-27, by mbedAustin [Fri, 27 Mar 2015 21:05:43 +0000] rev 6
added note about changing button to match user board
Updated program to reflect more of the API
2015-03-27, by mbedAustin [Fri, 27 Mar 2015 21:01:15 +0000] rev 5
Updated program to reflect more of the API
Added license to main.c file.
2015-03-27, by mbedAustin [Fri, 27 Mar 2015 20:13:29 +0000] rev 4
Added license to main.c file.
added comment for clarity
2014-09-21, by mbedAustin [Sun, 21 Sep 2014 19:20:53 +0000] rev 3
added comment for clarity
update libs
2014-09-21, by mbedAustin [Sun, 21 Sep 2014 19:19:43 +0000] rev 2
update libs
use latest version of mbed libraries
2013-02-21, by mbed_official [Thu, 21 Feb 2013 17:06:06 +0000] rev 1
use latest version of mbed libraries