SergeyKagen 3 / 4 / 2 Регистрация: 02.04.2018 Сообщений: 315 |
||||
1 |
||||
19.04.2019, 22:16. Показов 132740. Ответов 14 Метки нет (Все метки)
Простой код, но Arduino IDE напрочь отказывается принимать переменные. Что за глюк или я что-то неправильно делаю?
ошибка при компиляции «‘count’ was not declared in this scope», что не так?
__________________
0 |
marat_miaki 498 / 392 / 186 Регистрация: 08.04.2013 Сообщений: 1,694 |
||||
19.04.2019, 23:26 |
2 |
|||
Решение
1 |
Lavad 0 / 0 / 0 Регистрация: 03.10.2015 Сообщений: 25 |
||||||||
14.09.2019, 22:33 |
3 |
|||||||
Доброго времени суток!
В loop() делаю вызов:
При компиляции выделяется этот вызов, с сообщением: ‘myDisplay’ was not declared in this scope Замучился искать инфу о декларации/обьявлении функции. Везде, что находил, понимал одно: если ты вызываешь функцию, это и есть обьявление функции P.S. Код, что использовал в качестве функции, работоспособен. Раньше находился в loop(). Скетч постепенно разрастается, много однотипных обращений к дисплею…
0 |
8385 / 6147 / 615 Регистрация: 10.12.2010 Сообщений: 28,683 Записей в блоге: 30 |
|
14.09.2019, 23:57 |
4 |
Создал функцию (за пределами setup и loop), Перевидите на нормальный язык. В другом файле что ли? Добавлено через 1 минуту
Замучился искать инфу о декларации/обьявлении функции. Везде, что находил, понимал одно: если ты вызываешь функцию, это и есть обьявление функции Читать учебники по С++ не пробовали? https://metanit.com/cpp/tutorial/3.1.php Специфика Arduino лишь отличается тем что пред объявления не всегда нужны. Добавлено через 7 минут
0 |
ValeryS Модератор 8760 / 6550 / 887 Регистрация: 14.02.2011 Сообщений: 22,978 |
||||
15.09.2019, 00:09 |
5 |
|||
Везде, что находил, понимал одно: если ты вызываешь функцию, это и есть обьявление функции это где ж такое написано?
а объявить уже в удобном месте
0 |
0 / 0 / 0 Регистрация: 03.10.2015 Сообщений: 25 |
|
15.09.2019, 00:48 |
6 |
Неделю назад ВПЕРВЫЕ включил Arduino Uno. Написал на том же языке, что и читал на всяких форумах и справочниках по Arduino :-). За пределами этих функций — значит не внутри них. Обе приведенных Вами ссылок просмотрел, проверил в скетче… В итоге вылезла другая ошибка: void myDisplay(byte x, byte y, char str) тоже пробовал. Та же ошибка. Что не так на этот раз?
0 |
Модератор 8760 / 6550 / 887 Регистрация: 14.02.2011 Сообщений: 22,978 |
|
15.09.2019, 01:26 |
7 |
В итоге вылезла другая ошибка: точку с запятой в конце поставил?
1 |
Lavad 0 / 0 / 0 Регистрация: 03.10.2015 Сообщений: 25 |
||||||||||||
15.09.2019, 08:46 |
8 |
|||||||||||
Вот скетч. Проще некуда.
Любое из трех так называемых «объявлений» (строки 7…9) выдает одну и ту же ошибку — я пытаюсь объявить функцию как переменную. Добавлено через 9 минут
Компилятор задумался (я успел обрадоваться), но, зараза :-), он снова поставил свой автограф undefined reference to `myDisplay(unsigned char, unsigned char, char, float) На этот раз он пожаловался на строку вызова функции. Добавлено через 34 минуты
Dispay вместо Display Добавлено через 8 минут
0 |
ValeryS Модератор 8760 / 6550 / 887 Регистрация: 14.02.2011 Сообщений: 22,978 |
||||||||
15.09.2019, 10:36 |
9 |
|||||||
void myDisplay(byte, byte, char, float) = 0; вот так не надо делать(приравнивать функцию к нулю) Добавлено через 5 минут
void myDispay(byte x, byte y, char str, float temp)
myDisplay(0, 0, «C», temp); просишь чтобы функция принимала символ
или проси передавать строку, например так
1 |
Avazart 8385 / 6147 / 615 Регистрация: 10.12.2010 Сообщений: 28,683 Записей в блоге: 30 |
||||
15.09.2019, 12:02 |
10 |
|||
Кроме того наверное лучше так:
Тогда можно будет вынести ф-цию в отдельный файл/модуль.
1 |
locm |
15.09.2019, 21:07
|
Не по теме:
Arduino Uno.
AVR (Basic, немного Assembler). Arduino Uno это AVR, для которого можете писать на бейсике или ассемблере.
0 |
Avazart |
15.09.2019, 21:21
|
Не по теме:
Arduino Uno это AVR, для которого можете писать на бейсике или ассемблере. Но лучше не надо …
0 |
Lavad 0 / 0 / 0 Регистрация: 03.10.2015 Сообщений: 25 |
||||
16.09.2019, 12:12 |
13 |
|||
это где ж такое написано? Оказалось, что я верно понял чтиво по справочникам:
вот так не надо делать(приравнивать функцию к нулю)… Методом проб и ошибок уже понял :-).
или передавай символ… Если передаю в одинарных кавычках более одного символа, а функция ждет как
или проси передавать строку, например так… Буквально вчера попалось это в справочнике, но как-то не дошло, что тоже мой вариант :-).
Кроме того наверное лучше так:
Тогда можно будет вынести ф-цию в отдельный файл/модуль. Благодарю за совет! Как-нибудь проверю…
0 |
8385 / 6147 / 615 Регистрация: 10.12.2010 Сообщений: 28,683 Записей в блоге: 30 |
|
16.09.2019, 12:54 |
14 |
Оказалось, что я верно понял чтиво по справочникам: если ты вызываешь функцию, это и есть обьявление функции Нафиг выкиньте эти справочники.
0 |
0 / 0 / 0 Регистрация: 03.10.2015 Сообщений: 25 |
|
16.09.2019, 13:00 |
15 |
Ссылки Ваши добавлены в закладки. Время от времени заглядываю.
0 |
Arduino programming is an open-source and simple stage that arranges the Arduino board into working with a particular goal in mind. An Arduino code is written in C++ yet with extra capacities and strategies. An Arduino is an equipment and programming stage broadly utilised in hardware.
In this article, we go through three quick fixes for the error ‘was not declared in this scope’.
Also read: How to solve the Tower of Hanoi problem using Python?
What does the error mean?
Every programming language has a concept of Scope. Scope tells us where a specific variable, constant or function is accessible and usable. It refers to the area of code a statement, block, or name. The scope of an entity determines where that entity is usable in other parts of the program. The scope of a block determines where that block can be used in other blocks, and the scope of a name determines where that name can be used in other names.
There are two types of scope in programming languages: local and global. Local scope refers to the identifiers and symbols visible inside a block of code. Global scope, on the other hand, refers to the identifiers and symbols visible outside a block of code.
The error ‘was not declared in this scope’ generally occurs when a variable or function is not accessible to its call. A global variable in Arduino is the variable that is declared outside any function, including the setup() and loop() functions. Any variable declared inside a function or loop has restrictive access and is a local variable.
If any other function calls a local variable, it gives an error. To call any variable or function in any other function, including the setup() and loop() function, it should be declared as a global variable.
Also read: How to stop an Arduino program?
There are the quick fixes for the Arduino error: was not declared in the scope.
Declare the variable
Before assigning a value to the variable, make sure to define it. There are 16 data types commonly used in Arduino coding. Each data type expresses the nature of the value assigned to it. If the data type and value doesn’t match, an error arises. Also, if a variable is assigned any value without its declaration or data type, the error occurs.
Always ensure to declare the variable before the assignment. There are two ways to do this.
There are three variables in the above example – num1, num2 and num3. The variable num1 has been declared separately and assigned to a data type corresponding value in the loop. The variable num2 has been declared and assigned in the same line of code. The variable num3, on the other hand, has directly been assigned a value without its declaration. This causes the error, as shown above.
Other details
There may be errors arising even after proper declaration and assignment of the variable. This may be due to incorrect or absence of the closing brackets, semicolons or improper declaration of functions. Ensure proper use of syntax when defining loops and functions. Every opening in curly brace must be accounted for and closed. Extra closing braces also cause errors. Alongside, semicolons hold their importance. A semicolon missed can cause the entire program to go haywire.
Library folder
Many times, variables call or use functions that require importing a few specific libraries.
In the example above, the variable num calls the square root function – sqrt() from the maths library of Arduino. If we call a function without including its library first, an error occurs. There are multiple inbuilt and standard libraries in Arduino, while a few special libraries must be included separately.
Also read: What is ‘does not name a type’ in Arduino: 2 Fixes.
Here we go, I shall try again:
I am using Dev C++ Version 2, June 1991 on Windows XP
I am teaching myself to program a graphic lcd. Trying to compile another person’s C program. ( http://perso.orange.fr/rs-rey/electronic_ressources/Ressources/8051/GraphicLCD/GraphicLCD.htm ) I don’t understand why I don’t have a header file that declares variables like U8,U32,sfr,sbit already, if that is what needs to be done. And I don’t know how to fix this problem.
Ex: this is not the program, but bits and pieces of it. The program is too long to put in here. Each «stanza» per say, is one of the parts that gives me errors. I cannot create a simple program with these examples because I don’t understand how it works first.
void GLCD_LcdInit();
void GLCD_ClearScreen ();
void GLCD_DisplayPicture (U8);
void GLCD_Locate (U8, U8);
void GLCD_Rectangle (U8, U8, U8, U8);
void GLCD_Printf (U8, FONT_DEF*);
void GLCD_DisplayValue (U32, U8, U8) ;
void GLCD_Circle(U8, U8, U8);
/ BYTE Registers /
sfr P0 = 0x80;
sfr P1 = 0x90;
sfr P2 = 0xA0;
sfr P3 = 0xB0;
sfr PSW = 0xD0;
sfr ACC = 0xE0;
sfr B = 0xF0;
sfr SP = 0x81;
sfr DPL = 0x82;
sfr DPH = 0x83;
sfr PCON = 0x87;
sfr TCON = 0x88;
sfr TMOD = 0x89;
sfr TL0 = 0x8A;
sfr TL1 = 0x8B;
sfr TH0 = 0x8C;
sfr TH1 = 0x8D;
/ BIT Registers /
/ PSW /
sbit CY = PSW^7;
sbit AC = PSW^6;
sbit F0 = PSW^5;
sbit RS1 = PSW^4;
sbit RS0 = PSW^3;
sbit OV = PSW^2;
sbit P = PSW^0;
/ TCON /
sbit TF1 = TCON^7;
sbit TR1 = TCON^6;
sbit TF0 = TCON^5;
sbit TR0 = TCON^4;
sbit IE1 = TCON^3;
these are the compile errors I’m getting:
Compiler: Default compiler
Executing gcc.exe…
gcc.exe «C:Documents and SettingsElinDesktopBible CompGLCD.C» -o «C:Documents and SettingsElinDesktopBible CompGLCD.exe» -I»C:Dev-Cppinclude» -L»C:Dev-Cpplib»
In file included from C:Documents and SettingsElinDesktopBible CompGLCD.C:33:
C:Documents and SettingsElinDesktopBible Comp/reg51f.h:13: error: `sfr’ does not name a type
C:Documents and SettingsElinDesktopBible Comp/reg51f.h:51: error: `sfr’ does not name a type
C:Documents and SettingsElinDesktopBible Comp/reg51f.h:70: error: `sbit’ does not name a type
C:Documents and SettingsElinDesktopBible Comp/reg51f.h:109: error: `sbit’ does not name a type
In file included from C:Documents and SettingsElinDesktopBible CompGLCD.C:37:
C:/Dev-Cpp/include/font.h:31: error: U8' does not name a type
U8′ does not name a type
C:/Dev-Cpp/include/font.h:32: error:
C:/Dev-Cpp/include/font.h:33: error: ISO C++ forbids declaration of U8' with no type
;’ before ‘*’ token
C:/Dev-Cpp/include/font.h:33: error: expected
C:/Dev-Cpp/include/font.h:36: error: code' does not name a type
GLCD_DisplayPicture’ declared void
In file included from C:Documents and SettingsElinDesktopBible CompGLCD.C:38:
C:/Dev-Cpp/include/glcd.h:30: error: variable or field
C:/Dev-Cpp/include/glcd.h:30: error: U8' was not declared in this scope
GLCD_Locate’ declared void
C:/Dev-Cpp/include/glcd.h:30: error: expected primary-expression before ')' token
C:/Dev-Cpp/include/glcd.h:31: error: variable or field
C:/Dev-Cpp/include/glcd.h:31: error: U8' was not declared in this scope
GLCD_Rectangle’ declared void
C:/Dev-Cpp/include/glcd.h:31: error: initializer expression list treated as compound expression
C:/Dev-Cpp/include/glcd.h:32: error: variable or field
C:/Dev-Cpp/include/glcd.h:32: error: U8' was not declared in this scope
GLCD_Printf’ declared void
C:/Dev-Cpp/include/glcd.h:32: error: initializer expression list treated as compound expression
C:/Dev-Cpp/include/glcd.h:33: error: variable or field
C:/Dev-Cpp/include/glcd.h:33: error: U8' was not declared in this scope
GLCD_DisplayValue’ declared void
C:/Dev-Cpp/include/glcd.h:33: error: expected primary-expression before ',' token
C:/Dev-Cpp/include/glcd.h:33: error: expected primary-expression before '*' token
C:/Dev-Cpp/include/glcd.h:33: error: expected primary-expression before ')' token
C:/Dev-Cpp/include/glcd.h:33: error: initializer expression list treated as compound expression
C:/Dev-Cpp/include/glcd.h:34: error: variable or field
C:/Dev-Cpp/include/glcd.h:34: error: U32' was not declared in this scope
U8′ was not declared in this scope
C:/Dev-Cpp/include/glcd.h:34: error:
C:/Dev-Cpp/include/glcd.h:34: error: initializer expression list treated as compound expression
C:/Dev-Cpp/include/glcd.h:35: error: variable or field GLCD_Circle' declared void
U8′ was not declared in this scope
C:/Dev-Cpp/include/glcd.h:35: error:
C:/Dev-Cpp/include/glcd.h:35: error: U8' was not declared in this scope
LcdSelectSide’ declared void
C:/Dev-Cpp/include/glcd.h:35: error: initializer expression list treated as compound expression
C:Documents and SettingsElinDesktopBible CompGLCD.C:43: error: variable or field
C:Documents and SettingsElinDesktopBible CompGLCD.C:43: error: U8' was not declared in this scope
LcdDataWrite’ declared void
C:Documents and SettingsElinDesktopBible CompGLCD.C:44: error: variable or field
C:Documents and SettingsElinDesktopBible CompGLCD.C:44: error: U8' was not declared in this scope
LcdInstructionWrite’ declared void
C:Documents and SettingsElinDesktopBible CompGLCD.C:45: error: variable or field
C:Documents and SettingsElinDesktopBible CompGLCD.C:45: error: U8' was not declared in this scope
U8′ does not name a type
C:Documents and SettingsElinDesktopBible CompGLCD.C:46: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:47: error: variable or field LcdSetDot' declared void
U8′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:47: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:47: error: U8' was not declared in this scope
LcdDelay’ declared void
C:Documents and SettingsElinDesktopBible CompGLCD.C:47: error: initializer expression list treated as compound expression
C:Documents and SettingsElinDesktopBible CompGLCD.C:49: error: variable or field
C:Documents and SettingsElinDesktopBible CompGLCD.C:49: error: U32' was not declared in this scope
LcdPutchar’ declared void
C:Documents and SettingsElinDesktopBible CompGLCD.C:50: error: variable or field
C:Documents and SettingsElinDesktopBible CompGLCD.C:50: error: U8' was not declared in this scope
xdata’ does not name a type
C:Documents and SettingsElinDesktopBible CompGLCD.C:50: error: expected primary-expression before '*' token
C:Documents and SettingsElinDesktopBible CompGLCD.C:50: error: expected primary-expression before ')' token
C:Documents and SettingsElinDesktopBible CompGLCD.C:50: error: initializer expression list treated as compound expression
C:Documents and SettingsElinDesktopBible CompGLCD.C:53: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:63: error: variable or field LcdDelay' declared void
int LcdDelay’
C:Documents and SettingsElinDesktopBible CompGLCD.C:63: error: redefinition of
C:Documents and SettingsElinDesktopBible CompGLCD.C:49: error: int LcdDelay' previously defined here
U32′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:63: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:64: error: expected ,' or
;’ before ‘{‘ token
C:Documents and SettingsElinDesktopBible CompGLCD.C: In function void GLCD_LcdInit()':
P2′ undeclared (first use this function)
C:Documents and SettingsElinDesktopBible CompGLCD.C:75: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:75: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:Documents and SettingsElinDesktopBible CompGLCD.C:76: error: P0_0' undeclared (first use this function)
P0_1′ undeclared (first use this function)
C:Documents and SettingsElinDesktopBible CompGLCD.C:77: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:78: error: P0_2' undeclared (first use this function)
P0_3′ undeclared (first use this function)
C:Documents and SettingsElinDesktopBible CompGLCD.C:79: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:80: error: P0_4' undeclared (first use this function)
P0_5′ undeclared (first use this function)
C:Documents and SettingsElinDesktopBible CompGLCD.C:82: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:83: error: LcdDelay' cannot be used as a function
LcdDelay’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:85: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:88: error: LcdSelectSide' cannot be used as a function
LcdInstructionWrite’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:89: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:90: error: LcdInstructionWrite' cannot be used as a function
LcdInstructionWrite’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:91: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:92: error: LcdInstructionWrite' cannot be used as a function
LcdInstructionWrite’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:93: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:95: error: LcdSelectSide' cannot be used as a function
LcdInstructionWrite’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:96: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:97: error: LcdInstructionWrite' cannot be used as a function
LcdInstructionWrite’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:98: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:99: error: LcdInstructionWrite' cannot be used as a function
LcdInstructionWrite’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:100: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C: At global scope:
C:Documents and SettingsElinDesktopBible CompGLCD.C:110: error: variable or field LcdSelectSide' declared void
int LcdSelectSide’
C:Documents and SettingsElinDesktopBible CompGLCD.C:110: error: redefinition of
C:Documents and SettingsElinDesktopBible CompGLCD.C:43: error: int LcdSelectSide' previously defined here
U8′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:110: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:111: error: expected ,' or
;’ before ‘{‘ token
C:Documents and SettingsElinDesktopBible CompGLCD.C:141: error: variable or field LcdDataWrite' declared void
int LcdDataWrite’
C:Documents and SettingsElinDesktopBible CompGLCD.C:141: error: redefinition of
C:Documents and SettingsElinDesktopBible CompGLCD.C:44: error: `int LcdDataWrite’ previously defined here
C:Documents and SettingsElinDesktopBible CompGLCD.C:141: error: U8' was not declared in this scope
,’ or
C:Documents and SettingsElinDesktopBible CompGLCD.C:142: error: expected;' before '{' token
LcdInstructionWrite’ declared void
C:Documents and SettingsElinDesktopBible CompGLCD.C:159: error: variable or field
C:Documents and SettingsElinDesktopBible CompGLCD.C:159: error: redefinition of int LcdInstructionWrite'
int LcdInstructionWrite’ previously defined here
C:Documents and SettingsElinDesktopBible CompGLCD.C:45: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:159: error: U8' was not declared in this scope
,’ or
C:Documents and SettingsElinDesktopBible CompGLCD.C:160: error: expected;' before '{' token
U8′ does not name a type
C:Documents and SettingsElinDesktopBible CompGLCD.C:176: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C: In function void LcdWaitBusy()':
P2′ undeclared (first use this function)
C:Documents and SettingsElinDesktopBible CompGLCD.C:197: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:199: error: P0_0' undeclared (first use this function)
P0_1′ undeclared (first use this function)
C:Documents and SettingsElinDesktopBible CompGLCD.C:200: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:202: error: `P0_2′ undeclared (first use this function)
C:Documents and SettingsElinDesktopBible CompGLCD.C:203: error: `LcdDelay’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C: In function void GLCD_ClearScreen()':
xdata’ undeclared (first use this function)
C:Documents and SettingsElinDesktopBible CompGLCD.C:216: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:216: error: expected ;' before "U8"
;’ before «U8»
C:Documents and SettingsElinDesktopBible CompGLCD.C:217: error: expected
C:Documents and SettingsElinDesktopBible CompGLCD.C:220: error: u8Page' undeclared (first use this function)
LcdSelectSide’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:222: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:223: error: LcdInstructionWrite' cannot be used as a function
LcdInstructionWrite’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:224: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:227: error: u8Column' undeclared (first use this function)
LcdSelectSide’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:231: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:232: error: LcdInstructionWrite' cannot be used as a function
LcdInstructionWrite’ cannot be used as a function
C:Documents and SettingsElinDesktopBible CompGLCD.C:233: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:235: error: LcdDataWrite' cannot be used as a function
GLCD_DisplayPicture’ declared void
C:Documents and SettingsElinDesktopBible CompGLCD.C: At global scope:
C:Documents and SettingsElinDesktopBible CompGLCD.C:245: error: variable or field
C:Documents and SettingsElinDesktopBible CompGLCD.C:245: error: redefinition of int GLCD_DisplayPicture'
int GLCD_DisplayPicture’ previously defined here
C:/Dev-Cpp/include/glcd.h:30: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:245: error: U8' was not declared in this scope
au8PictureData’ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:245: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:246: error: expected ,' or
;’ before ‘{‘ token
C:Documents and SettingsElinDesktopBible CompGLCD.C:275: error: variable or field LcdSetDot' declared void
int LcdSetDot’
C:Documents and SettingsElinDesktopBible CompGLCD.C:275: error: redefinition of
C:Documents and SettingsElinDesktopBible CompGLCD.C:47: error: int LcdSetDot' previously defined here
U8′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:275: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:276: error: expected ,' or
;’ before ‘{‘ token
C:Documents and SettingsElinDesktopBible CompGLCD.C:318: error: variable or field LcdPutchar' declared void
int LcdPutchar’
C:Documents and SettingsElinDesktopBible CompGLCD.C:318: error: redefinition of
C:Documents and SettingsElinDesktopBible CompGLCD.C:50: error: `int LcdPutchar’ previously defined here
C:Documents and SettingsElinDesktopBible CompGLCD.C:318: error: U8' was not declared in this scope
toto’ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:318: error: expected primary-expression before '*' token
C:Documents and SettingsElinDesktopBible CompGLCD.C:318: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:319: error: expected ,' or
;’ before ‘{‘ token
C:Documents and SettingsElinDesktopBible CompGLCD.C:399: error: variable or field GLCD_Printf' declared void
int GLCD_Printf’
C:Documents and SettingsElinDesktopBible CompGLCD.C:399: error: redefinition of
C:/Dev-Cpp/include/glcd.h:33: error: `int GLCD_Printf’ previously defined here
C:Documents and SettingsElinDesktopBible CompGLCD.C:399: error: U8' was not declared in this scope
au8Text’ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:399: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:399: error: expected primary-expression before ‘*’ token
C:Documents and SettingsElinDesktopBible CompGLCD.C:399: error: toto' was not declared in this scope
,’ or
C:Documents and SettingsElinDesktopBible CompGLCD.C:400: error: expected;' before '{' token
GLCD_Locate’ declared void
C:Documents and SettingsElinDesktopBible CompGLCD.C:414: error: variable or field
C:Documents and SettingsElinDesktopBible CompGLCD.C:414: error: redefinition of int GLCD_Locate'
int GLCD_Locate’ previously defined here
C:/Dev-Cpp/include/glcd.h:31: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:414: error: `U8′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:415: error: expected ,' or
;’ before ‘{‘ token
C:Documents and SettingsElinDesktopBible CompGLCD.C:429: error: variable or field GLCD_DisplayValue' declared void
int GLCD_DisplayValue’
C:Documents and SettingsElinDesktopBible CompGLCD.C:429: error: redefinition of
C:/Dev-Cpp/include/glcd.h:34: error: int GLCD_DisplayValue' previously defined here
U32′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:429: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:429: error: `U8′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:430: error: expected ,' or
;’ before ‘{‘ token
C:Documents and SettingsElinDesktopBible CompGLCD.C:473: error: variable or field GLCD_Rectangle' declared void
int GLCD_Rectangle’
C:Documents and SettingsElinDesktopBible CompGLCD.C:473: error: redefinition of
C:/Dev-Cpp/include/glcd.h:32: error: int GLCD_Rectangle' previously defined here
U8′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:473: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:474: error: expected ,' or
;’ before ‘{‘ token
C:Documents and SettingsElinDesktopBible CompGLCD.C:499: error: variable or field GLCD_Circle' declared void
int GLCD_Circle’
C:Documents and SettingsElinDesktopBible CompGLCD.C:499: error: redefinition of
C:/Dev-Cpp/include/glcd.h:35: error: int GLCD_Circle' previously defined here
U8′ was not declared in this scope
C:Documents and SettingsElinDesktopBible CompGLCD.C:499: error:
C:Documents and SettingsElinDesktopBible CompGLCD.C:500: error: expected ,' or
;’ before ‘{‘ token
Execution terminated
sorry if it is too long…