Skip to content

Commit

Permalink
fix tsl2591 sample
Browse files Browse the repository at this point in the history
  • Loading branch information
ctacke committed Jul 30, 2024
1 parent 5b5e865 commit 1300ea2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public override Task Initialize()
// classical .NET events can also be used:
sensor.Updated += (sender, result) =>
{
Resolver.Log.Info($" Integrated Light: {result.New.Lux:N2}Lux");
Resolver.Log.Info($" Integrated Light: {result.New.Integrated?.Lux:N2}Lux");
};

sensor.InfraredUpdated += (sender, result) =>
Expand Down

0 comments on commit 1300ea2

Please sign in to comment.