Skip to content

Commit

Permalink
Merge pull request #13 from petermm/patch-1
Browse files Browse the repository at this point in the history
update  i2c_example.erl for i2c changes
  • Loading branch information
fadushin committed Oct 13, 2023
2 parents d90dd56 + 010b3c3 commit 8e54aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erlang/i2c_example/src/i2c_example.erl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ loop(I2C) ->
loop(I2C).

read(I2C) ->
Bin = read_sensor(I2C),
{ok, Bin} = read_sensor(I2C),
parse_bin(Bin).

parse_bin(B) ->
Expand Down

0 comments on commit 8e54aaf

Please sign in to comment.