Search found 4 matches

by wfly31
Wed Aug 29, 2012 2:31 pm
Forum: Deutsch Support-Forum
Topic: static Variablen in Macros
Replies: 3
Views: 7127

Re: static Variablen in Macros

Hallo, globale Variablen sind nicht besonders Hilfreich. Das Macro soll für verschiedene Programme verwendet werden und mehrfach parallel ausgeführt werden. Die Verwendung von Globalen Variablen macht das ganze nicht gerade übersichtlich und ist für ein Macro keine Lösung. Letzt endlich will man ja ...
by wfly31
Wed Aug 29, 2012 1:53 pm
Forum: Deutsch Support-Forum
Topic: static Variablen in Macros
Replies: 3
Views: 7127

static Variablen in Macros

Wie definiert man in Flowcode eine Macro Variable als static ??? In einer C-Code Box kann ich zwar Variablen anlegen: static MX_SINT16 DWERT[16]; static MX_UINT32 ILIM; static MX_SINT32 IWERT; Und diese in weiteren C-Code auch ansprechen, diese sind aber im Flowcode nicht direkt aufrufbar bzw. verwe...
by wfly31
Wed Aug 29, 2012 1:41 pm
Forum: Deutsch Support-Forum
Topic: Array im Flash erstellen ? - Flowcode 5 AVR
Replies: 2
Views: 6319

Re: Array im Flash erstellen ? - Flowcode 5 AVR

Der Beitrag von Martin bezieht sich auf den Code für PIC. Hier das Beispiel für AVR Beim AVR muss unter "Projekt Options" im Feld "Definitions and function declarations:" der Code "#include <avr/pgmspace.h>" eingetragen werden Und unter "Function implementations:&q...
by wfly31
Fri Aug 24, 2012 2:23 pm
Forum: Deutsch Support-Forum
Topic: Array im Flash erstellen ? - Flowcode 5 AVR
Replies: 2
Views: 6319

Array im Flash erstellen ? - Flowcode 5 AVR

Wie kann ich im Flash ein Array (Lock up Table) erstellen ?

Gruß wfly