Go Down

Topic: error on chinese clone (wavgat) (Read 225 times) previous topic - next topic



I get the following error when trying to program a chinese board:

Warning: platform.txt from core 'Arduino AVR Boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
In file included from C:\Users\leo\Documents\Arduino\libraries\Conceptinetics\Conceptinetics.cpp:28:0:

C:\Program Files (x86)\Arduino\hardware\WAV\avr\variants\lgt8fx8p/pins_arduino.h:34:14: error: 'uint8_t' does not name a type

 static const uint8_t DAC0 = 4;


exit status 1
Error compiling for board WAVGAT UNO R3.
The board is a wavgat arduino uno

The code follows:

Code: [Select]
#include <Conceptinetics.h>


#define RXEN_PIN              2

DMX_Master  dmx_master  (DMX_MASTER_CHANNELS, RXEN_PIN);

int fogValue = 0;

void setup() {             
  dmx_master.enable (); 
  dmx_master.setChannelRange (1,25,127);

void loop() {
  int pote = analogRead(A0);

  fogValue = map(pote, 0, 1023, 0, 255);
  dmx_master.setChannelValue (1, fogValue); 

I dont really understand what does this mean. any help?



The WAVGAT "clones" use a different processor (an almost-clone of the '328p by some chinese semiconductor company) and need a special core from wavgat, and even with it there are problems.

Avoid that brand like the plague.
ATTinyCore for x4/x5/x61/x7/x8/x41/1634/828/x313 megaTinyCore for the megaavr ATtinies - Board Manager:
ATtiny breakouts, mosfets, awesome prototyping board in my store http://tindie.com/stores/DrAzzy


Thank you for the information. I will in the future. For now, I would really appreciate a solution!


Problem was sorted out by replacing uint8_t with char

Go Up