panjar
About
- Username
- panjar
- Joined
- Visits
- 256
- Last Active
- Roles
- Member
Comments
-
I'm having the same issue: python led.py "CA:0A:65:86:22:1B" error 1561471015.358345: Error on line: 296 (src/blestatemachine.cc): Operation now in progress Traceback (most recent call last): File "led.py", line 11, in device.connect()…
-
Eric: OK, after updating the firmware to 1.4.4 and latest software from the master branch, I ran the unit test suite and it results in FAILED (failures=2, errors=12, skipped=1). Is that normal? Am I missing something here? Thanks. (sspy35_en…
-
Thanks. Never mind. I got it.
-
Thanks Eric. Can you please provide the link to the instructions and the firmware?
-
Since the old code is no longer being used in the pre-(data fuser) release, consider this issue closed. I wlll open a new one. Thanks
-
Eric: Here is the script I added print statements. It crashes if I call libmetawear.mbl_mw_datasignal_subscribe(). There is no output other than the print statements I sent earlier. Thanks from ctypes import c_void_p, cast, POINTER from mb…
-
Hi Eric: Since you added data_fuser.py, I did a clean build/install the MetaWear-SDK-Python (0.6.1) and MetaWear-SDK-Cpp (0.17.0). Then, to derive from data_fuser.py, first I ran data_fuser.py (unchanged, except adding the debug printfs) but …
-
Thanks Eric. Following earlier threads I found test scripts are helpful. I want to monitor threshold crossing of voltage drop between 3V line and pin DIO0 by changing resistance in between.
-
Hi Eric: I don't know what are the markdown code tags but put the code inpython . My question is how to correctly cast a pointer to ReferenceValues array in order to pass it as argument to the libmetawear.mbl_mw_dataprocessor_multi_comparator_mo…
-
Please ignore inadvertent highlighting. The commented python code gets automatically highlighted.
-
My apology for badly formatting the code above. My question is how to correctly cast a pointer to ReferenceValues array in order to pass it as argument to the libmetawear.mbl_mw_dataprocessor_multi_comparator_modify(int_signal0, ComparatorMode.ZO…
-
I have two virtual python environments Python 2.7 and Python3.5 in which I installed the metawear packages. I had some installation errors installing some dependencies for metawear in Python3.5 so metawear python examples hanged in connect. Fort…
-
Eric: Yes, I read the second sentence. There is no activity. Its stuck in connection. File "/home/pi/SSquare/sspy35_env/lib/python3.5/site-packages/mbientlab/metawear/metawear.py", line 143, in connect What's the solution? I checked that b…
-
I ignore it. But nothing happens. LED does not bling. So I Control-C to exit.
-
Hi Eric: I did a fresh reinstall of MetaWear-SDK-Python following the instructions in I am having the same error message. Nothing happens on the device (MetaMotionC). I have to KeyboardInterrupt. Here is the trace. Appreciate your help. $ …
-
Eric: I already switched to new SDK. I love it. Thank you. Got the GPIO working with reading absolute voltage. Need to get notified when it changes by +/-delta or % value. Previous example scripts are missing e.g. pressed/released switch. Apprecia…
-
Hi Eric: Thank you for clarification on switching to develop branch. That's what I was wondering when I asked, "How do I know that "git clone https://github.com/hbldh/pymetawear.git" would be from develop branch?" git clone git@github.com:hbldh/py…
-
Hi Eric: Back on pymetawear after a long context switch. My earlier install was not clean, I think. So, I restarted installing on a clean Raspbian Stretch RPI3. Switched to develop branch: https://github.com/hbldh/pymetawear/tree/develop. How do…
-
Thanks Eric: Here is the code change: /usr/local/lib/python3.4/dist-packages/pymetawear-0.8.0-py3.4.egg/pymetawear/modules/gpio.py def get_analog_stream(self, pin=None): abs_ref_signal = libmetawear.mbl_mw_gpio_get_analog_input_data_…
-
Thanks Eric: I would like to get notifications when the physical pin 3 voltage/state changes. I thought if I ground the pin pin3 state would change. I prefer not to poll it. How do I configure it? I greatly appreciate your help. -raj
-
Here is the debug output: Pin change type: 1 pull mode: 0 analog read mode: 0 {'Pull mode': ['down', 'none', 'up'], 'Analog read mode': ['abs_ref', 'adc'], 'Pin change type': ['any', 'falling', 'rising']} c.gpio.set_settings(GpioPin.PIN3_DIO1, None…
-
Eric: Thanks for the clarification. From https://mbientlab.com/docs/MetaWearCPSv0.5.pdf diagram on page 6, I am using physical pin number 3 in the APIs. To avoid further confusion, I created GpioPin class in gpio.py. Then i am using GpioPin.PIN3_…
-
Hi Eric: I have not connected any external sensor. Basically, I have wired pin 3 and pin 5 and want to detect switch open and switch close. I have not tested with any device. I am using RPI3 running Jessie. I'm following: https://mbientlab.com/…
-
Hi Eric: Got back from trip and now coding. I got past through the installation using git using ssh and now to the main objective. To monitor the GPIO pin 3 (pulling it high and grounding to pin 5), I modified the example python script according …
-
Thanks Eric. I'll try that.
-
Eric: Thanks for your continued support. I'll start over. I'm not Git expert. I'm logged in to my git account and in https://github.com/mbientlab-projects/pymetawear/tree/develop. I SSH'ed to RPI3 and I tried: pi@S-SquareBase:~/newpymetawea…
-
OK. I replaced the Metawear-CppAPI with MetaWear-SDK-Cpp in the ~/Downloads/pymetawear/MANIFEST.in. So it builds with the previously highlighted warnings. But now I aim getting the following errors: pi@S-SquareBase:~/Downloads/pymetawear/exampl…
-
Eric: I extracted the MetaWear-SDK-Cpp-master.zip in the ~/Downloads/pymetawear/pymetawear and renamed it to MetaWear-SDK-Cpp. But the build still looks for pymetawear/Metawear-CppAPI'. I don't understand why. pi@S-SquareBase:~/Downloads/pymetaw…
-
Here is the install log (truncated): pi@S-SquareBase:~/Downloads/pymetawear $ sudo python3 setup.py install running install Checking .pth file support in /usr/local/lib/python3.4/dist-packages/ /usr/bin/python3 -E -c pass TEST PASSED: /usr/local/li…
-
Here is build log (truncated): Please see the yellow highlighted text. pi@S-SquareBase:~/Downloads/pymetawear $ python3 setup.py build running build running build_py rm -Rf build dist bindings/javascript/libmetawear-path.js mkdir -p build/arm/rele…