hello everyone! have added firmata , firmware in libraries folder (through right clicking on arduino icon , "show package content".
now, have changed "wboard.h" "arduino.h", comes up.
os.x 10.6.8
arduino 1.5.8
pduino-0.5.3
now, have changed "wboard.h" "arduino.h", comes up.
code: [select]
arduino:1.5.8 (mac os x), board: "arduino uno"
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp: in function 'void sendvalueastwo7bitbytes(int)':
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp:32:35: error: 'byte' not declared in scope
serial.print(value & b01111111, byte); // lsb
^
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp: in function 'void startsysex()':
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp:38:29: error: 'byte' not declared in scope
serial.print(start_sysex, byte);
^
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp: in function 'void endsysex()':
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp:43:27: error: 'byte' not declared in scope
serial.print(end_sysex, byte);
^
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp: in member function 'void firmataclass::printversion()':
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp:82:32: error: 'byte' not declared in scope
serial.print(report_version, byte);
^
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp: in member function 'void firmataclass::printfirmwareversion()':
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp:104:35: error: 'byte' not declared in scope
serial.print(report_firmware, byte);
^
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp: in member function 'void firmataclass::sendanalog(byte, int)':
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp:270:46: error: 'byte' not declared in scope
serial.print(analog_message | (pin & 0xf), byte);
^
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp: in member function 'void firmataclass::senddigitalport(byte, int)':
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp:301:53: error: 'byte' not declared in scope
serial.print(digital_message | (portnumber & 0xf),byte);
^
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp: in member function 'void firmataclass::sendsysex(byte, byte, byte*)':
/applications/arduino.app/contents/resources/java/libraries/firmata/firmata.cpp:311:25: error: 'byte' not declared in scope
serial.print(command, byte);
^
fel vid kompilering.
report have more information with
"show verbose output during compilation"
enabled in file > preferences.
os.x 10.6.8
arduino 1.5.8
pduino-0.5.3
the .print(x ,byte) removed in 1.0. use .write(x) instead.
Arduino Forum > Using Arduino > Installation & Troubleshooting > Pduino firmata and "byte was not declared in this scope"
arduino
Comments
Post a Comment