Coder Social home page Coder Social logo

genlockdongle's Issues

Build error: call to undeclared function?

I'm trying to compile the GenlockDongle, using Arduino IDE 2:1.0.5+dfsg2-4
Installed PinChangeInterrupt lib (v2.19 beta, v2.17 beta).

I can't build the project, the compiler throws "function not declared in this scope" errors for:
attachPinChangeInterrupt
digitalPinToInterrupt

Compiler output:

/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/usr/share/arduino/hardware/arduino/cores/arduino -I/usr/share/arduino/hardware/arduino/variants/standard -I/usr/share/arduino/libraries/Wire -I/usr/share/arduino/libraries/PinChangeInt /tmp/build6444962272432391418.tmp/GenlockDongle.cpp -o /tmp/build6444962272432391418.tmp/GenlockDongle.cpp.o
In file included from GenlockDongle.ino:49:0:
/usr/share/arduino/libraries/PinChangeInt/PinChangeInt.h:143:0: warning: "INLINE_PCINT" redefined [enabled by default]
#define INLINE_PCINT inline
^
In file included from GenlockDongle.ino:49:0:
/usr/share/arduino/libraries/PinChangeInt/PinChangeInt.h:127:0: note: this is the location of the previous definition
#define INLINE_PCINT
^
In file included from GenlockDongle.ino:49:0:
/usr/share/arduino/libraries/PinChangeInt/PinChangeInt.h: In member function ‘void PCintPort::PCint()’:
/usr/share/arduino/libraries/PinChangeInt/PinChangeInt.h:439:10: warning: variable ‘thisChangedPin’ set but not used [-Wunused-but-set-variable]
uint8_t thisChangedPin; //MIKE
^
c_I2C.ino: In function ‘void __printBuf(byte*)’:
c_I2C.ino:32:16: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
c_I2C.ino: In function ‘void resetI2C()’:
c_I2C.ino:71:56: error: ‘attachPinChangeInterrupt’ was not declared in this scope
d_BacpacCommands.ino: In function ‘void checkCommands()’:
d_BacpacCommands.ino:281:25: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses]
e_Shutter.ino: In function ‘void setupShutter()’:
e_Shutter.ino:28:52: error: ‘digitalPinToInterrupt’ was not declared in this scope

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.