Arduino: 1.8.13 (Windows 7), Board: "Arduino Uno"
zealotbt:165:8: error: stray '#' in program
fill(#06BCB7);
^
zealotbt:12:1: error: 'import' does not name a type; did you mean 'qsort'?
import android.content.Intent;
^~~~~~
qsort
zealotbt:13:1: error: 'import' does not name a type; did you mean 'qsort'?
import android.os.Bundle;
^~~~~~
qsort
zealotbt:14:1: error: 'import' does not name a type; did you mean 'qsort'?
import ketai.net.bluetooth.*;
^~~~~~
qsort
zealotbt:15:1: error: 'import' does not name a type; did you mean 'qsort'?
import ketai.ui.*;
^~~~~~
qsort
zealotbt
1: error: 'import' does not name a type; did you mean 'qsort'?
import ketai.net.*;
^~~~~~
qsort
zealotbt
1: error: 'import' does not name a type; did you mean 'qsort'?
import android.bluetooth.BluetoothAdapter;
^~~~~~
qsort
zealotbt
1: error: 'import' does not name a type; did you mean 'qsort'?
import android.view.KeyEvent;
^~~~~~
qsort
zealotbt
1: error: 'BluetoothAdapter' does not name a type
BluetoothAdapter bluetooth = BluetoothAdapter.getDefaultAdapter();
^~~~~~~~~~~~~~~~
zealotbt
1: error: 'PImage' does not name a type
PImage crcl,start,stop;
^~~~~~
zealotbt
1: error: 'KetaiBluetooth' does not name a type
KetaiBluetooth bt;
^~~~~~~~~~~~~~
zealotbt:33:15: error: variable or field 'onCreate' declared void
void onCreate(Bundle savedInstanceState) {
^~~~~~
zealotbt:33:15: error: 'Bundle' was not declared in this scope
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:33:15: note: suggested alternative: 'angle'
void onCreate(Bundle savedInstanceState) {
^~~~~~
angle
zealotbt
56: error: 'Intent' has not been declared
void onActivityResult(int requestCode, int resultCode, Intent data) {
^~~~~~
zealotbt
27: error: variable or field 'onKetaiListSelection' declared void
void onKetaiListSelection(KetaiList klist)
^~~~~~~~~
zealotbt
27: error: 'KetaiList' was not declared in this scope
zealotbt:55
error: expected ',' or '...' before 'data'
void onBluetoothDataEvent(String who, byte[] data)
^~~~
zealotbt:33:15: error: variable or field 'onCreate' declared void
void onCreate(Bundle savedInstanceState) {
^~~~~~
zealotbt:33:15: error: 'Bundle' was not declared in this scope
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:33:15: note: suggested alternative: 'angle'
void onCreate(Bundle savedInstanceState) {
^~~~~~
angle
zealotbt
56: error: 'Intent' has not been declared
void onActivityResult(int requestCode, int resultCode, Intent data) {
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void onActivityResult(int, int, int)':
zealotbt
3: error: 'bt' was not declared in this scope
bt.onActivityResult(requestCode, resultCode, data);
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
3: note: suggested alternative: 'bit'
bt.onActivityResult(requestCode, resultCode, data);
^~
bit
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: At global scope:
zealotbt
27: error: variable or field 'onKetaiListSelection' declared void
void onKetaiListSelection(KetaiList klist)
^~~~~~~~~
zealotbt
27: error: 'KetaiList' was not declared in this scope
zealotbt:55
error: expected ',' or '...' before 'data'
void onBluetoothDataEvent(String who, byte[] data)
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void onBluetoothDataEvent(String, byte*)':
zealotbt
9: error: 'data' was not declared in this scope
info = (data[0] & 0xFF) ;
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
9: note: suggested alternative: 'atan'
info = (data[0] & 0xFF) ;
^~~~
atan
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'String getBluetoothInformation()':
zealotbt
3: error: 'ArrayList' was not declared in this scope
ArrayList<String> devices = bt.getConnectedDeviceNames();
^~~~~~~~~
zealotbt
19: error: expected primary-expression before '>' token
ArrayList<String> devices = bt.getConnectedDeviceNames();
^
zealotbt
21: error: 'devices' was not declared in this scope
ArrayList<String> devices = bt.getConnectedDeviceNames();
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
21: note: suggested alternative: 'degrees'
ArrayList<String> devices = bt.getConnectedDeviceNames();
^~~~~~~
degrees
zealotbt
31: error: 'bt' was not declared in this scope
ArrayList<String> devices = bt.getConnectedDeviceNames();
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
31: note: suggested alternative: 'bit'
ArrayList<String> devices = bt.getConnectedDeviceNames();
^~
bit
zealotbt
23: error: unable to deduce 'auto&&' from 'devices'
for (String device: devices)
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void settings()':
zealotbt:82:2: error: 'fullScreen' was not declared in this scope
fullScreen(); //make the app for in full screen
^~~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void setup()':
zealotbt
3: error: 'textSize' was not declared in this scope
textSize(31);
^~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
3: note: suggested alternative: 'textfun'
textSize(31);
^~~~~~~~
textfun
zealotbt
3: error: 'bt' was not declared in this scope
bt.start(); //start listening for BT connections
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
3: note: suggested alternative: 'bit'
bt.start(); //start listening for BT connections
^~
bit
zealotbt
3: error: 'crcl' was not declared in this scope
crcl = loadImage("crcl.png");
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
3: note: suggested alternative: 'ceil'
crcl = loadImage("crcl.png");
^~~~
ceil
zealotbt
10: error: 'loadImage' was not declared in this scope
crcl = loadImage("crcl.png");
^~~~~~~~~
zealotbt
3: error: 'start' was not declared in this scope
start = loadImage("start.png");
^~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
3: note: suggested alternative: 'sqrt'
start = loadImage("start.png");
^~~~~
sqrt
zealotbt
3: error: 'stop' was not declared in this scope
stop = loadImage("stop.png");
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde
3: note: suggested alternative: 'loop'
stop = loadImage("stop.png");
^~~~
loop
zealotbt
3: error: 'cp5' was not declared in this scope
cp5 = new ControlP5(this);
^~~
zealotbt
13: error: expected type-specifier before 'ControlP5'
cp5 = new ControlP5(this);
^~~~~~~~~
zealotbt:103:3: error: 'myChart' was not declared in this scope
myChart = cp5.addChart("dataflow")
^~~~~~~
zealotbt:104:32: error: 'height' was not declared in this scope
.setPosition(0, height/4)
^~~~~~
zealotbt:105
error: 'width' was not declared in this scope
.setSize(width, height/2)
^~~~~
zealotbt:107
error: 'Chart' was not declared in this scope
.setView(Chart.AREA) // use Chart.LINE, Chart.PIE, Chart.AREA, Chart.BAR_CENTERED
^~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:107
note: suggested alternative: 'char'
.setView(Chart.AREA) // use Chart.LINE, Chart.PIE, Chart.AREA, Chart.BAR_CENTERED
^~~~~
char
zealotbt:109
error: 'color' was not declared in this scope
.setColorCaptionLabel(color(5))
^~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void draw()':
zealotbt:120:3: error: 'background' was not declared in this scope
background(255);
^~~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:120:3: note: suggested alternative: 'round'
background(255);
^~~~~~~~~~
round
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: At global scope:
zealotbt:131:1: error: expected unqualified-id before 'public'
public byte[] intToByteArray(int value) {
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void Servocontrol()':
zealotbt:141:3: error: 'pushMatrix' was not declared in this scope
pushMatrix();
^~~~~~~~~~
zealotbt:142:13: error: 'width' was not declared in this scope
translate(width/2,height/1.2);
^~~~~
zealotbt:142
error: 'height' was not declared in this scope
translate(width/2,height/1.2);
^~~~~~
zealotbt:142:3: error: 'translate' was not declared in this scope
translate(width/2,height/1.2);
^~~~~~~~~
zealotbt:143:15: error: 'mouseX' was not declared in this scope
angle = map(mouseX,0,width,0,20); //load angel if we swipe ear the wheel
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:143:15: note: suggested alternative: 'memset'
angle = map(mouseX,0,width,0,20); //load angel if we swipe ear the wheel
^~~~~~
memset
zealotbt:145:3: error: 'rotate' was not declared in this scope
rotate(angle*0.1); //rotate the image for annimation
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:145:3: note: suggested alternative: 'rename'
rotate(angle*0.1); //rotate the image for annimation
^~~~~~
rename
zealotbt:146:13: error: 'CENTER' was not declared in this scope
imageMode(CENTER);
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:146:13: note: suggested alternative: 'EULER'
imageMode(CENTER);
^~~~~~
EULER
zealotbt:146:3: error: 'imageMode' was not declared in this scope
imageMode(CENTER);
^~~~~~~~~
zealotbt:147:9: error: 'crcl' was not declared in this scope
image(crcl,0,0,width/3.5,width/3.5);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:147:9: note: suggested alternative: 'ceil'
image(crcl,0,0,width/3.5,width/3.5);
^~~~
ceil
zealotbt:147:3: error: 'image' was not declared in this scope
image(crcl,0,0,width/3.5,width/3.5);
^~~~~
zealotbt:148:3: error: 'popMatrix' was not declared in this scope
popMatrix();
^~~~~~~~~
zealotbt:150:6: error: 'mousePressed' was not declared in this scope
if (mousePressed == true && mouseY>height/1.2 )
^~~~~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:150:6: note: suggested alternative: 'mouseReleased'
if (mousePressed == true && mouseY>height/1.2 )
^~~~~~~~~~~~
mouseReleased
zealotbt:150
error: 'mouseY' was not declared in this scope
if (mousePressed == true && mouseY>height/1.2 )
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:150
note: suggested alternative: 'memset'
if (mousePressed == true && mouseY>height/1.2 )
^~~~~~
memset
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:152:10: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
byte[] send = intToByteArray(sendangle);
^
zealotbt:152:10: error: decomposition declaration cannot be declared with type 'byte {aka unsigned char}'
byte[] send = intToByteArray(sendangle);
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:152:10: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
zealotbt:152:10: error: empty decomposition declaration
zealotbt:152:13: error: expected initializer before 'send'
byte[] send = intToByteArray(sendangle);
^~~~
zealotbt:153:10: error: 'send' was not declared in this scope
if (send[0]!=112 && send[0]!=115)
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:153:10: note: suggested alternative: 'srand'
if (send[0]!=112 && send[0]!=115)
^~~~
srand
zealotbt:154:6: error: 'bt' was not declared in this scope
bt.broadcast(send); //transmit servo angel to bluetooth
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:154:6: note: suggested alternative: 'bit'
bt.broadcast(send); //transmit servo angel to bluetooth
^~
bit
zealotbt:155:14: error: 'send' was not declared in this scope
println(send); //for debugginf
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:155:14: note: suggested alternative: 'srand'
println(send); //for debugginf
^~~~
srand
zealotbt:155:6: error: 'println' was not declared in this scope
println(send); //for debugginf
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:155:6: note: suggested alternative: 'printf'
println(send); //for debugginf
^~~~~~~
printf
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void textfun()':
zealotbt:164:13: error: 'CENTER' was not declared in this scope
textAlign(CENTER);
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:164:13: note: suggested alternative: 'EULER'
textAlign(CENTER);
^~~~~~
EULER
zealotbt:164:3: error: 'textAlign' was not declared in this scope
textAlign(CENTER);
^~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:164:3: note: suggested alternative: 'textfun'
textAlign(CENTER);
^~~~~~~~~
textfun
zealotbt:165:9: error: unable to find numeric literal operator 'operator""BCB7'
fill(#06BCB7);
^~~~~~
zealotbt:165:3: error: 'fill' was not declared in this scope
fill(#06BCB7);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:165:3: note: suggested alternative: 'ftell'
fill(#06BCB7);
^~~~
ftell
zealotbt:166:40: error: 'width' was not declared in this scope
text ("Range in Centi-meters" + info,width/2,height-height/1.11);
^~~~~
zealotbt:166
error: 'height' was not declared in this scope
text ("Range in Centi-meters" + info,width/2,height-height/1.11);
^~~~~~
zealotbt:166:3: error: 'text' was not declared in this scope
text ("Range in Centi-meters" + info,width/2,height-height/1.11);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:166:3: note: suggested alternative: 'atexit'
text ("Range in Centi-meters" + info,width/2,height-height/1.11);
^~~~
atexit
zealotbt:171:3: error: 'noFill' was not declared in this scope
noFill();
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void buttons()':
zealotbt:179:13: error: 'CENTER' was not declared in this scope
imageMode(CENTER);
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:179:13: note: suggested alternative: 'EULER'
imageMode(CENTER);
^~~~~~
EULER
zealotbt:179:3: error: 'imageMode' was not declared in this scope
imageMode(CENTER);
^~~~~~~~~
zealotbt:180:9: error: 'start' was not declared in this scope
image(start,width/2.6,height/6,width/8,width/8);
^~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:180:9: note: suggested alternative: 'sqrt'
image(start,width/2.6,height/6,width/8,width/8);
^~~~~
sqrt
zealotbt:180:15: error: 'width' was not declared in this scope
image(start,width/2.6,height/6,width/8,width/8);
^~~~~
zealotbt:180
error: 'height' was not declared in this scope
image(start,width/2.6,height/6,width/8,width/8);
^~~~~~
zealotbt:180:3: error: 'image' was not declared in this scope
image(start,width/2.6,height/6,width/8,width/8);
^~~~~
zealotbt:181:9: error: 'stop' was not declared in this scope
image(stop,width/1.6,height/6,width/8,width/8);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:181:9: note: suggested alternative: 'loop'
image(stop,width/1.6,height/6,width/8,width/8);
^~~~
loop
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void mouseReleased()':
zealotbt:189:5: error: 'mouseX' was not declared in this scope
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:189:5: note: suggested alternative: 'memset'
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
memset
zealotbt:189:13: error: 'width' was not declared in this scope
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~
zealotbt:189
error: 'mouseY' was not declared in this scope
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:189
note: suggested alternative: 'memset'
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
memset
zealotbt:189
error: 'height' was not declared in this scope
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:192:7: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
byte[] send = {'p'}; //send p if play button is present
^
zealotbt:192:7: error: decomposition declaration cannot be declared with type 'byte {aka unsigned char}'
byte[] send = {'p'}; //send p if play button is present
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:192:7: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
zealotbt:192:7: error: empty decomposition declaration
zealotbt:192:10: error: expected initializer before 'send'
byte[] send = {'p'}; //send p if play button is present
^~~~
zealotbt:193:3: error: 'bt' was not declared in this scope
bt.broadcast(send);
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:193:3: note: suggested alternative: 'bit'
bt.broadcast(send);
^~
bit
zealotbt:193
error: 'send' was not declared in this scope
bt.broadcast(send);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:193
note: suggested alternative: 'srand'
bt.broadcast(send);
^~~~
srand
zealotbt:194:3: error: 'println' was not declared in this scope
println("Play");
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:194:3: note: suggested alternative: 'printf'
println("Play");
^~~~~~~
printf
zealotbt:197:5: error: 'mouseX' was not declared in this scope
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:197:5: note: suggested alternative: 'memset'
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
memset
zealotbt:197:13: error: 'width' was not declared in this scope
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~
zealotbt:197
error: 'mouseY' was not declared in this scope
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:197
note: suggested alternative: 'memset'
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
memset
zealotbt:197
error: 'height' was not declared in this scope
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:200:7: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
byte[] send = {'s'}; //send s if stop button is pressed
^
zealotbt:200:7: error: decomposition declaration cannot be declared with type 'byte {aka unsigned char}'
byte[] send = {'s'}; //send s if stop button is pressed
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:200:7: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
zealotbt:200:7: error: empty decomposition declaration
zealotbt:200:10: error: expected initializer before 'send'
byte[] send = {'s'}; //send s if stop button is pressed
^~~~
zealotbt:201:3: error: 'bt' was not declared in this scope
bt.broadcast(send);
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:201:3: note: suggested alternative: 'bit'
bt.broadcast(send);
^~
bit
zealotbt:201
error: 'send' was not declared in this scope
bt.broadcast(send);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:201
note: suggested alternative: 'srand'
bt.broadcast(send);
^~~~
srand
zealotbt:202:3: error: 'println' was not declared in this scope
println("Stop");
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:202:3: note: suggested alternative: 'printf'
println("Stop");
^~~~~~~
printf
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\radar.pde: At global scope:
radar:4:1: error: 'import' does not name a type; did you mean 'qsort'?
import controlP5.*; // header file inclusion
^~~~~~
qsort
radar:6:1: error: 'ControlP5' does not name a type; did you mean 'isControl'?
ControlP5 cp5; //define object for lib.
^~~~~~~~~
isControl
radar:8:1: error: 'Chart' does not name a type; did you mean 'char'?
Chart myChart; //define object for chart
^~~~~
char
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\radar.pde: In function 'void radar()':
radar:13:4: error: 'background' was not declared in this scope
background(200);
^~~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\radar.pde:13:4: note: suggested alternative: 'round'
background(200);
^~~~~~~~~~
round
radar:14:4: error: 'myChart' was not declared in this scope
myChart.setColorBackground(color(255-info,25,25));
^~~~~~~
radar:14
error: 'color' was not declared in this scope
myChart.setColorBackground(color(255-info,25,25));
^~~~~
exit status 1
stray '#' in program
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
خواهشا در مورد این ارور کمک کنید؟
zealotbt:165:8: error: stray '#' in program
fill(#06BCB7);
^
zealotbt:12:1: error: 'import' does not name a type; did you mean 'qsort'?
import android.content.Intent;
^~~~~~
qsort
zealotbt:13:1: error: 'import' does not name a type; did you mean 'qsort'?
import android.os.Bundle;
^~~~~~
qsort
zealotbt:14:1: error: 'import' does not name a type; did you mean 'qsort'?
import ketai.net.bluetooth.*;
^~~~~~
qsort
zealotbt:15:1: error: 'import' does not name a type; did you mean 'qsort'?
import ketai.ui.*;
^~~~~~
qsort
zealotbt

import ketai.net.*;
^~~~~~
qsort
zealotbt

import android.bluetooth.BluetoothAdapter;
^~~~~~
qsort
zealotbt

import android.view.KeyEvent;
^~~~~~
qsort
zealotbt

BluetoothAdapter bluetooth = BluetoothAdapter.getDefaultAdapter();
^~~~~~~~~~~~~~~~
zealotbt

PImage crcl,start,stop;
^~~~~~
zealotbt

KetaiBluetooth bt;
^~~~~~~~~~~~~~
zealotbt:33:15: error: variable or field 'onCreate' declared void
void onCreate(Bundle savedInstanceState) {
^~~~~~
zealotbt:33:15: error: 'Bundle' was not declared in this scope
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:33:15: note: suggested alternative: 'angle'
void onCreate(Bundle savedInstanceState) {
^~~~~~
angle
zealotbt

void onActivityResult(int requestCode, int resultCode, Intent data) {
^~~~~~
zealotbt

void onKetaiListSelection(KetaiList klist)
^~~~~~~~~
zealotbt

zealotbt:55

void onBluetoothDataEvent(String who, byte[] data)
^~~~
zealotbt:33:15: error: variable or field 'onCreate' declared void
void onCreate(Bundle savedInstanceState) {
^~~~~~
zealotbt:33:15: error: 'Bundle' was not declared in this scope
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:33:15: note: suggested alternative: 'angle'
void onCreate(Bundle savedInstanceState) {
^~~~~~
angle
zealotbt

void onActivityResult(int requestCode, int resultCode, Intent data) {
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void onActivityResult(int, int, int)':
zealotbt

bt.onActivityResult(requestCode, resultCode, data);
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

bt.onActivityResult(requestCode, resultCode, data);
^~
bit
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: At global scope:
zealotbt

void onKetaiListSelection(KetaiList klist)
^~~~~~~~~
zealotbt

zealotbt:55

void onBluetoothDataEvent(String who, byte[] data)
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void onBluetoothDataEvent(String, byte*)':
zealotbt

info = (data[0] & 0xFF) ;
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

info = (data[0] & 0xFF) ;
^~~~
atan
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'String getBluetoothInformation()':
zealotbt

ArrayList<String> devices = bt.getConnectedDeviceNames();
^~~~~~~~~
zealotbt

ArrayList<String> devices = bt.getConnectedDeviceNames();
^
zealotbt

ArrayList<String> devices = bt.getConnectedDeviceNames();
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

ArrayList<String> devices = bt.getConnectedDeviceNames();
^~~~~~~
degrees
zealotbt

ArrayList<String> devices = bt.getConnectedDeviceNames();
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

ArrayList<String> devices = bt.getConnectedDeviceNames();
^~
bit
zealotbt

for (String device: devices)
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void settings()':
zealotbt:82:2: error: 'fullScreen' was not declared in this scope
fullScreen(); //make the app for in full screen
^~~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void setup()':
zealotbt

textSize(31);
^~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

textSize(31);
^~~~~~~~
textfun
zealotbt

bt.start(); //start listening for BT connections
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

bt.start(); //start listening for BT connections
^~
bit
zealotbt

crcl = loadImage("crcl.png");
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

crcl = loadImage("crcl.png");
^~~~
ceil
zealotbt

crcl = loadImage("crcl.png");
^~~~~~~~~
zealotbt

start = loadImage("start.png");
^~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

start = loadImage("start.png");
^~~~~
sqrt
zealotbt

stop = loadImage("stop.png");
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde

stop = loadImage("stop.png");
^~~~
loop
zealotbt

cp5 = new ControlP5(this);
^~~
zealotbt

cp5 = new ControlP5(this);
^~~~~~~~~
zealotbt:103:3: error: 'myChart' was not declared in this scope
myChart = cp5.addChart("dataflow")
^~~~~~~
zealotbt:104:32: error: 'height' was not declared in this scope
.setPosition(0, height/4)
^~~~~~
zealotbt:105

.setSize(width, height/2)
^~~~~
zealotbt:107

.setView(Chart.AREA) // use Chart.LINE, Chart.PIE, Chart.AREA, Chart.BAR_CENTERED
^~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:107

.setView(Chart.AREA) // use Chart.LINE, Chart.PIE, Chart.AREA, Chart.BAR_CENTERED
^~~~~
char
zealotbt:109

.setColorCaptionLabel(color(5))
^~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void draw()':
zealotbt:120:3: error: 'background' was not declared in this scope
background(255);
^~~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:120:3: note: suggested alternative: 'round'
background(255);
^~~~~~~~~~
round
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: At global scope:
zealotbt:131:1: error: expected unqualified-id before 'public'
public byte[] intToByteArray(int value) {
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void Servocontrol()':
zealotbt:141:3: error: 'pushMatrix' was not declared in this scope
pushMatrix();
^~~~~~~~~~
zealotbt:142:13: error: 'width' was not declared in this scope
translate(width/2,height/1.2);
^~~~~
zealotbt:142

translate(width/2,height/1.2);
^~~~~~
zealotbt:142:3: error: 'translate' was not declared in this scope
translate(width/2,height/1.2);
^~~~~~~~~
zealotbt:143:15: error: 'mouseX' was not declared in this scope
angle = map(mouseX,0,width,0,20); //load angel if we swipe ear the wheel
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:143:15: note: suggested alternative: 'memset'
angle = map(mouseX,0,width,0,20); //load angel if we swipe ear the wheel
^~~~~~
memset
zealotbt:145:3: error: 'rotate' was not declared in this scope
rotate(angle*0.1); //rotate the image for annimation
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:145:3: note: suggested alternative: 'rename'
rotate(angle*0.1); //rotate the image for annimation
^~~~~~
rename
zealotbt:146:13: error: 'CENTER' was not declared in this scope
imageMode(CENTER);
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:146:13: note: suggested alternative: 'EULER'
imageMode(CENTER);
^~~~~~
EULER
zealotbt:146:3: error: 'imageMode' was not declared in this scope
imageMode(CENTER);
^~~~~~~~~
zealotbt:147:9: error: 'crcl' was not declared in this scope
image(crcl,0,0,width/3.5,width/3.5);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:147:9: note: suggested alternative: 'ceil'
image(crcl,0,0,width/3.5,width/3.5);
^~~~
ceil
zealotbt:147:3: error: 'image' was not declared in this scope
image(crcl,0,0,width/3.5,width/3.5);
^~~~~
zealotbt:148:3: error: 'popMatrix' was not declared in this scope
popMatrix();
^~~~~~~~~
zealotbt:150:6: error: 'mousePressed' was not declared in this scope
if (mousePressed == true && mouseY>height/1.2 )
^~~~~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:150:6: note: suggested alternative: 'mouseReleased'
if (mousePressed == true && mouseY>height/1.2 )
^~~~~~~~~~~~
mouseReleased
zealotbt:150

if (mousePressed == true && mouseY>height/1.2 )
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:150

if (mousePressed == true && mouseY>height/1.2 )
^~~~~~
memset
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:152:10: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
byte[] send = intToByteArray(sendangle);
^
zealotbt:152:10: error: decomposition declaration cannot be declared with type 'byte {aka unsigned char}'
byte[] send = intToByteArray(sendangle);
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:152:10: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
zealotbt:152:10: error: empty decomposition declaration
zealotbt:152:13: error: expected initializer before 'send'
byte[] send = intToByteArray(sendangle);
^~~~
zealotbt:153:10: error: 'send' was not declared in this scope
if (send[0]!=112 && send[0]!=115)
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:153:10: note: suggested alternative: 'srand'
if (send[0]!=112 && send[0]!=115)
^~~~
srand
zealotbt:154:6: error: 'bt' was not declared in this scope
bt.broadcast(send); //transmit servo angel to bluetooth
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:154:6: note: suggested alternative: 'bit'
bt.broadcast(send); //transmit servo angel to bluetooth
^~
bit
zealotbt:155:14: error: 'send' was not declared in this scope
println(send); //for debugginf
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:155:14: note: suggested alternative: 'srand'
println(send); //for debugginf
^~~~
srand
zealotbt:155:6: error: 'println' was not declared in this scope
println(send); //for debugginf
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:155:6: note: suggested alternative: 'printf'
println(send); //for debugginf
^~~~~~~
printf
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void textfun()':
zealotbt:164:13: error: 'CENTER' was not declared in this scope
textAlign(CENTER);
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:164:13: note: suggested alternative: 'EULER'
textAlign(CENTER);
^~~~~~
EULER
zealotbt:164:3: error: 'textAlign' was not declared in this scope
textAlign(CENTER);
^~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:164:3: note: suggested alternative: 'textfun'
textAlign(CENTER);
^~~~~~~~~
textfun
zealotbt:165:9: error: unable to find numeric literal operator 'operator""BCB7'
fill(#06BCB7);
^~~~~~
zealotbt:165:3: error: 'fill' was not declared in this scope
fill(#06BCB7);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:165:3: note: suggested alternative: 'ftell'
fill(#06BCB7);
^~~~
ftell
zealotbt:166:40: error: 'width' was not declared in this scope
text ("Range in Centi-meters" + info,width/2,height-height/1.11);
^~~~~
zealotbt:166

text ("Range in Centi-meters" + info,width/2,height-height/1.11);
^~~~~~
zealotbt:166:3: error: 'text' was not declared in this scope
text ("Range in Centi-meters" + info,width/2,height-height/1.11);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:166:3: note: suggested alternative: 'atexit'
text ("Range in Centi-meters" + info,width/2,height-height/1.11);
^~~~
atexit
zealotbt:171:3: error: 'noFill' was not declared in this scope
noFill();
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void buttons()':
zealotbt:179:13: error: 'CENTER' was not declared in this scope
imageMode(CENTER);
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:179:13: note: suggested alternative: 'EULER'
imageMode(CENTER);
^~~~~~
EULER
zealotbt:179:3: error: 'imageMode' was not declared in this scope
imageMode(CENTER);
^~~~~~~~~
zealotbt:180:9: error: 'start' was not declared in this scope
image(start,width/2.6,height/6,width/8,width/8);
^~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:180:9: note: suggested alternative: 'sqrt'
image(start,width/2.6,height/6,width/8,width/8);
^~~~~
sqrt
zealotbt:180:15: error: 'width' was not declared in this scope
image(start,width/2.6,height/6,width/8,width/8);
^~~~~
zealotbt:180

image(start,width/2.6,height/6,width/8,width/8);
^~~~~~
zealotbt:180:3: error: 'image' was not declared in this scope
image(start,width/2.6,height/6,width/8,width/8);
^~~~~
zealotbt:181:9: error: 'stop' was not declared in this scope
image(stop,width/1.6,height/6,width/8,width/8);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:181:9: note: suggested alternative: 'loop'
image(stop,width/1.6,height/6,width/8,width/8);
^~~~
loop
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde: In function 'void mouseReleased()':
zealotbt:189:5: error: 'mouseX' was not declared in this scope
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:189:5: note: suggested alternative: 'memset'
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
memset
zealotbt:189:13: error: 'width' was not declared in this scope
if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~
zealotbt:189

if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:189

if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
memset
zealotbt:189

if (mouseX<(width/2.6+width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:192:7: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
byte[] send = {'p'}; //send p if play button is present
^
zealotbt:192:7: error: decomposition declaration cannot be declared with type 'byte {aka unsigned char}'
byte[] send = {'p'}; //send p if play button is present
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:192:7: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
zealotbt:192:7: error: empty decomposition declaration
zealotbt:192:10: error: expected initializer before 'send'
byte[] send = {'p'}; //send p if play button is present
^~~~
zealotbt:193:3: error: 'bt' was not declared in this scope
bt.broadcast(send);
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:193:3: note: suggested alternative: 'bit'
bt.broadcast(send);
^~
bit
zealotbt:193

bt.broadcast(send);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:193

bt.broadcast(send);
^~~~
srand
zealotbt:194:3: error: 'println' was not declared in this scope
println("Play");
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:194:3: note: suggested alternative: 'printf'
println("Play");
^~~~~~~
printf
zealotbt:197:5: error: 'mouseX' was not declared in this scope
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:197:5: note: suggested alternative: 'memset'
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
memset
zealotbt:197:13: error: 'width' was not declared in this scope
if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~
zealotbt:197

if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:197

if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
memset
zealotbt:197

if (mouseX>(width/1.6-width/8) && mouseY<(height/6+width/8))
^~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:200:7: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
byte[] send = {'s'}; //send s if stop button is pressed
^
zealotbt:200:7: error: decomposition declaration cannot be declared with type 'byte {aka unsigned char}'
byte[] send = {'s'}; //send s if stop button is pressed
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:200:7: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
zealotbt:200:7: error: empty decomposition declaration
zealotbt:200:10: error: expected initializer before 'send'
byte[] send = {'s'}; //send s if stop button is pressed
^~~~
zealotbt:201:3: error: 'bt' was not declared in this scope
bt.broadcast(send);
^~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:201:3: note: suggested alternative: 'bit'
bt.broadcast(send);
^~
bit
zealotbt:201

bt.broadcast(send);
^~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:201

bt.broadcast(send);
^~~~
srand
zealotbt:202:3: error: 'println' was not declared in this scope
println("Stop");
^~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\zealotbt.pde:202:3: note: suggested alternative: 'printf'
println("Stop");
^~~~~~~
printf
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\radar.pde: At global scope:
radar:4:1: error: 'import' does not name a type; did you mean 'qsort'?
import controlP5.*; // header file inclusion
^~~~~~
qsort
radar:6:1: error: 'ControlP5' does not name a type; did you mean 'isControl'?
ControlP5 cp5; //define object for lib.
^~~~~~~~~
isControl
radar:8:1: error: 'Chart' does not name a type; did you mean 'char'?
Chart myChart; //define object for chart
^~~~~
char
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\radar.pde: In function 'void radar()':
radar:13:4: error: 'background' was not declared in this scope
background(200);
^~~~~~~~~~
C:\Users\RAYAN KURD\Desktop\sdfa\PrRADAARdirenx.ir_\PRAdrRADa(ire nx.ir)\zealotbt\radar.pde:13:4: note: suggested alternative: 'round'
background(200);
^~~~~~~~~~
round
radar:14:4: error: 'myChart' was not declared in this scope
myChart.setColorBackground(color(255-info,25,25));
^~~~~~~
radar:14

myChart.setColorBackground(color(255-info,25,25));
^~~~~
exit status 1
stray '#' in program
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
خواهشا در مورد این ارور کمک کنید؟