Skip to content

1-Wire protocol driver for temperature sensor in Plan 9

Notifications You must be signed in to change notification settings

andreidorin13/onewire-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1-Wire Driver

1-Wire protocol driver for Plan 9 for reading the value of this temperature sensor. Implementation is defined in onewire.c.

Sample output

pu% cat /dev/onewire
0x19c
0x19c
0x19c
0x19c
----- Placed hand on sensor -----
0x19e
0x19f
0x1a0
0x1a2
0x1a3
0x1a5
0x1a7
0x1a8
0x1b2
0x1b4
0x1b5
0x1b7
cpu%

Display

Sample added in display.c for displaying sensor value on 44" Color TFT LCD Display in the style of a 7-segment display.

Demo

About

1-Wire protocol driver for temperature sensor in Plan 9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages