error \302. WHAT DOES IT MEAN

I am using the following code to make a clock with an lcd and error \302 pops up. WHAT DOES IT MEAN???

code:
#include <Wire.h>
#define DS1307_I2C_ADDRESS 0x68

byte decToBcd(byte val)
{
return ( (val / 10 * 16) + (val % 10) );
}

void setDateDs1307
byte second,
byte minute,
byte hour,
byte dayOfWeek
byte dayOfMonth
byte month
byte year
)
{
Wire.beginTransmission(DS1307_I2C_ADDRESS)
Wire.write(0)
Wire.write(decToBcd(second));
Wire.write(decToBcd(minute));
Wire.write(decToBcd(hour));
Wire.write(decToBcd(dayOfWeek));
Wire.write(decToBcd(dayOfMonth));
Wire.write(decToBcd(month));
Wire.write(decToBcd(year));
Wire.endTransmission();
}

void setup()
{
byte second, minute, hour, dayOfWeek, dayOfMonth, month, year
Wire.begin()
pinMode(13, OUTPUT)
second = 0
minute = 40
hour = 21;
dayOfWeek = 3;
dayOfMonth = 25;
month = 6;
year = 14;
setDateDs1307(second, minute, hour, dayOfWeek, dayOfMonth, month, year);
}
void getDteDs1307(byte *second, byte *minute, byte *hour, byte *dayOfWeek, byte *dayOfMonth, byte *month, byte *year)
{
Wire.beginTransmission(DS1307_I2C_ADDRESS, 7)

second = bcdToDec(Wire.read() & 0x7f);
minute = bcdToDec(Wire.read());
hour = bcdToDec(Wire.read() & 0x3f);
dayOfWeek = bcdToDec(Wire.read());
dayOfMonth = bcdToDec(Wire.read());
month = bcdToDec(Wire.read());
year = bcdToDec(Wire.read());
}
void setup()
{
byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;
Wire.begin();
lcd.begin(16, 2);
}
void loop()
{
byte second, minute, hour, dayOfWeek, dayOfMonth, month, year
String (s, m, d, mth, h);
getDateDs1307(second, minute, hour, dayOfWeek, dayOfMonth, month, year);
f (second < 10) {
s = “0” + String(second);
} else {
s = String(second);
}
if (minute < 10) {
m = “0” + String(minute);
} else {
m = String(minute);
}
h = String(hour);
if (dayOfMonth < 10) {
d = “0” + String(dayOfMonth);
} else {
d = String(dayOfMonth);
}
if (month < 10) {
mth = “0” + String(month);
{ else {
mth = String(month);
}

char days() = {“NA”, “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”, “Sun” }
lcd.clear();
// JUMP TO CENTER ON A 16X2 SCREEN //
lcd.setCursor(4, 0);
// CHANGE THE FOLLOWING TO SET THE DATE IN TO YOUR PREFERED ORDER //
lcd.print(h + “:” + m + “:” + s);
// NEXT LINE, 1 SPACE IN FROM THE LEFT //
lcd.setCursor(1, 1);
// PREFIX THE 20 AS THE RTC CHIP ONLY USES 2 DIGITS FOR THE YEAR //
lcd.print(String(days[dayOfWeek]) + " " + d + “/” + mth + “/20” + year);
delay(1000); // Wait 1 second
}

Where does that error pop up? Post full error output.

got it. here is the full error message
Arduino: 1.8.5 (Windows 10), Board: “Arduino/Genuino Uno”

CLOCK:52: error: stray ‘\302’ in program

dayOfWeek = bcdToDec(Wire.read());

^

CLOCK:52: error: stray ‘\240’ in program

CLOCK:54: error: stray ‘\302’ in program

month = bcdToDec(Wire.read());

^

CLOCK:54: error: stray ‘\240’ in program

CLOCK:62: error: stray ‘\302’ in program

^

CLOCK:62: error: stray ‘\240’ in program

CLOCK:66: error: stray ‘\302’ in program

String (s, m, d, mth, h); Â

^

CLOCK:66: error: stray ‘\240’ in program

CLOCK:10: error: expected initializer before ‘byte’

byte second,

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino: In function ‘void setup()’:

CLOCK:34: error: expected initializer before ‘Wire’

Wire.begin()

^

CLOCK:42: error: ‘year’ was not declared in this scope

year = 14;

^

CLOCK:43: error: ‘setDateDs1307’ was not declared in this scope

setDateDs1307(second, minute, hour, dayOfWeek, dayOfMonth, month, year);

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino: In function ‘void getDteDs1307(byte*, byte*, byte*, byte*, byte*, byte*, byte*)’:

CLOCK:47: error: no matching function for call to ‘TwoWire::beginTransmission(int, int)’

Wire.beginTransmission(DS1307_I2C_ADDRESS, 7)

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:47:47: note: candidates are:

In file included from C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:1:0:

C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:57:10: note: void TwoWire::beginTransmission(uint8_t)

void beginTransmission(uint8_t);

^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:57:10: note: candidate expects 1 argument, 2 provided

C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:58:10: note: void TwoWire::beginTransmission(int)

void beginTransmission(int);

^

C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:58:10: note: candidate expects 1 argument, 2 provided

CLOCK:50: error: ‘bcdToDec’ was not declared in this scope

minute = bcdToDec(Wire.read());

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino: At global scope:

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:45:25: warning: unused parameter ‘second’ [-Wunused-parameter]

void getDteDs1307(byte *second, byte *minute, byte *hour, byte *dayOfWeek, byte *dayOfMonth, byte *month, byte *year)

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino: In function ‘void setup()’:

CLOCK:57: error: redefinition of ‘void setup()’

void setup()

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:31:6: note: ‘void setup()’ previously defined here

void setup()

^

CLOCK:61: error: ‘lcd’ was not declared in this scope

lcd.begin(16, 2);

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:59:8: warning: unused variable ‘second’ [-Wunused-variable]

byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:59:16: warning: unused variable ‘minute’ [-Wunused-variable]

byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:59:24: warning: unused variable ‘hour’ [-Wunused-variable]

byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:59:30: warning: unused variable ‘dayOfWeek’ [-Wunused-variable]

byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:59:41: warning: unused variable ‘dayOfMonth’ [-Wunused-variable]

byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:59:53: warning: unused variable ‘month’ [-Wunused-variable]

byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:59:60: warning: unused variable ‘year’ [-Wunused-variable]

byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino: In function ‘void loop()’:

CLOCK:66: error: expected initializer before ‘String’

String (s, m, d, mth, h); Â

^

CLOCK:67: error: ‘year’ was not declared in this scope

getDateDs1307(second, minute, hour, dayOfWeek, dayOfMonth, month, year);

^

CLOCK:67: error: ‘getDateDs1307’ was not declared in this scope

getDateDs1307(second, minute, hour, dayOfWeek, dayOfMonth, month, year);

^

CLOCK:68: error: ‘f’ was not declared in this scope

f (second < 10) {

^

CLOCK:70: error: ‘else’ without a previous ‘if’

} else {

^

CLOCK:71: error: ‘s’ was not declared in this scope

s = String(second);

^

CLOCK:74: error: ‘m’ was not declared in this scope

m = “0” + String(minute);

^

CLOCK:76: error: ‘m’ was not declared in this scope

m = String(minute);

^

CLOCK:78: error: ‘h’ was not declared in this scope

h = String(hour);

^

CLOCK:80: error: ‘d’ was not declared in this scope

d = “0” + String(dayOfMonth);

^

CLOCK:82: error: ‘d’ was not declared in this scope

d = String(dayOfMonth);

^

CLOCK:85: error: ‘mth’ was not declared in this scope

mth = “0” + String(month);

^

CLOCK:86: error: expected ‘}’ before ‘else’

{ else {

^

CLOCK:86: error: expected ‘}’ before ‘else’

CLOCK:87: error: ‘mth’ was not declared in this scope

mth = String(month);

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino:90:17: warning: declaration of ‘char days()’ has ‘extern’ and is initialized

char days() = {“NA”, “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”, “Sun” }

^

CLOCK:90: error: invalid pure specifier (only ‘= 0’ is allowed) before string constant

char days() = {“NA”, “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”, “Sun” }

^

CLOCK:90: error: function ‘char days()’ is initialized like a variable

char days() = {“NA”, “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”, “Sun” }

^

CLOCK:90: error: expected ‘,’ or ‘;’ before ‘}’ token

char days() = {“NA”, “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”, “Sun” }

^

C:\Users\DaneS\OneDrive\Documents\Arduino\CLOCK\CLOCK.ino: At global scope:

CLOCK:91: error: ‘lcd’ does not name a type

lcd.clear();

^

CLOCK:93: error: ‘lcd’ does not name a type

lcd.setCursor(4, 0);

^

CLOCK:95: error: ‘lcd’ does not name a type

lcd.print(h + “:” + m + “:” + s);

^

CLOCK:97: error: ‘lcd’ does not name a type

lcd.setCursor(1, 1);

^

CLOCK:99: error: ‘lcd’ does not name a type

lcd.print(String(days[dayOfWeek]) + " " + d + “/” + mth + “/20” + year);

^

CLOCK:100: error: expected constructor, destructor, or type conversion before ‘(’ token

delay(1000); // Wait 1 second

^

CLOCK:101: error: expected declaration before ‘}’ token

}

^

exit status 1
stray ‘\302’ in program

See all those letters with diacritics?
Get rid of them.
Please remember to use code tags when posting code.

AWOL:
See all those letters with diacritics?
Get rid of them.

I hear you there but I dunno what diacritics
are

Here's a good use of your five minutes between posts.

do you think I'm dumb?
I know what a diacritic is,
I forgot to put there at the end of my last post.
tbh that was kinda rude
why didn't u just quote where they were

So when you said "I hear you there but I dunno what diacritics are" you actually meant "I know what a diacritic is" but I can't be bothered finding them in the code myself.

And you think it's rude when someone reading "I dunno what diacritics are" offers you information about diacritics?

Glad to hear you'll be able to sort the code out yourself.

Steve

You copied from a website and it went wrong. Either type it over (not copy) letter by letter or see if the site does not provide a download of the code and use that.

RedstoneAssassin:
tbh that was kinda rude

...said the person who couldn't be arsed to read the posting guidelines.

I'm out.

RedstoneAssassin:
I hear you there but I dunno what diacritics
are

RedstoneAssassin:
do you think I'm dumb?
I know what a diacritic is,

Oh really?

AWOL:
...said the person who couldn't be arsed to read the posting guidelines.

I'm out.

What's sad for him is that if he would follow the posting guidelines the forum software would clean those out of his code for him. All it takes is a tiny bit of reading the directions, but no people can't be asked to do that these days. And then they call us rude for telling them what something is that they said they didn't know what it is.