Hallo
Ich habe eine RS232 verbindung 9600 in flowcode6 für Arduino Uno r3 DIP erstellt
Nur inizialisiert und die Zahl 23 gesendet und 1s warten dann von vorne
Wenn ich den Uno dann in der IDE / Therminal öffne kommt immer nur ein Quadrat
im Therminal ist auch 9600 eingestellt.
Was kann das sein
Flowcode 6 Arduino Uno rs232 Problem
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Flowcode 6 Arduino Uno rs232 Problem
How are you sending 23?
Is the delay of 1 second OK?
Could you attach your Flowcode program?
Wie schickst du 23?
Ist die Verzögerung von 1 Sekunde OK?
Könnten Sie Ihr Flowcode-Programm anhängen?
Is the delay of 1 second OK?
Could you attach your Flowcode program?
Wie schickst du 23?
Ist die Verzögerung von 1 Sekunde OK?
Könnten Sie Ihr Flowcode-Programm anhängen?
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Flowcode 6 Arduino Uno rs232 Problem
Hi,
You need to move the Initialize out of the loop, just call it once at startup.
Try a different value in SendChar, such as SendChar('X')
23 decimal is a non-printable character
You need to move the Initialize out of the loop, just call it once at startup.
Try a different value in SendChar, such as SendChar('X')
23 decimal is a non-printable character
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Flowcode 6 Arduino Uno rs232 Problem
Hier ist ein Beispiel, das eine numerische Variable als ASCII-String übergibt.
Here is an example which passes a numeric variable as an ASCII string.
Here is an example which passes a numeric variable as an ASCII string.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Flowcode 6 Arduino Uno rs232 Problem
Jetzt geht es .
Vielen Dank für die Hilfe
Welche Funktion hat Data = Data + "\n"
Gruß
Vielen Dank für die Hilfe
Welche Funktion hat Data = Data + "\n"
Gruß