INFO: Dieses Forum nutzt Cookies...
Cookies sind für den Betrieb des Forums unverzichtbar. Mit der Nutzung des Forums erklärst Du dich damit einverstanden, dass wir Cookies verwenden.

Es wird in jedem Fall ein Cookie gesetzt um diesen Hinweis nicht mehr zu erhalten. Desweiteren setzen wir Google Adsense und Google Analytics ein.

Antwort schreiben 
 
Themabewertung:
  • 0 Bewertungen - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Arduino Scetch - Compiler Fehler
12.03.2014, 11:41
Beitrag #1
Arduino Scetch - Compiler Fehler
Hallo an alle - speziell die C - Gurus,
suche mir seit 2 Tagen einen Wolf mit folgender Fehlermeldung

Hello_World_595:51: error: cannot declare variable 'lcd' to be of abstract type 'LiquidCrystal_SR'
C:\Program Files\Arduino\libraries\LiquidCrystal_595/LiquidCrystal_SR.h:96: note: because the following virtual functions are pure within 'LiquidCrystal_SR':
C:\Program Files\Arduino\libraries\LiquidCrystal_595/LCD.h:147: note: virtual void LCD::begin(uint8_t, uint8_t, uint8_t)

- "Hello_World_595" ist der Testcode
- "LiquidCrystal_SR" ist die zugehörige Library
- "LCD" wird durch die Vorherige aufgerufen

Zum Hintergrund - möchte ein 2 zeiliges LCD Display über ein LS595 Schiftregister ansteuern. Habe mir eine Schaltung aus dem Internet gesucht und die passende(??!!?? hope so) Library sowie Testcode dazu herunter geladen. Ich hätte erwartet, das sich dies fehlerfrei compilieren lässt. Der Arduino Nano ist als Board ausgewält und lässt sich grundsätzlich ansprechen. (Blink compilieren und hochladen geht).
Bin mit meinem "C" - Latein am Ende und würde mich über Hilfe freuen. Habe die Sourcen jetzt nicht angehängt - wegen der Länge - schicke diese aber gern zu oder poste diese.

Ach so - wurde mit unterschiedlichen Arduino - Releases durchprobiert (0.023, 1.0, 1.05) - immer das gleiche.
Danke schon im Voraus
Gruß skdx
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
12.03.2014, 14:39
Beitrag #2
RE: Arduino Scetch - Compiler Fehler
Hallo skdx,

wenn wir dann noch den Code hätten, könnten wir vllt. auch was für dich tunHuh

Grüße Ricardo

PS: auf den ersten Blick würde ich sagen die Paramteranzahl für die begin-Funktion stimmt nicht(ohne Code aber nur ne Vermutung)

Nüchtern betrachtet...ist besoffen besser Big Grin
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
12.03.2014, 19:19 (Dieser Beitrag wurde zuletzt bearbeitet: 13.03.2014 08:36 von skdx.)
Beitrag #3
RE: Arduino Scetch - Compiler Fehler
(12.03.2014 14:39)rkuehle schrieb:  Hallo skdx,

wenn wir dann noch den Code hätten, könnten wir vllt. auch was für dich tunHuh

Grüße Ricardo

PS: auf den ersten Blick würde ich sagen die Paramteranzahl für die begin-Funktion stimmt nicht(ohne Code aber nur ne Vermutung)


Hier der Code der Libarys und des Main Codes.
Freue mich auf Ideen.

mfg skdx

//LiquidCrystal_SR.h
// ---------------------------------------------------------------------------
// Created by Francisco Malpartida on 20/08/11.
// Copyright 2011 - Under creative commons license 3.0:
// Attribution-ShareAlike CC BY-SA
//
// This software is furnished "as is", without technical support, and with no
// warranty, express or implied, as to its usefulness for any purpose.
//
// Thread Safe: No
// Extendable: Yes
//
// @file LiquidCrystal_SR.h
// Connects an LCD using 2 or 3 pins from the Arduino, via an 8-bit
// ShiftRegister (SR from now on).
//
// @brief
// This is a port of the ShiftRegLCD library from raron and ported to the
// LCD library.
//
// The functionality provided by this class and its base class is identical
// to the original functionality of the Arduino LiquidCrystal library and can
// be used as such.
//
// Modified to work serially with the shiftOut() function, an 8-bit
// unlatched, no-tristate, unidirectional SIPO (Serial-In-Parallel-Out)
// shift register (IE a very simple SR), and an LCD in 4-bit mode.
// Any such shift register should do (pref. 74LS family IC's for 2-wire).
// I used 74LS164, for the reason that's what I had at hand.
//
// Connection description:
//
// SR output:
// Bit #0 - N/C - not connected, used to hold a zero
// Bit #1 - N/C
// Bit #2 - connects to RS (Register Select) on the LCD
// Bits #3-6 - connects to LCD data inputs D4 - D7.
// Bit #7 - enables the LCD enable-puls (via the diode-resistor AND "gate")
//
// 2 or 3 Pins required from the Arduino for Data, Clock and (optional) Enable
// If not using Enable, the Data pin will be used for the enable signal.
// 2 wire mode can be indicated by:
// - ommitting the enable pin in constructor
// - defining the same pin for Enable as for Data in constructor
// - by using the token TWO_WIRE for the enable pin.
//
// Data and Clock outputs/pins goes to the shiftregister.
// LCD RW-pin hardwired to LOW (only writing to LCD).
// Busy Flag (BF, data bit D7) is not read.
//
// Original project homepage: http://code.google.com/p/arduinoshiftreglcd/
//
//
// History
// 2012.03.29 bperrybap - can now eliminate enable pin in constructor for two wire mode.
// 2011.10.29 fmalpartida - adaption of the library to the LCD class hierarchy.
// 2011.07.02 Fixed a minor flaw in setCursor function. No functional change,
// just a bit more memory efficient.
// Thanks to CapnBry (from google code and github) who noticed it.
// URL to his version of shiftregLCD:
// https://github.com/CapnBry/HeaterMeter/c...01fd1f28c1
// 2009.07.30 raron - minor corrections to the comments.
// Fixed timing to datasheet safe. Fixed keyword highlights.
// 2009.07.28 Mircho / raron - a new modification to the schematics, and a
// more streamlined interface
// 2009.07.27 Thanks to an excellent suggestion from mircho at the Arduiono
// playgrond forum, the number of wires now required is only two!
// 2009.07.25 raron - Fixed comments. I really messed up the comments before
// posting this, so I had to fix it.
// Renamed a function, but no improvements or functional changes.
// 2009.07.23 Incorporated some proper initialization routines
// inspired (lets say copy-paste-tweaked) from LiquidCrystal
// library improvements from LadyAda.
// 2009.05.23 raron - first version, but based mostly (as in almost verbatim)
// on the "official" LiquidCrystal library.
//
//
//
// @author F. Malpartida - fmalpartida@gmail.com
// ---------------------------------------------------------------------------
#ifndef _LIQUIDCRYSTAL_SR_
#define _LIQUIDCRYSTAL_SR_

#include <inttypes.h>
#include "LCD.h"
#include "FastIO.h"


// two-wire indicator constant
// ---------------------------------------------------------------------------
#define TWO_WIRE 204
#define SR_RS_BIT 0x04
#define SR_EN_BIT 0x80


class LiquidCrystal_SR : public LCD
{
public:
/*!
@method
@abstract LCD SHIFT REGISTER constructors.
@discussion Defines the pin assignment that the LCD will have.
The constructor does not initialize the LCD. Assuming 1 line 8 pixel high
font.

@param srdata[in] pin for shiftregister data line.
@param srclock[in] pin for shiftregister clock line.
@param enable[in] optional direct enable pin for the LCD
*/
LiquidCrystal_SR ( uint8_t srdata, uint8_t srclock, uint8_t enable=TWO_WIRE );

/*!
@function
@abstract Send a particular value to the LCD.
@discussion Sends a particular value to the LCD for writing to the LCD or
as an LCD command using the shift register.

Users should never call this method.

@param value[in] Value to send to the LCD.
@result mode LOW - write to the LCD CGRAM, HIGH - write a command to
the LCD.
*/
virtual void send(uint8_t value, uint8_t mode);


/*!
@function
@abstract Sets the pin to control the backlight.
@discussion Sets the pin in the device to control the backlight.
@warning Currently not supported

@param mode: backlight mode (HIGH|LOW)
@param pol: backlight polarity
*/
void setBacklightPin ( uint8_t pin, t_backlighPol pol );

/*!
@function
@abstract Switch-on/off the LCD backlight.
@discussion Switch-on/off the LCD backlight.
The setBacklightPin has to be called before setting the backlight for
this method to work. @see setBacklightPin.

@param mode: backlight mode (HIGH|LOW)
*/
void setBacklight ( uint8_t mode );

private:

/*!
@method
@abstract Initializes the LCD pin allocation
@discussion Initializes the LCD pin allocation and configuration.
*/
void init ( uint8_t srdata, uint8_t srclock, uint8_t enable, uint8_t lines,
uint8_t font );

/*!
* @method
* @abstract takes care of shifting and the enable pulse
*/
void shiftIt (uint8_t val);

uint8_t _enable_pin; // Enable Pin
uint8_t _two_wire; // two wire mode

fio_register _srDataRegister; // Serial Data pin
fio_bit _srDataBit;
fio_register _srClockRegister; // Clock Pin
fio_bit _srClockBit;
fio_register _srEnableRegister; // Enable Pin
fio_bit _srEnableBit;

};

#endif


//LCD.h
// ---------------------------------------------------------------------------
// Created by Francisco Malpartida on 20/08/11.
// Copyright 2011 - Under creative commons license 3.0:
// Attribution-ShareAlike CC BY-SA
//
// This software is furnished "as is", without technical support, and with no
// warranty, express or implied, as to its usefulness for any purpose.
//
// Thread Safe: No
// Extendable: Yes
//
// @file LiquidCrystal.h
// This file implements a basic liquid crystal library that comes as standard
// in the Arduino SDK.
//
// @brief
// This is a basic implementation of the LiquidCrystal library of the
// Arduino SDK. This library is a refactored version of the one supplied
// in the Arduino SDK in such a way that it simplifies its extension
// to support other mechanism to communicate to LCDs such as I2C, Serial.
// The original library has been reworked in such a way that this will be
// the base class implementing all generic methods to command an LCD based
// on the Hitachi HD44780 and compatible chipsets.
//
// This base class is a pure abstract class and needs to be extended. As reference,
// it has been extended to drive 4 and 8 bit mode control, LCDs and I2C extension
// backpacks such as the I2CLCDextraIO using the PCF8574* I2C IO Expander ASIC.
//
//
// This library is only compatible with Arduino's SDK version 1.0
//
// @version API 1.0.0
//
//
// @author F. Malpartida - fmalpartida@gmail.com
// ---------------------------------------------------------------------------
#ifndef _LCD_H_
#define _LCD_H_
#include <inttypes.h>
#include <Print.h>

/*!
@defined
@abstract Enables disables fast waits for write operations for LCD
@discussion If defined, the library will avoid doing un-necessary waits.
this can be done, because the time taken by Arduino's slow digitalWrite
operations. If fast digitalIO operations, comment this line out or undefine
the mode.
*/
#define FAST_MODE

/*!
@defined
@abstract All these definitions shouldn't be used unless you are writing
a driver.
@discussion All these definitions are for driver implementation only and
shouldn't be used by applications.
*/
// LCD Commands
// ---------------------------------------------------------------------------
#define LCD_CLEARDISPLAY 0x01
#define LCD_RETURNHOME 0x02
#define LCD_ENTRYMODESET 0x04
#define LCD_DISPLAYCONTROL 0x08
#define LCD_CURSORSHIFT 0x10
#define LCD_FUNCTIONSET 0x20
#define LCD_SETCGRAMADDR 0x40
#define LCD_SETDDRAMADDR 0x80

// flags for display entry mode
// ---------------------------------------------------------------------------
#define LCD_ENTRYRIGHT 0x00
#define LCD_ENTRYLEFT 0x02
#define LCD_ENTRYSHIFTINCREMENT 0x01
#define LCD_ENTRYSHIFTDECREMENT 0x00

// flags for display on/off and cursor control
// ---------------------------------------------------------------------------
#define LCD_DISPLAYON 0x04
#define LCD_DISPLAYOFF 0x00
#define LCD_CURSORON 0x02
#define LCD_CURSOROFF 0x00
#define LCD_BLINKON 0x01
#define LCD_BLINKOFF 0x00

// flags for display/cursor shift
// ---------------------------------------------------------------------------
#define LCD_DISPLAYMOVE 0x08
#define LCD_CURSORMOVE 0x00
#define LCD_MOVERIGHT 0x04
#define LCD_MOVELEFT 0x00

// flags for function set
// ---------------------------------------------------------------------------
#define LCD_8BITMODE 0x10
#define LCD_4BITMODE 0x00
#define LCD_2LINE 0x08
#define LCD_1LINE 0x00
#define LCD_5x10DOTS 0x04
#define LCD_5x8DOTS 0x00

#define LCD_4BIT 1
#define LCD_8BIT 0

// Define COMMAND and DATA LCD Rs
// ---------------------------------------------------------------------------
#define COMMAND 0
#define DATA 1

/*!
@defined
@abstract Defines the duration of the home and clear commands
@discussion This constant defines the time it takes for the home and clear
commands in the LCD - Time in microseconds.
*/
#define HOME_CLEAR_EXEC 2000

class LCD : public Print
{
public:

/*!
@method
@abstract LiquidCrystal abstract constructor.
@discussion LiquidCrystal class abstract constructor needed to create
the base abstract class.
*/
LCD ( );

/*!
@function
@abstract LCD initialization.
@discussion Initializes the LCD to a given size (col, row). This methods
initializes the LCD, therefore, it MUST be called prior to using any other
method from this class.

This method is pure abstract, it is dependent on each derived class from
this base class to implement the internals of how the LCD is initialized
and configured.

@param cols[in] the number of columns that the display has
@param rows[in] the number of rows that the display has
*/
#if (ARDUINO < 100)
virtual void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS) { };
#else
virtual void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS) = 0;
#endif

/*!
@function
@abstract Clears the LCD.
@discussion Clears the LCD screen and positions the cursor in the upper-left
corner.

This operation is time consuming for the LCD.

@param none
*/
void clear();

/*!
@function
@abstract Sets the cursor to the upper-left corner.
@discussion Positions the cursor in the upper-left of the LCD.
That is, use that location in outputting subsequent text to the display.
To also clear the display, use the clear() function instead.

This operation is time consuming for the LCD.

@param none
*/
void home();

/*!
@function
@abstract Turns off the LCD display.
@discussion Turns off the LCD display, without losing the text currently
being displayed on it.

@param none
*/
void noDisplay();

/*!
@function
@abstract Turns on the LCD display.
@discussion Turns on the LCD display, after it's been turned off with
noDisplay(). This will restore the text (and cursor location) that was on
the display prior to calling noDisplay().

@param none
*/
void display();

/*!
@function
@abstract Turns off the blinking of the LCD cursor.

@param none
*/
void noBlink();

/*!
@function
@abstract Display the cursor of the LCD.
@discussion Display the blinking LCD cursor. If used in combination with
the cursor() function, the result will depend on the particular display.

@param none
*/
void blink();

/*!
@function
@abstract Hides the LCD cursor.

@param none
*/
void noCursor();

/*!
@function
@abstract Display the LCD cursor.
@discussion Display the LCD cursor: an underscore (line) at the location
where the next character will be written.

@param none
*/
void cursor();

/*!
@function
@abstract Scrolls the contents of the display (text and cursor) one space
to the left.

@param none
*/
void scrollDisplayLeft();

/*!
@function
@abstract Scrolls the contents of the display (text and cursor) one space
to the right.

@param none
*/
void scrollDisplayRight();

/*!
@function
@abstract Set the direction for text written to the LCD to left-to-right.
@discussion Set the direction for text written to the LCD to left-to-right.
All subsequent characters written to the display will go from left to right,
but does not affect previously-output text.

This is the default configuration.

@param none
*/
void leftToRight();

/*!
@function
@abstract Set the direction for text written to the LCD to right-to-left.
@discussion Set the direction for text written to the LCD to right-to-left.
All subsequent characters written to the display will go from right to left,
but does not affect previously-output text.

left-to-right is the default configuration.

@param none
*/
void rightToLeft();

/*!
@function
@abstract Turns on automatic scrolling of the LCD.
@discussion Turns on automatic scrolling of the LCD. This causes each
character output to the display to push previous characters over by one
space. If the current text direction is left-to-right (the default),
the display scrolls to the left; if the current direction is right-to-left,
the display scrolls to the right.
This has the effect of outputting each new character to the same location on
the LCD.

@param none
*/
void autoscroll();

/*!
@function
@abstract Turns off automatic scrolling of the LCD.
@discussion Turns off automatic scrolling of the LCD, this is the default
configuration of the LCD.

@param none
*/
void noAutoscroll();

/*!
@function
@abstract Creates a custom character for use on the LCD.
@discussion Create a custom character (glyph) for use on the LCD.
Most chipsets only support up to eight characters of 5x8 pixels. Therefore,
this methods has been limited to locations (numbered 0 to 7).

The appearance of each custom character is specified by an array of eight
bytes, one for each row. The five least significant bits of each byte
determine the pixels in that row. To display a custom character on screen,
write()/print() its number, i.e. lcd.print (char(x)); // Where x is 0..7.

@param location[in] LCD memory location of the character to create
(0 to 7)
@param charmap[in] the bitmap array representing each row of the character.
*/
void createChar(uint8_t location, uint8_t charmap[]);

/*!
@function
@abstract Position the LCD cursor.
@discussion Sets the position of the LCD cursor. Set the location at which
subsequent text written to the LCD will be displayed.

@param col[in] LCD column
@param row[in] LCD row - line.
*/
void setCursor(uint8_t col, uint8_t row);


/*!
@function
@abstract Send a command to the LCD.
@discussion This method sends a command to the LCD by setting the Register
select line of the LCD.

This command shouldn't be used to drive the LCD, only to implement any other
feature that is not available on this library.

@param value[in] Command value to send to the LCD.
*/
void command(uint8_t value);

/*!
@function
@abstract Writes to the LCD.
@discussion This method writes character to the LCD in the current cursor
position.

This is the virtual write method, implemented in the Print class, therefore
all Print class methods will end up calling this method.

@param value[in] Value to write to the LCD.
*/
#if (ARDUINO < 100)
virtual void write(uint8_t value);
#else
virtual size_t write(uint8_t value);
#endif


/*!
@function
@abstract Send a particular value to the LCD.
@discussion Sends a particular value to the LCD. This is a pure abstract
method, therefore, it is implementation dependent of each derived class how
to physically write to the LCD.

Users should never call this method.

@param value[in] Value to send to the LCD.
@result mode LOW - write to the LCD CGRAM, HIGH - write a command to
the LCD.
*/
#if (ARDUINO < 100)
virtual void send(uint8_t value, uint8_t mode) { };
#else
virtual void send(uint8_t value, uint8_t mode) = 0;
#endif

#if (ARDUINO < 100)
using Print::write;
#else
using Print::write;
#endif

protected:
// Internal LCD variables to control the LCD shared between all derived
// classes.
uint8_t _displayfunction; // LCD_5x10DOTS or LCD_5x8DOTS, LCD_4BITMODE or
// LCD_8BITMODE, LCD_1LINE or LCD_2LINE
uint8_t _displaycontrol; // LCD base control command LCD on/off, blink, cursor
// all commands are "ored" to its contents.
uint8_t _displaymode; // Text entry mode to the LCD
uint8_t _numlines; // Number of lines of the LCD, initialized with begin()
uint8_t _cols; // Number of columns in the LCD

private:

};

#endif


//Hello_World_595.ino

#include <LiquidCrystal_SR.h>

/*
ShiftLCD Library - Hello World

Demonstrates the use a 16x2 LCD display. The ShiftLCD library works with
all LCD displays that are compatible with the Hitachi HD44780 driver.
There are many of them out there, and you can usually tell them by the
16-pin interface.

This sketch prints "Hello World!" to the LCD
and shows the number of seconds since reset.

The circuit:

---Shift Register 74HC595---
* SR SER - Pin 14 to Arduino pin PD2
* SR RCK - Pin 12 to Arduino pin PD3 and (LCD E 1602 Pin 6)
* SR SCK - Pin 11 to Arduino pin PD4
* SR GND - Pin 8 to Ground
* SR VCC - Pin 16 to +5v
* SR OE - Pin 13 to Ground
* SR SCLR - Pin 10 to +5v
-----Shift Reg to LCD--------
* SR QG - Pin 6 to D7 (LCD 1602 Pin 14)
* SR QF - Pin 5 to D6 (LCD 1602 Pin 13)
* SR QE - Pin 4 to D5 (LCD 1602 Pin 12)
* SR QD - Pin 3 to D4 (LCD 1602 Pin 11)
* SR QC - Pin 2 to LCD RS (LCD 1602 Pin 4)
-----LCD HD44780-------------
* Vss to Ground (LCD 1602 Pin 1)
* Vdd to +5V (LCD 1602 Pin 2)
* Vo to 10k Wiper (LCD 1602 Pin 3)
* R/W to Ground (LCD 1602 Pin 5)
* LEDA to +5v (LCD 1602 Pin 15)
* Gnd to LEDK via 330 Ohm resistor (LCD 1602 Pin 16)

The schematic at this link is:
http://code.google.com/p/arduinoshiftreglcd/ see
the last schematic labled "Latched shiftregister"

*/

#define DATAPIN 2
#define CLOCKPIN 4
#define STROBEPIN 3
#define MAXCOLUMNS 16
#define MAXLINES 2


LiquidCrystal_SR lcd(DATAPIN, CLOCKPIN, STROBEPIN);

void setup() {
// set up the LCD's number of rows and columns:
lcd.begin(MAXCOLUMNS, MAXLINES);
// Print a message to the LCD.
lcd.print("Hello, World!");
}

void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1); //lcd.setCursor(column, row);
// print the number of seconds since reset:
lcd.print(millis()/1000);
}
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
14.03.2014, 07:21 (Dieser Beitrag wurde zuletzt bearbeitet: 14.03.2014 07:22 von skdx.)
Beitrag #4
RE: Arduino Scetch - Compiler Fehler
Hat keiner eine Idee????
Huh
Finde auch beim Googlen keine sinnvolle Antwort.
Würde mich über eine Anregung sehr freuen - kann ja wohl nicht sein, das das Problem nicht zu lösen ist.
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
14.03.2014, 18:40 (Dieser Beitrag wurde zuletzt bearbeitet: 14.03.2014 18:41 von rkuehle.)
Beitrag #5
RE: Arduino Scetch - Compiler Fehler
Hallo skdx,

Zitat:Hat keiner eine Idee????

Doch, ich Smile . Du hast entweder die falsche SR-Lib oder diese an falscher Stelle geparkt, oder mehrere Versionen der SR-Lib Exclamation
Ich habe deinen Sketch genommen und gleich beim 1. Durchlauf für Uno, Mega und Nano kompilieren können.
Mach bitte folgendes:
- im Verzeichnis "libraries" deiner IDE-Install suchst du den Ordner in dem die SR-Lib liegt und sicherst ihn nach irgendwo ausserhalb der IDE.
- dann machst du im Ordner "libraries" einen neuen Ordner "LiquidCrystal" auf.
- dort packst du den Inhalt des Attachment hin

Kompilieren - freuen Big Grin

Grüße Ricardo

PS: Wäre gut wenn du den Code mit dem "#" - Symbol in den Post packst. Liest sich besser.


Angehängte Datei(en)
.zip  LiquidCrystal.zip (Größe: 40,66 KB / Downloads: 95)

Nüchtern betrachtet...ist besoffen besser Big Grin
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
14.03.2014, 19:14
Beitrag #6
RE: Arduino Scetch - Compiler Fehler
(14.03.2014 18:40)rkuehle schrieb:  Hallo skdx,

Zitat:Hat keiner eine Idee????

Doch, ich Smile . Du hast entweder die falsche SR-Lib oder diese an falscher Stelle geparkt, oder mehrere Versionen der SR-Lib Exclamation
Ich habe deinen Sketch genommen und gleich beim 1. Durchlauf für Uno, Mega und Nano kompilieren können.
Mach bitte folgendes:
- im Verzeichnis "libraries" deiner IDE-Install suchst du den Ordner in dem die SR-Lib liegt und sicherst ihn nach irgendwo ausserhalb der IDE.
- dann machst du im Ordner "libraries" einen neuen Ordner "LiquidCrystal" auf.
- dort packst du den Inhalt des Attachment hin

Kompilieren - freuen Big Grin

Grüße Ricardo

PS: Wäre gut wenn du den Code mit dem "#" - Symbol in den Post packst. Liest sich besser.

Perfekt - Ich dank Dir recht sakrisch. Hat auf Anhieb gefunzt. Jetzt kann's weiter gehn. Wenns fertig ist, ist's eine Steuerung für einen Chiller - für Laser und/oder wassergekühlter China Spindel.

Danke nochmal

Gruß skdx
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
Antwort schreiben 


Möglicherweise verwandte Themen...
Thema: Verfasser Antworten: Ansichten: Letzter Beitrag
  Fehler in meinem Programm Franz54 7 139 01.12.2016 23:58
Letzter Beitrag: hotsystems
  Fehler im Programmablauf binderj1 14 347 10.10.2016 10:29
Letzter Beitrag: StephanBuerger
  Fehler beim Kompilieren binderj1 5 291 03.10.2016 21:27
Letzter Beitrag: hotsystems
Smile Simpler Fehler bei MAP? malsehen 8 225 02.10.2016 19:46
Letzter Beitrag: malsehen
  Fehler beim Speichern von Projekten Manni66 16 681 23.08.2016 10:05
Letzter Beitrag: hotsystems
  Ausgabe druckt immer 2 Werte anstatt nur einen. Finde den Fehler nicht TimeMen 24 732 02.07.2016 14:18
Letzter Beitrag: hotsystems
  Adafruit SD-master / logger shield: Fehler beim 2. Kompilieren kl-ing 3 329 06.06.2016 16:07
Letzter Beitrag: Bitklopfer
Sad Suche simplen Scetch für ESP8266-Modul torsten_156 14 1.105 19.04.2016 07:54
Letzter Beitrag: amithlon
  Frage zum Arduino Studio Compiler avoid 1 481 27.02.2016 09:15
Letzter Beitrag: amithlon
  Fehler beim Kompilieren Rudi 4 882 05.02.2016 19:46
Letzter Beitrag: Rudi

Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste