top of page

Hardware

Public·111 members

MW MercuryMW Mercury
MW Mercury

Some commands don't work as expected

Hello

First of all, thank you for creating Bittle. I absolutely adore this product and can't wait to explore it further!


I'm using https://pypi.org/project/pyBittle/ library to connect with Bittle via Bluetooth.


While testing I've encountered issues with some of them not functioning as expected, particularly with the 'i' and 'V' commands. For example:

  • 'i 8 xx 9 xx' doesn't make any movement. The motors appear to be fine because if I change 'i' to 'm' command I can confirm that the motors can move normally

  • 'V' command fails to output the gyro data. It returns only the single letter 'V' without anything else.


Am I missing something? Could you please guide me on how to debug this?

Thank you in advance!

125 Views
MW Mercury
2024년 5월 14일

@Rongzhong Li

I found this document suggesting the use of the Arduino IDE: https://docs.petoi.com/arduino-ide/upload-sketch-for-nyboard, but I didn't know how to reduce memory usage of the sketch.


Commenting out IR_PIN as you advised, and TASK_QUEUE at https://github.com/PetoiCamp/OpenCat/blob/1.1.9/src/OpenCat.h#L393 enabled me to upload the sketch successfully


I really appreciate your kind help. Thank you so much!

Members

bottom of page