How do i read multiple bytes with one command on arduino?
이전 댓글 표시
I have a CCS811 sensor and the bytes i need are in the same register (0x02), the datasheet says it can be up to 8bytes. there are no commands to read more than 2 bytes in the document, so is there another way than using:
readRegister(dev,[address],[precision])?
I only use the Arduino Toolbox for matlab right now.
댓글 수: 1
Eric Prandovsky
2022년 9월 7일
Were you able to get this going? I noticed there is a driver for the CCS811 in the arduino support package for 2022a.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!