14 lines
193 B
Go
14 lines
193 B
Go
package pcb
|
|
|
|
import (
|
|
"th7/pcb/led"
|
|
"th7/ports"
|
|
)
|
|
|
|
func NewAdapter(LED bool) (ports.PCBPort, error) {
|
|
|
|
ledController := led.NewLEDController()
|
|
|
|
return NewDummyAdapter(LED, ledController)
|
|
}
|