- Sun May 17, 2015 4:00 am
#17622
Hi,
I made yesturday a new build with my Windows 7 64 Bit and Serial.Read works. This was my testing code:
Code: Select allextern "C" {
#include "user_interface.h"
}
int incomingByte = 0;
void setup() {
Serial.begin(115200);
Serial.println("Start...");
}
void loop() {
if (Serial.available() > 0) {
// read the incoming byte:
incomingByte = Serial.read();
// say what you got:
Serial.print("I received: ");
Serial.print(incomingByte);
Serial.println();
}
}
I'm not an expert in building so to be realy sure: If you tell me how I can check that I have realy the newest version from Git, then tell me how, ans I will report.
BUT: I noticed also strange things. The ANALOGREAD function will deliver strange random values when I use the Arduino IDE build from Git. If I download the compiled Windows Arduino IDE from the Git page, the analogread function delivers perfect analogread values.
Additional: I use Visual Micro to write code. Works with the Git-build Arduino IDE perfect. Realy a great tool. But with the compiled Windows-Arduino-IDE, Visual Micro says "No compiler found". UPDATE: Withe the tips from here
viewtopic.php?f=32&t=2391&p=16703&hilit=visual+micro#p16703 I was able to get Visual Micro and the precompiled Arduino-IDE from Git to work under Windows.
I think the things are in flow....
Greetz, Bernd