Mattia Natali

Results 3 comments of Mattia Natali

@naveensharma18 I just fixed with `@PowerMockIgnore({"com.sun.org.apache.xerces.*", "javax.xml.*", "org.xml.*"})`

Same issue ``` 2020/11/13 07:23:16 ERROR: sensor.Get: bad checksum: &sds011.response{Header:0x0, Command:0x3f, Data:[6]uint8{0x1, 0xe9, 0x94, 0xa1, 0xab, 0xaa}, CheckSum:0xc0, Tail:0xe2} 2020/11/13 07:23:17 ERROR: sensor.Get: bad checksum: &sds011.response{Header:0x0, Command:0x40, Data:[6]uint8{0x1, 0xe9, 0x94,...

I just fixed using, I don't put error handling for clarity. ``` sensor.Awake() sensor.SetCycle(1) sensor.MakeActive() sensor.Get() ``` In other words, make everything explicit about what you want to do. Maybe...