Hello and thank you for this cool enhanced IDE, I'm using it since few weeks without problems
I have a small suggestion (sorry if it has been asked already) when we click "New" or open any sketch, it open it in a new window, it would be nice if it opened in a new tab instead
guix:
Hello and thank you for this cool enhanced IDE, I'm using it since few weeks without problems
I have a small suggestion (sorry if it has been asked already) when we click "New" or open any sketch, it open it in a new window, it would be nice if it opened in a new tab instead
Hehehe but I guess you don't understand how tabs works, they are not sketches, are part of the main sketch, like "subroutines". Look:
Quarencia:
I've noticed some strange behavior in tab navigating. When I first open the ide and use the keyboard shortcur (CNTRL + ALT + Arrow) for moving between tabs, if jumps two tabs at a time (either direction you choose).
I was trying to fix this, but I can't replicate it. Can you record some quick screencast or something with the issue? happens with the on screen keyboard too?
Well, you know: it is software, so everything is doable; but due the actual architecture of the application it is not a trivial to do. If a lot of people want it (like the menu scroller), I can search for something, but personally I like how Win7 stacks the windows in one icon (I usually disable the tabs in any application besides a browser/im)
Just a quick question: has anyone from the Arduino team approached you to have you work in the official Arduino IDE that is about to be released (1.0.2) ?
Just a quick question: has anyone from the Arduino team approached you to have you work in the official Arduino IDE that is about to be released (1.0.2) ?
No, but it was never my idea.
I've been trying to help by doing small fixes to the environment since a couple of years, but the only users who experience most of the problems use windows, so I guess those issues seem to be not very important. You certainly care less for the platform you don't use.
Also, maybe 1.0.2 will be 1.5? I am not sure yet what one should I start to fix
In the Standard IDE this code displays correctly in the serial monitor.
But in yours its does not work.
//Manual Set Time example using Time.h
#include <Time.h>
void setup() {
//setTime(hr,min,sec,day,month,yr);
Serial.begin(57600);
Serial.println("Serial Connected");
Serial.println();
Serial.println("Manual setTime Example");
Serial.println();
}
void loop() {
if(timeStatus() == timeNotSet){
Serial.println("Please set the Time");
TimeSet();
}
else{
// Serial.println("time already set");
digitalClockDisplay();
delay(1000);
}
}
void digitalClockDisplay(){
/*
time_t t = now();
Serial.print("");
Serial.print("Val t = ");
Serial.println(t);
*/
Serial.print(day());
Serial.print("/");
Serial.print(month());
Serial.print("/");
Serial.print(year());
Serial.print(" ");
Serial.print(hour());
Serial.print(":");
printDigits(minute());
Serial.print(":");
printDigits(second());
Serial.println("");
delay(5000);
}
void TimeSet() {
// Input time
Serial.println();
Serial.println("Input time Day dd");
// day[3] = 0; //null char
byte Days = 0;
for (byte x= 0; x < 2; x++)
{
Days = (10* Days) + wait_read();
}
Serial.print("Day is Set to ");
Serial.print(Days);
Serial.println();
wait_read(); // nl char is discarded
Serial.println();
Serial.println("Input time Month mm");
byte Months = 0;
for (byte x= 0; x < 2; x++)
{
Months = (10* Months) + wait_read();
}
Serial.print("Month is Set to ");
Serial.print(Months);
Serial.println();
wait_read(); // nl char is discarded
Serial.println();
Serial.println("Input time Year yy");
byte Years = 0;
for (byte x= 0; x < 2; x++)
{
Years = (10* Years) + wait_read();
}
Serial.print("Year is Set to ");
Serial.print(Years);
Serial.println();
wait_read(); // nl char is discarded
Serial.println();
Serial.println("Input time Hours hh");
byte Hours = 0;
for (byte x= 0; x < 2; x++)
{
Hours = (10* Hours) + wait_read();
}
Serial.print("Hour is Set to ");
Serial.print(Hours);
Serial.println();
wait_read(); // newline char is discarded
Serial.println();
Serial.println("Input time Minutes mm");
byte Minutes = 0;
for (byte x= 0; x < 2; x++)
{
Minutes = (10* Minutes) + wait_read();
}
Serial.print("Minutes are Set to ");
Serial.print(Minutes);
Serial.println();
wait_read(); // nl char is discarded
Serial.println();
Serial.println("Input time Seconds ss");
byte Seconds = 0;
for (byte x= 0; x < 2; x++)
{
Seconds = (10* Seconds) + wait_read();
}
Serial.print("Seconds are Set to ");
Serial.print(Seconds);
Serial.println();
wait_read(); // nl char is discarded
setTime(Hours,Minutes,Seconds,Days,Months,Years);
} //End SetTime
// Wait for Serial Input
char wait_read (){
while(!Serial.available()) // Do nothing while waiting for input.
{ }
/*
The conversion of a character that contains a numeric value that corresponds to a number
can be converted to the number by subtracting the char value '0' from it. Char '0' = Dec 48
*/
byte num;
byte t = Serial.read();
if (t >= '0' && t <= '9'){
num = (t - '0');
// Serial.print("Number Converted to");
// Serial.println(num);
}
return num;
} // End wait_read Function
void printDigits(int digits){
// utility function for digital clock display: prints preceding colon and leading 0
if(digits < 10)
Serial.print('0');
Serial.print(digits);
}
Hello, I have another suggestion that is easy to add (I think): a setting ine the config file, for scroll speed. I find the scroll speed (when selecting things in the editor) is way too fast, it's hard to select just what I want
guix:
Hello, I have another suggestion that is easy to add (I think): a setting ine the config file, for scroll speed. I find the scroll speed (when selecting things in the editor) is way too fast, it's hard to select just what I want
Already fixed 8) test it in the one you have installed.
eried:
Already fixed 8) test it in the one you have installed.
Sorry but I think it's not working then! It's still fast like the original IDE, I don't notice any "linear acceleration". I have version 1.0.1h, downloading latest now.
Edit: ok working with latest 1.0.1i, good work, thanks 8)