Arduino IDE;与“最新” HX711库一起使用时,ESP32草图无法编译

时间:2019-12-03 23:46:08

标签: c++ arduino compilation esp32

// https://github.com/bogde/HX711版本= 0.7.2

<h1 id="tableLabel">Weather forecast</h1>

<p>This component demonstrates fetching data from the server.</p>

<p *ngIf="!forecasts"><em>Loading...</em></p>

<table class='table table-striped' aria-labelledby="tableLabel" *ngIf="forecasts">
  <thead>
    <tr>
      <th>Date</th>
      <th>Temp. (C)</th>
      <th>Temp. (F)</th>
      <th>Summary</th>
    </tr>
  </thead>
  <tbody>
    <tr *ngFor="let forecast of forecasts">
      <td>{{ forecast.date }}</td>
      <td>{{ forecast.temperatureC }}</td>
      <td>{{ forecast.temperatureF }}</td>
      <td>{{ forecast.summary }}</td>
    </tr>
  </tbody>
</table>

<table class='table table-striped' aria-labelledby="tableLabel" *ngIf="randomvalues">
  <thead>
    <tr>
      <th>UserId</th>
      <th>Id</th>
      <th>Title</th>
      <th>Completed</th>
    </tr>
  </thead>
  <tbody>
    <tr *ngFor="let value of randomvalues">
      <td>{{ value.userId }}</td>
      <td>{{ value.id }}</td>
      <td>{{ value.title }}</td>
      <td>{{ value.completed }}</td>
    </tr>
  </tbody>
</table>

/ * Arduino:1.8.10(Windows 10),开发板:“ DOIT ESP32 DEVKIT V1,80MHz,115200,无”

警告:板试验板:avr:atmega328bb没有定义“ build.board”首选项。自动设置为:AVR_ATMEGA328BB C:\ Users \ rktut \ AppData \ Local \ Temp \ arduino_cache_960321 \ core \ core_80e90ed8fa74953c21932f7f54e07e62.a(esp32-hal-misc.c.o):在函数'yield'中:

C:\ Users \ rktut \ AppData \ Local \ Arduino15 \ packages \ esp32 \ hardware \ esp32 \ 1.0.2 \ cores \ esp32 / esp32-hal-misc.c:48:“ yield”的多个定义

libraries \ HX711-master \ HX711.cpp.o:C:\ Users \ rktut \ OneDrive \ Documents \ Arduino \ libraries \ HX711-master / HX711.cpp:7:首先在这里定义

collect2.exe:错误:ld返回1个退出状态

找到了多个针对“ HX711.h”的库  二手:C:\ Users \ rktut \ OneDrive \ Documents \ Arduino \ libraries \ HX711-master  未使用:C:\ Users \ rktut \ OneDrive \ Documents \ Arduino \ libraries \ HX711_Arduino_Library 退出状态1 板DOIT ESP32 DEVKIT V1的编译错误。

此报告将包含更多信息 “在编译期间显示详细输出” 文件->首选项中启用的选项。 * /

0 个答案:

没有答案