orangkucing / genlockdongle Goto Github PK
View Code? Open in Web Editor NEWGoPro genlock dongle works with MewPro
License: MIT License
GoPro genlock dongle works with MewPro
License: MIT License
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.