We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4321923 commit 2281b6aCopy full SHA for 2281b6a
src/machine/machine_fe310.go
@@ -48,7 +48,6 @@ func (p Pin) Set(high bool) {
48
// Get returns the current value of a GPIO pin.
49
func (p Pin) Get() bool {
50
val := sifive.GPIO0.VALUE.Get() & (1 << uint8(p))
51
- println(sifive.GPIO0.VALUE.Get())
52
return (val > 0)
53
}
54
0 commit comments