Javascript wrapper for SPI in Mbed OS.

Dependents:   ST_SENSOR_JS

Files at this revision

API Documentation at this revision

Comitter:
akhtar.syedzeeshan@gmail.com
Date:
Wed Jan 17 10:57:15 2018 +0100
Parent:
0:3a79326cadb9
Commit message:
Code fixes

Changed in this revision

SPI-js.cpp Show annotated file Show diff for this revision Revisions of this file
SPI-js.h Show annotated file Show diff for this revision Revisions of this file
--- a/SPI-js.cpp	Tue Oct 31 16:15:12 2017 +0100
+++ b/SPI-js.cpp	Wed Jan 17 10:57:15 2018 +0100
@@ -1,15 +1,14 @@
 /**
  ******************************************************************************
- * @file    LSM6DSL_JS-js.cpp
+ * @file    SPI-js.cpp
  * @author  ST
  * @version V1.0.0
  * @date    25 October 2017
- * @brief   Implementation of an LSM6DSL Accelerometer and gyroscope sensor for
- *          use with Javascript.
+ * @brief   Implementation of SPI for Javascript.
  ******************************************************************************
  * @attention
  *
- * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
+ * <h2><center>&copy; 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:
--- a/SPI-js.h	Tue Oct 31 16:15:12 2017 +0100
+++ b/SPI-js.h	Wed Jan 17 10:57:15 2018 +0100
@@ -1,15 +1,14 @@
 /**
  ******************************************************************************
- * @file    LSM6DSL_JS-js.cpp
+ * @file    SPI-js.h
  * @author  ST
  * @version V1.0.0
  * @date    25 October 2017
- * @brief   Implementation of an LSM6DSL Accelerometer and gyroscope sensor for
- *          use with Javascript.
- ******************************************************************************
+ * @brief   Implementation of SPI for Javascript.
+******************************************************************************
  * @attention
  *
- * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
+ * <h2><center>&copy; 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:
@@ -52,4 +51,4 @@
 }
 
 
-#endif  // _SPI_H
+#endif  // _SPI_JS_H