mingiryu / duinotag Goto Github PK
View Code? Open in Web Editor NEWArduino Laser Gun Using IRremote
License: MIT License
Arduino Laser Gun Using IRremote
License: MIT License
IRremote library and johnCenaMelody function result in a conflict in complication.
Board: ARDUINO Nano
Library Version: 2.1.0
Protocol: Sony (if any)
Code Block:
Tone.cpp.o (symbol from plugin): In function `timer0_pin_port':
(.text+0x0): multiple definition of `__vector_7'
libraries/Arduino-IRremote-master/IRremote.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Nano.
/*
This example code is in the public domain.
http://www.arduino.cc/en/Tutorial/Tone
*/
#include <IRremote.h>
#include "pitches.h"
int speakerPin = 4;
void setup() {
pinMode(speakerPin, OUTPUT);
johnCena();
}
// Main loop most of the code is in the sub routines
void loop(){
}
void johnCena() { // plays john cena song
// notes in the melody:
int melody[] = {
NOTE_A4, NOTE_B4, NOTE_G4, 0, NOTE_A4, 0,NOTE_C5, NOTE_B4, NOTE_G4, 0, NOTE_A4
};
// note durations: 4 = quarter note, 8 = eighth note, etc.:
int noteDurations[] = {
4, 6, 6, 8, 1, 4, 4, 6, 6, 8, 1
};
....
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.