PN532 Driver library This library provides an abstract API to drive the pn532 nfc chip, with I2C/HSU/SPI interface. Its based on the Seeed Studio's Arduino version.

Dependents:   PN532_ReadUid Nfctest2

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Arduino.h Source File

Arduino.h

00001 
00002 #ifndef __ARDUINO_H__
00003 #define __ARDUINO_H__
00004 
00005 #include "mbed.h"
00006 #include "HardwareSerial.h"
00007 
00008 
00009 /**
00010  * \brief Returns the number of milliseconds since the Arduino board began running the current program.
00011  *
00012  * This number will overflow (go back to zero), after approximately 50 days.
00013  *
00014  * \return Number of milliseconds since the program started (uint32_t)
00015  */
00016 //uint32_t millis( void );
00017 
00018 
00019 /**
00020  * \brief Pauses the program for the amount of time (in miliseconds) specified as parameter.
00021  * (There are 1000 milliseconds in a second.)
00022  *
00023  * \param dwMs the number of milliseconds to pause (uint32_t)
00024  */
00025 //inline void delay( uint32_t dwMs ) ;
00026 #define delay wait_ms
00027 
00028 
00029 /*==============================================================================
00030  * \brief arduino like 'tone ()'
00031  */
00032 void tone(PwmOut &buz, long frequency);
00033 
00034 #endif // __ARDUINO_H__