NordicSemiconductor / pc-ble-driver-py

Python bindings for the ble-driver library
Other
126 stars 115 forks source link

How to get the Heart rate monitor example started ? #7

Closed anujdutt9 closed 8 years ago

anujdutt9 commented 8 years ago

Hi, I have installed the driver using pip and ran the hear rate monitor code. It says: "Enter your choice" . What is it asking for as input ? can you please help Thanks : )

carlescufi commented 8 years ago

have you connected an nRF51 o nRF52 devkit board to your computer?

anujdutt9 commented 8 years ago

Yes. I have the nRF51 board connected to my laptop.

carlescufi commented 8 years ago

Can you paste here the output of: nrfjprog -i

carlescufi commented 8 years ago

Remember in any case that you can provide the serial port as a parameter to any of the examples:

python <example>.py <SERIAL_PORT>

Where SERIAL_PORT is COMXX or dev/ttyACMxx

anujdutt9 commented 8 years ago

ok. I'll try this today, Thanks for the help : )

On Fri, Sep 9, 2016 at 7:30 AM, Carles Cufi notifications@github.com wrote:

Remember in any case that you can provide the serial port as a parameter to any of the examples:

python .py

Where SERIAL_PORT is COMXX or dev/ttyACMxx

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NordicSemiconductor/pc-ble-driver-py/issues/7#issuecomment-245888392, or mute the thread https://github.com/notifications/unsubscribe-auth/ALXyrmnryN2Y2jfb1Gsg_IalJyLzoDIXks5qoUM_gaJpZM4J4SQ9 .