Skip to content

Commit b6165ba

Browse files
authored
Update SHT31.java
1 parent 5c691e4 commit b6165ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Java/SHT31.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static void main(String args[]) throws Exception
2121
// Send high repeatability measurement command
2222
// Command msb, command lsb
2323
byte[] data = new byte[2];
24-
data = {0x2C, 0x06};
24+
data = [0x2C, 0x06];
2525
device.write(data, 0, 2);
2626
Thread.sleep(500);
2727

0 commit comments

Comments
 (0)