petoi-camp-logo.png
Chinese
ZH
Chinese
ZH
English
EN
  • 主页

  • 论坛

  • Shop

  • 简介

  • 图鉴

  • 资源

    • Documentation Center
    • GitHub 源代码
    • 教程视频
    • NyBoard V0_1 手册
    • NyBoard V0_2 手册
    • Smartphone App
    • GitHub/CatMini
  • 社区

    • 成员
  • More

    Use tab to navigate through the menu items.
    Hanna Ovr
    8月02日

    Pest Control Software

    2
    0
    Rafael Marín
    3d

    Error moving joints simultaneously in Mobile app

    5
    0
    Tomi Ade
    6d

    Trouble Uploading to Nyboard - stk500_recv(): programmer is not responding

    3
    0
    若要查看作用方式,請前往您的即時網站。
    • 類別
    • 所有文章
    • 我的文章
    Ben PartiSi
    2021年3月11日

    code wont compile as arduino uno code

    在 General Discussions

    I just got my Pittle and after installing all the nesesary drives I tried to compile WriteInstinct.ino the IDE gives an error that says "Error compiling for board Arduino Uno."


    what board is it?

    9 則答覆0 則回覆
    9 則留言
    D
    Dobromir
    2021年3月12日
    最佳解答

    Hi @Ben so let's do it step by step.


    Something is wrong with the content of MPU6050 library folder (C:\Users\SOL_K\Documents\Arduino\libraries\MPU6050). It should contain those files:



    Seems like you have there something else. Can you remove the folder and carefully add it one more time? Here is the steps in 4.2.2: https://bittle.petoi.com/4-configuration


    Just to clarify, after completing instruction 4.2.2 you should have MPU6050 folder as above and the \Arduino\libraries\I2Cdev folder like this:




    Try this and then we can tackle connectivity issue


    1
    B
    Ben PartiSi
    2021年3月12日
    回覆

    Thank you @Dobromir. That fixed the compile problem, I had to delete the directories for the two libraries I had already installed, after installing from your link it worked. Now I just have the problem of the Arduino IDE not seeing the Bittle port. After work I will try using the Bluetooth board to connect to Bittle.

    按讚

    D
    Dobromir
    2021年3月12日
    回覆

    @Ben Good news! To check if you have proper drivers for the board please see in Device Manager. See if you get anything like CH340 when you connect USB cable with programmer attached (programmer to Bittle connection not required)



    If not then install driver from: https://translate.google.com/translate?sl=auto&tl=en&u=http://www.wch.cn/download/CH341SER_EXE.html




    按讚

    R
    Rongzhong Li
    2021年3月12日

    You need to remove previously installed I2Cdev library. Ideally, you could remove all the libraries under Documents/Arduino/libraries and reinstall the libraries used by OpenCat.

    1

    B
    Ben PartiSi
    2021年3月11日

    Hi Dobromir, I did what you suggested and it still fails to compile.

    Here are is a screenshot of the new directory:







    and here is a shot of the IDE showing port grayed out when the Bittle is plugged in: