Skip to content
#

iot

Here are 1,387 public repositories matching this topic...

averelon
averelon commented Aug 7, 2020

The uncompensated temperature of the BMP180 is incorrectly converted to a 16-bit signed value, instead of a 32-bit signed value (long). Since the data is 16-bits wide and can therefore not be negative, the easy fix would be to do the following:

sip.js(1128): uncompensated = uint16(data[0], data[1]);

Please see page 15 of the manual of the BMP180 chip:
https://ae-bst.resource.bosch.com/media

node-serialport
SVSagi
SVSagi commented Jul 30, 2018

Summary of Problem

Not able to open port with stopbits as 1.5

I am currently building a desktop client using electron, where the COM port receives data correctly for values: baudRate: 2400, dataBits: 7, stopBits: 1.5, parity: 'none'

I found from the node-serialport documentation, stopBits Must be one of these: 1 or 2. But, should 1.5 be supported as well? especially for old & slow

Home-AssistantConfig

🏠 Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to it. Updated FREQUENTLY!

  • Updated Nov 29, 2020
  • JavaScript
grenewode
grenewode commented May 11, 2020

Currently, the project does not provide any type definitions, which makes it difficult to use in typescript projects.

Since the project is already extensively commented with jsdoc comments, much of the work is already done. There are still places where updates will need to be made, but those should be largely trivial, just a matter of adding more jsdoc comments to provide type hints where type

morrowind
morrowind commented Dec 28, 2018

ES6又提供了三种新方法。

includes():返回布尔值,表示是否找到了参数字符串。

startsWith():返回布尔值,表示参数字符串是否在源字符串的头部。

endsWith():返回布尔值,表示参数字符串是否在源字符串的尾部。

请支持。

Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.

Improve this page

Add a description, image, and links to the iot topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the iot topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.