Giter VIP home page Giter VIP logo

Comments (3)

Bassgomes avatar Bassgomes commented on July 29, 2024

Primeiro erro foi de pio_usb.h, então procurei na biblioteca do arduino e encontrei uma e instalei, até que corrigiu esse erro.. agora apareceu outro...

C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino: In function 'void poll_midi_host_rx()':
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino:771:10: error: 'tuh_midi_configured' was not declared in this scope; did you mean 'tuh_configure'?
771 | if (!tuh_midi_configured(midi_dev_addr)) {
| ^~~~~~~~~~~~~~~~~~~
| tuh_configure
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino:777:9: error: 'tuh_midih_get_num_rx_cables' was not declared in this scope
777 | if (tuh_midih_get_num_rx_cables(midi_dev_addr) < 1) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino:781:5: error: 'tuh_midi_read_poll' was not declared in this scope; did you mean 'tud_midi_read'?
781 | tuh_midi_read_poll(midi_dev_addr);
| ^~~~~~~~~~~~~~~~~~
| tud_midi_read
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino: In function 'void midi_host_task()':
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino:790:5: error: 'tuh_midi_stream_flush' was not declared in this scope; did you mean 'tud_midi_stream_write'?
790 | tuh_midi_stream_flush(midi_dev_addr);
| ^~~~~~~~~~~~~~~~~~~~~
| tud_midi_stream_write
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino: In function 'void send_sysex(uint8_t*, int)':
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino:878:5: error: 'tuh_midi_packet_write' was not declared in this scope; did you mean 'tud_midi_packet_write'?
878 | tuh_midi_packet_write(midi_dev_addr, packet);
| ^~~~~~~~~~~~~~~~~~~~~
| tud_midi_packet_write
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino: In function 'void tuh_midi_rx_cb(uint8_t, uint32_t)':
C:\Users\bassg\Desktop\PicoZoom-main\src\beta\beta.ino:930:11: error: 'tuh_midi_packet_read' was not declared in this scope; did you mean 'tud_midi_packet_read'?
930 | if (tuh_midi_packet_read(dev_addr, packet)) {
| ^~~~~~~~~~~~~~~~~~~~
| tud_midi_packet_read
Multiple libraries were found for "Adafruit_TinyUSB.h"
Used: C:\Users\bassg\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\3.1.0\libraries\Adafruit_TinyUSB_Arduino
Not used: C:\Users\bassg\AppData\Local\Arduino15\libraries\Adafruit_TinyUSB_Library
exit status 1

Compilation error: 'tuh_midi_configured' was not declared in this scope; did you mean 'tuh_configure'?

from picozoom.

Bassgomes avatar Bassgomes commented on July 29, 2024

image

from picozoom.

Colatino avatar Colatino commented on July 29, 2024

Aparentemente você está tendo o mesmo problema que a issue #1. Suspeito que você não está usando a biblioteca Adafruit_TinyUSB customizada.

A biblioteca está na pasta "lib" dentro do projeto. Copie a pasta inteira e cole na pasta "libraries" do Arduino e veja se resolve o problema da compilação.

from picozoom.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.