2022-11-12 16:22:55 +00:00
|
|
|
package pcb
|
|
|
|
|
2022-11-12 17:11:20 +00:00
|
|
|
import (
|
|
|
|
"th7/pcb/led"
|
|
|
|
"th7/ports"
|
|
|
|
)
|
2022-11-12 16:22:55 +00:00
|
|
|
|
|
|
|
func NewAdapter(LED bool) (ports.PCBPort, error) {
|
|
|
|
|
2022-11-12 17:11:20 +00:00
|
|
|
ledController := led.NewLEDController()
|
|
|
|
|
|
|
|
return NewDummyAdapter(LED, ledController)
|
2022-11-12 16:22:55 +00:00
|
|
|
}
|