bemasher / sx1276

A Go package for controlling Semtech's SX1276 from an RPi.
9 stars 3 forks source link

Not able to run test. #1

Open p000 opened 4 years ago

p000 commented 4 years ago
./sx1276_test.go:19:13: undefined: NewSX1276
./sx1276_test.go:25:14: undefined: RegLoRaOPMODE
./sx1276_test.go:26:3: undefined: LORA_OPMODE_LONGRANGEMODE_ON
./sx1276_test.go:27:3: undefined: LORA_OPMODE_SLEEP
./sx1276_test.go:30:14: undefined: RegLoRaMODEMCONFIG2
./sx1276_test.go:31:3: undefined: LORA_MODEMCONFIG2_SF_7
./sx1276_test.go:34:14: undefined: LORA_PAYLOADMAXLENGTH

Getting this error while testing.

bemasher commented 4 years ago

Can you provide the output of these commands?

go version

and

go list -m all