Windows
Arduino ide 1.6.10
Source code from Polargraph.2016-03-29.zip
https://github.com/euphy/polargraphcontroller/releases
Changes I made in polargraph_server_a1
#define MICROCONTROLLER MC_MEGA
#include <SPI.h>
#include <SD.h>
#define UNL2003_DRIVER
Changes to configuration under NL2003_DRIVER section:
#define motorPin1 22 // Blue - 28BYJ48 pin 1
#define motorPin2 24 // Pink - 28BYJ48 pin 2
#define motorPin3 26 // Yellow - 28BYJ48 pin 3
#define motorPin4 28 // Orange - 28BYJ48 pin 4
// Red - 28BYJ48 pin 5 (VCC)
#define motorPin5 30 // Blue - 28BYJ48 pin 1
#define motorPin6 32 // Pink - 28BYJ48 pin 2
#define motorPin7 34 // Yellow - 28BYJ48 pin 3
#define motorPin8 36 // Orange - 28BYJ48 pin 4
// Red - 28BYJ48 pin 5 (VCC)
AccelStepper motorA(8, motorPin5, motorPin7, motorPin6, motorPin8);
AccelStepper motorB(8, motorPin1, motorPin3, motorPin2, motorPin4);
Errors:
In file included from C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\polargraph_server_a1.ino:106:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src/EEPROM.h:43:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const uint8_t() const { return **this; }
^
C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\EEPROM\src/EEPROM.h:92:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
operator const int() const { return index; }
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino: In function 'void curves_drawCircle(long int, long int, int)':
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino:106:9: warning: unused variable 't1' [-Wunused-variable]
int t1 = rads(angle1)*1000 ;
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino:107:9: warning: unused variable 't2' [-Wunused-variable]
int t2 = rads(angle2)*1000;
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino:108:9: warning: unused variable 't3' [-Wunused-variable]
int t3 = angle1;
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino:109:9: warning: unused variable 't4' [-Wunused-variable]
int t4 = angle2;
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino: In function 'void curves_drawSpiral(long int, long int, int, int, int)':
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino:162:11: warning: unused variable 't1' [-Wunused-variable]
int t1 = rads(angle1)*1000 ;
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino:163:11: warning: unused variable 't2' [-Wunused-variable]
int t2 = rads(angle2)*1000;
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino:164:11: warning: unused variable 't3' [-Wunused-variable]
int t3 = angle1;
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\curves.ino:165:11: warning: unused variable 't4' [-Wunused-variable]
int t4 = angle2;
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\impl_uno.ino: At global scope:
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\impl_uno.ino:124:37: warning: unused parameter 'inFilename' [-Wunused-parameter]
void impl_exec_execFromStore(String inFilename)
^
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\rove.ino: In function 'void rove_drawNorwegianFromFile()':
C:\Users\n12011\Downloads\Polargraph.2016-03-29\Polargraph 2016-03-29\arduino-source\polargraph_server_a1\rove.ino:376:26: warning: comparison is always false due to limited range of data type [-Wtype-limits]
if (brightness < 0)
^
C:\Program Files (x86)\Arduino\libraries\SD\src\SD.cpp:236:16: warning: unused parameter 'isLastComponent' [-Wunused-parameter]
boolean isLastComponent, void *object) {
^
C:\Program Files (x86)\Arduino\libraries\SD\src\SD.cpp:236:39: warning: unused parameter 'object' [-Wunused-parameter]
boolean isLastComponent, void *object) {
^
C:\Program Files (x86)\Arduino\libraries\SD\src\SD.cpp:314:35: warning: unused parameter 'object' [-Wunused-parameter]
boolean isLastComponent, void *object) {
^
C:\Program Files (x86)\Arduino\libraries\SD\src\SD.cpp:322:35: warning: unused parameter 'object' [-Wunused-parameter]
boolean isLastComponent, void *object) {
^
C:\Program Files (x86)\Arduino\libraries\SD\src\utility\Sd2Card.cpp: In member function 'uint8_t Sd2Card::readData(uint32_t, uint16_t, uint16_t, uint8_t*)':
C:\Program Files (x86)\Arduino\libraries\SD\src\utility\Sd2Card.cpp:379:12: warning: unused variable 'n' [-Wunused-variable]
uint16_t n;
^
\\felles.ds.nrk.no\ansatte\n12011\Documents\Arduino\libraries\AccelStepper\AccelStepper.cpp:356:31: warning: unused parameter 'step' [-Wunused-parameter]
void AccelStepper::step0(long step)
^
\\felles.ds.nrk.no\ansatte\n12011\Documents\Arduino\libraries\AccelStepper\AccelStepper.cpp:367:31: warning: unused parameter 'step' [-Wunused-parameter]
void AccelStepper::step1(long step)
^
C:\Program Files (x86)\Arduino\libraries\Servo\src\avr\Servo.cpp:184:39: warning: unused parameter 'timer' [-Wunused-parameter]
static void finISR(timer16_Sequence_t timer)
^
|