BHZ, MG, Brazil
Offline
Sr. Member
Karma: 8
Posts: 298
Android developer; Arduino enthusiast
|
 |
« Reply #165 on: October 22, 2012, 07:55:53 pm » |
Following...
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) ?
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1142
Arduino rocks
|
 |
« Reply #166 on: October 22, 2012, 10:28:18 pm » |
Following...
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 
|
|
|
|
« Last Edit: October 22, 2012, 10:47:28 pm by eried »
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 118
|
 |
« Reply #167 on: October 23, 2012, 02:50:08 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Offline
Sr. Member
Karma: 5
Posts: 383
|
 |
« Reply #169 on: October 23, 2012, 06:21:37 pm » |
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); }
|
|
|
|
« Last Edit: October 23, 2012, 06:25:22 pm by Lakes »
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1142
Arduino rocks
|
 |
« Reply #170 on: October 23, 2012, 06:26:36 pm » |
uhm... can you record a screencast video or something with the problem?
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 5
Posts: 383
|
 |
« Reply #171 on: October 23, 2012, 06:29:49 pm » |
I could do, will a couple of screen shots comparing two serial monitors do for now?
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1142
Arduino rocks
|
 |
« Reply #172 on: October 23, 2012, 06:56:29 pm » |
I could do, will a couple of screen shots comparing two serial monitors do for now?
Yes, some way to debug it
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 5
Posts: 383
|
 |
« Reply #173 on: October 23, 2012, 07:03:52 pm » |
Standard Serial Monitor  Enhanced Serial Monitor 
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1142
Arduino rocks
|
 |
« Reply #174 on: October 23, 2012, 07:13:50 pm » |
Thanks, I will check but it seems something with the font? can you change the font, or use the same settings in both? By the way I updated the IDE today. The bug about the comments is fixed and there is a font settings now as you requested. 
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 5
Posts: 383
|
 |
« Reply #175 on: October 23, 2012, 07:18:47 pm » |
Thanks, I will check but it seems something with the font? can you change the font, or use the same settings in both? I`ll check that tomorrow. By the way I updated the IDE today. The bug about the comments is fixed and there is a font settings now as you requested. Fantastic! <insert thumbsup emoticon here> 
|
|
|
|
|
Logged
|
|
|
|
|
France
Offline
God Member
Karma: 19
Posts: 613
Scientia potentia est.
|
 |
« Reply #176 on: October 23, 2012, 07:49:19 pm » |
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 
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1142
Arduino rocks
|
 |
« Reply #177 on: October 23, 2012, 07:55:49 pm » |
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  test it in the one you have installed.
|
|
|
|
« Last Edit: October 23, 2012, 07:59:09 pm by eried »
|
Logged
|
|
|
|
|
France
Offline
God Member
Karma: 19
Posts: 613
Scientia potentia est.
|
 |
« Reply #178 on: October 23, 2012, 08:29:16 pm » |
Already fixed  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 
|
|
|
|
« Last Edit: October 23, 2012, 08:34:26 pm by guix »
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 28
Posts: 1142
Arduino rocks
|
 |
« Reply #179 on: October 23, 2012, 09:16:17 pm » |
Hehehe, yes version 1.0.1i and up. Someone asked for this describing the problem as "screen of custard", but he uses the 0022 so he maybe never will enjoy the enhancements. 
|
|
|
|
|
Logged
|
|
|
|
|
|