jamesbowman / i2cdriver

I2CDriver open source tools
https://i2cdriver.com/
BSD 3-Clause "New" or "Revised" License
187 stars 57 forks source link

Seems to hang ? #3

Closed lakidd closed 5 years ago

lakidd commented 5 years ago

Hi I've just received my i2cdriver. I plug it in and it lights up with the default screen, but it doesn't 'do' anything. When running i2ccl with the correct device name, it just seems to hang, i don't get the status line like your example. Any hints on troubleshooting ? Sorry this is on OSX. The python gui also seems to have issues with

TypeError: GridSizer(): arguments did not match any overloaded call:
  overload 1: not enough arguments
  overload 2: argument 2 has unexpected type 'int'
  overload 3: not enough arguments
  overload 4: not enough arguments

And from my reading, it does need 3x parameters in the call. Thanks

jamesbowman commented 5 years ago

What device name are you using? Something like:

/dev/cu.usbserial-XXXXXXXX

?

lakidd commented 5 years ago

Aha its /dev/tty.usbserial-WEATHER...when i change to the cu.usbserial-WEATHER, it comes good, thanks. What is the difference between those nodes ? I've never understood why both appear and for all other arduino, esp stuff the tty nodes work fine. Any thoughts on the python issue ?

jamesbowman commented 5 years ago

Yes it is subtle, but this explains tty vs cu in more detail.

https://pbxbook.com/other/mac-tty.html

Please can you raise a new issue for the Python GUI? (WX changed the parameters of GridSizer between versions.)

jamesbowman commented 5 years ago

OK, think this is closed.