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@1:40c636cb6d09, 2012-07-18 (annotated)
- Committer:
- okano
- Date:
- Wed Jul 18 02:15:05 2012 +0000
- Revision:
- 1:40c636cb6d09
- Parent:
- 0:41dffa1b3405
bridge test. initializing registers with RESTARTs
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| okano | 1:40c636cb6d09 | 1 | #include "mbed.h" |
| okano | 1:40c636cb6d09 | 2 | #include "SC16IS750.h" |
| okano | 0:41dffa1b3405 | 3 | |
| okano | 1:40c636cb6d09 | 4 | SC16IS750 bridge( p28, p27, 9600 ); // SDA, SCL, Baud(option), I2C_Address(option) |
| okano | 0:41dffa1b3405 | 5 | |
| okano | 0:41dffa1b3405 | 6 | int main() { |
| okano | 0:41dffa1b3405 | 7 | |
| okano | 1:40c636cb6d09 | 8 | bridge.send_str( "NXP Semiconductors" ); |
| okano | 1:40c636cb6d09 | 9 | |
| okano | 0:41dffa1b3405 | 10 | while ( 1 ) |
| okano | 0:41dffa1b3405 | 11 | ; |
| okano | 0:41dffa1b3405 | 12 | } |