ayuda con Casduino / megaduino 1.2 o 1.56

Pagina 11/11
4 | 5 | 6 | 7 | 8 | 9 | 10 |

Van warrior650

Supporter (4)

afbeelding van warrior650

24-09-2021, 20:13

hola, estoy montando el casduino mega y cuando intento cargar el firmware 1.5 me sale este mensaje de error, haber si podeis ayudarme

Arduino:1.8.16 (Windows Store 1.8.51.0) (Windows 10), Tarjeta:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)

C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino:93:0: warning: "maxblock" redefined
#define maxblock 10

In file included from C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino:71:0:
C:\Users\Authentiko\Desktop\MegaDuino_1.5\MEGA2560config.h:106:0: note: this is the location of the previous definition
#define maxblock 99 // maxblock if not using EEPROM

C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino:283:16: warning: extra tokens at end of #ifdef directive
#ifdef LCD16 || LCD20
^~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino:627:18: warning: extra tokens at end of #ifdef directive
#ifdef LCD16 || LCD20
^~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino:1166:18: warning: extra tokens at end of #ifdef directive
#ifdef LCD16 || LCD20 || OLED1306
^~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino:1240:20: warning: extra tokens at end of #ifdef directive
#ifdef LCD16 || LCD20 || OLED1306
^~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino:1407:16: warning: extra tokens at end of #ifdef directive
#ifdef LCD16 || LCD20
^~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino:1562:16: warning: extra tokens at end of #ifdef directive
#ifdef LCD16 || LCD20
^~
MegaDuino_1.5:46:3: error: 'TimerCounter' does not name a type
TimerCounter Timer1; // preinstatiate
^~~~~~~~~~~~
MegaDuino_1.5:48:18: error: 'TimerCounter' has not been declared
unsigned short TimerCounter:TonguewmPeriod = 0;
^~~~~~~~~~~~
MegaDuino_1.5:49:17: error: 'TimerCounter' has not been declared
unsigned char TimerCounter::clockSelectBits = 0;
^~~~~~~~~~~~
MegaDuino_1.5:50:10: error: 'TimerCounter' has not been declared
void (*TimerCounter::isrCallback)() = NULL;
^~~~~~~~~~~~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\MegaDuino_1.5.ino: In function 'void SetPlayBlock()':
MegaDuino_1.5:1608:3: error: 'Timer1' was not declared in this scope
Timer1.setPeriod(1000); //set 1ms wait at start of a file.
^~~~~~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\Processing.ino: In function 'void UniPlay(char*)':
Processing:32:7: error: 'Timer1' was not declared in this scope
Timer1.initialize(1000); //100ms pause prevents anything bad happening before we're ready
^~~~~~
Processing:44:7: error: 'Timer1' was not declared in this scope
Timer1.initialize(period);
^~~~~~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\Processing.ino: In function 'void TZXStop()':
Processing:57:5: error: 'Timer1' was not declared in this scope
Timer1.stop(); //Stop timer
^~~~~~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\Processing.ino: In function 'void wave2()':
Processing:2225:5: error: 'Timer1' was not declared in this scope
Timer1.setPeriod(newTime +4); //Finally set the next pulse length
^~~~~~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\Processing.ino: In function 'void setBaud()':
Processing:2335:5: error: 'Timer1' was not declared in this scope
Timer1.stop();
^~~~~~
C:\Users\Authentiko\Desktop\MegaDuino_1.5\casProcessing.ino: In function 'void casStop()':
casProcessing:12:5: error: 'Timer1' was not declared in this scope
Timer1.stop();
^~~~~~
exit status 1
'TimerCounter' does not name a type

Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.

Van merlinkv

Expert (85)

afbeelding van merlinkv

24-09-2021, 21:34

Hola.

Perdón, uno de los módulos que subí era incorrecto. Acabo de compilarlo en mi MegaDuino y va OK.

Ya está subido otra vez a GitHub.

Gracias por el aviso. Tengo tantas cosas en la cabeza que a veces meto la pata.

Van warrior650

Supporter (4)

afbeelding van warrior650

24-09-2021, 22:24

Nada, todos andamos liados. Ahora mismo lo compruebo, gracias

Van warrior650

Supporter (4)

afbeelding van warrior650

26-09-2021, 18:34

Muchas gracias merlinkv, problema resulto ahora vamos al siguiente Smile Smile

Van merlinkv

Expert (85)

afbeelding van merlinkv

27-09-2021, 04:33

Perfecto. Me alegro.

Van merlinkv

Expert (85)

afbeelding van merlinkv

03-10-2021, 21:06

Disponible la versión 1.6 -> MegaDuino Firmware

Van capsule5000

Master (149)

afbeelding van capsule5000

11-11-2021, 02:43

Os presento otro prototipo de la carcasa finalizada para el Casduino MEGA en metacrilado. A la que disponga tiempo la subiré a mi github. https://github.com/capsule5000

Pagina 11/11
4 | 5 | 6 | 7 | 8 | 9 | 10 |