Javascript wrappers for LSM303AGR Sensor library
Dependencies: LSM303AGR
Diff: LSM303AGR_JS.h
- Revision:
- 4:ae1fba759405
- Parent:
- 3:d076984ee23b
diff -r d076984ee23b -r ae1fba759405 LSM303AGR_JS.h --- a/LSM303AGR_JS.h Tue Oct 31 16:23:10 2017 +0100 +++ b/LSM303AGR_JS.h Wed Jan 17 10:56:45 2018 +0100 @@ -9,7 +9,7 @@ ****************************************************************************** * @attention * - * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> + * <h2><center>© COPYRIGHT(c) 2017 STMicroelectronics</center></h2> * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: @@ -62,7 +62,7 @@ public: /* Constructors */ - LSM303AGR_JS(){ printf("calling empty constructor"); } + LSM303AGR_JS(){} //LSM303AGRAccSensor(SPI *spi, PinName cs_pin, PinName int1_pin=NC, PinName int2_pin=NC); // SPI3W ONLY void init_acc(SPI &spi, PinName cs_pin);