Go Down

Topic: [solved]avrdude: stk500_getsync(): not in sync: resp=0x00 (Read 809 times) previous topic - next topic

ronaldo1

Oct 16, 2013, 01:41 pm Last Edit: Oct 19, 2013, 07:17 pm by ronaldo1 Reason: 1
Hi,
i can't upload into my Arduino DUE, I have this message:

Quote
avrdude: stk500_getsync(): not in sync: resp=0x00


How i can solve it ?


Thx.


ronaldo1

I found whith install/uninstall the board was on "Arduino Uno" but i have compilation error :

Quote
C:\Users\ronaldo\Documents\Arduino\libraries\LiquidCrystal\FastIO.cpp: In function 'void fio_shiftOut1(fio_register, fio_bit, uint8_t, boolean)':
C:\Users\ronaldo\Documents\Arduino\libraries\LiquidCrystal\FastIO.cpp:214: error: '_BV' was not declared in this scope
whith this program:
Quote
#include <Wire.h>

#include <FastIO.h>
#include <I2CIO.h>
#include <LCD.h>
#include <LiquidCrystal.h>
#include <LiquidCrystal_SR.h>
#include <LiquidCrystal_SR2W.h>
#include <LiquidCrystal_SR3W.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
#define   CONTRAST_PIN   9
#define   BACKLIGHT_PIN  7
#define   CONTRAST       125

void setup() {
  // put your setup code here, to run once:
// Switch on the backlight and LCD contrast levels
  pinMode(CONTRAST_PIN, OUTPUT);
  pinMode(BACKLIGHT_PIN, OUTPUT);

  digitalWrite(BACKLIGHT_PIN, HIGH);
  analogWrite (CONTRAST_PIN, CONTRAST);
   
  lcd.begin(16,2);               // initialize the lcd

  lcd.home ();                   // go home
  lcd.print("Hello, ARDUINO "); 
  lcd.setCursor ( 0, 1 );        // go to the next line
  lcd.print (" WORLD!");
}

void loop() {
  // put your main code here, to run repeatedly:
 
}

Go Up