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.
Fork of Codice_Lab2_I2C_Lab3_SPI by
Revision 8:01302a905efb, committed 2015-02-08
- Comitter:
- capopolito
- Date:
- Sun Feb 08 17:46:21 2015 +0000
- Parent:
- 7:3abddf195ada
- Commit message:
- Questa ? la versione deifinitiva del codice del Lab2_I2C e del lab3_SPI
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Feb 08 17:34:52 2015 +0000 +++ b/main.cpp Sun Feb 08 17:46:21 2015 +0000 @@ -58,11 +58,11 @@ //--variabile di appoggio utilizzata per scrivere e leggere i registri char data = 0x00 ; // inizalizza la variabile data con le impostazioni da scrivere su CTRL_REG_1 -//--registri aggiunti e settati per prova ------------------------------------------------------------------ +//--registri aggiunti e settati per gestire gli interrupt ------------------------------------------------------------------ char FF_MT_CFG = 0x15; //read/write // registera addres del FF_MT_CFG (Frefall/Motionn Configuration register char FF_MT_THS = 0x17; //read/write // register address del FF_MT_THS Freefall and Motion Threshold char FF_MT_COUNT = 0x18; //read/write //register address del FF_MT_COUNT Debounce Register -//--registri aggiunti e settati per prova --------------------------------------------------------------------- +//--registri impostati per gestire gli interrupt --------------------------------------------------------------------- int main(void) {