Javascript wrappers for HTS221 Sensor library
Dependencies: HTS221
Diff: HTS221_JS-js.cpp
- Revision:
- 6:b2c4b0678856
- Parent:
- 5:bbe15d3cac27
--- a/HTS221_JS-js.cpp Tue Oct 31 16:18:15 2017 +0100 +++ b/HTS221_JS-js.cpp Wed Jan 17 10:54:19 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: @@ -229,7 +229,7 @@ // Cast it back to JavaScript jerry_value_t out = jerry_create_string((unsigned char *)result); - printf("temperature: %s\n", result); + //printf("temperature: %s\n", result); // Recycle the result from function delete result; @@ -295,7 +295,7 @@ // Cast it back to JavaScript jerry_value_t out = jerry_create_string((unsigned char *)result); - printf("humidity: %s\n", result); + //printf("humidity: %s\n", result); // Recycle the result from function delete result;