17 lines
233 B
Go
17 lines
233 B
Go
|
package ports
|
||
|
|
||
|
import (
|
||
|
"th7/data/pcb"
|
||
|
)
|
||
|
|
||
|
type PCBPort interface {
|
||
|
Deinit() error
|
||
|
UpdateTable()
|
||
|
GetTable() pcb.Table
|
||
|
ReadChannel(int) (float64, error)
|
||
|
ReadPCBTemp() (float64, error)
|
||
|
LED_Disable()
|
||
|
LED_Enable()
|
||
|
LED_Toggle()
|
||
|
}
|