Coder Social home page Coder Social logo

teensyloadcell's Issues

code gives error please help

Arduino: 1.8.13 (Windows 7), TD: 1.53, Board: "Teensy 3.2 / 3.1, Serial, 72 MHz, Faster, US English"

C:\Users\Emilio\Documents\Arduino\libraries\TeensyLoadcell-master\src\TeensyLoadCell.cpp:4:17: error: operator '==' has no left operand

#if ADC_USE_PGA == 0

             ^

C:\Users\Emilio\Documents\Arduino\libraries\TeensyLoadcell-master\src\TeensyLoadCell.cpp: In member function 'void TeensyLoadcell::Loadcell::start()':

C:\Users\Emilio\Documents\Arduino\libraries\TeensyLoadcell-master\src\TeensyLoadCell.cpp:75:29: error: no matching function for call to 'ADC_Module::enableInterrupts()'

   adc->enableInterrupts();

                         ^

In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\ADC/ADC.h:59:0,

             from C:\Users\Emilio\Documents\Arduino\libraries\TeensyLoadcell-master\src\TeensyLoadcell.h:3,

             from C:\Users\Emilio\Documents\Arduino\libraries\TeensyLoadcell-master\src\TeensyLoadCell.cpp:1:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\ADC/ADC_Module.h:184:10: note: candidate: void ADC_Module::enableInterrupts(void (*)(), uint8_t)

 void enableInterrupts(void (*isr)(void), uint8_t priority = 255);

      ^

C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\ADC/ADC_Module.h:184:10: note: candidate expects 2 arguments, 0 provided

Error compiling for board Teensy 3.2 / 3.1.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

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.