SHTC3 sensor demo

  1. Demo Official Information
    Sense HAT (B) - Waveshare Wiki

  2. hardware link on board

  1. code
    SHTC3_dev.c (3.7 KB)

  2. compile on ubuntu
    riscv64-linux-gnu-gcc SHTC3_dev.c -o shtc3

if you have not compiler, then get and install
sudo apt-get install gcc-riscv64-linux-gnu

  1. transfer file to board and change the file operation
    chmod +x shtc3

  2. run
    ./shtc3

2 Likes