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:
- j3
- Date:
- 2014-11-20
- Revision:
- 0:f906040920d7
- Child:
- 1:37fd05629bd3
File content as of revision 0:f906040920d7:
//Test Ard2Pmod Class
#include "ard2pmod.h"
int main(void)
{
/* available PMOD types
PMOD_TYPE_I2C,
PMOD_TYPE_1_GPIO,
PMOD_TYPE_2_SPI,
PMOD_TYPE_3_UART,
PMOD_TYPE_4_UART,
PMOD_TYPE_5_HBRIDGE,
PMOD_TYPE_6_HBRIDGE
*/
Ard2Pmod ard2pmod(PMOD_TYPE_1_GPIO);
for(;;)
{
}
}
MAXREFDES72# Ard2Pmod Shield