UK
Offline
Newbie
Karma: 0
Posts: 15
I'm getting too old for complicated programming
|
 |
« Reply #345 on: January 18, 2013, 04:24:30 pm » |
Hi eried hope you are well.
Ive been using ERW 1.0.3 with no problems on a Uno but now I'm using a Leonardo and I cannot get the coms to the monitor to work (same code but with the serial port test for the Leornardo).
It works ok with the non ERW ver 1.0.3
Any thoughts
best wishes Graham
|
|
|
|
|
Logged
|
Graham
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #346 on: January 18, 2013, 07:08:14 pm » |
What kind of problem do you get with the Leonardo board? I don't have one, but I know it works a little different. There is one guy porting some of the improvements to Teensy, so I am thinking on steal  some of that knowledge one day (because the Teensy works similar to the Leonardo) to make the mod work.
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
Newbie
Karma: 0
Posts: 15
I'm getting too old for complicated programming
|
 |
« Reply #347 on: January 19, 2013, 05:44:14 am » |
I use my monitor program for debugging that uses "Serial.print..." to write to the Monitor.
With ERW this does not work.
I'm no expert but my observation is that with the Leonardo the USB is in the processor itself and the USB link drops out and back in twice during every download. There are details on that elsewhere. You also need to wait for the instance of the serial port to established by adding. while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only }
This I've done although I'm not convinced that works, nevertheless non-ERW environment works and ERW doesn't, shame because I really prefer your polished version and thought you should be aware. Without a Leonardo I guess your a bit stuffed. If I can do any tests to help you just shout up, in the meantime Ill use the tardy official IDE.
Thanks Graham
|
|
|
|
|
Logged
|
Graham
|
|
|
|
Guaymas, Sonora, Mexico
Offline
Newbie
Karma: 1
Posts: 49
learning never stops.
|
 |
« Reply #348 on: January 22, 2013, 06:12:17 pm » |
Cool work. unfortunately, with the DUE, I need to use 1.5.1r2 .... So I cannot use your version.
But I bought you coffee/pepsi anyway.
|
|
|
|
|
Logged
|
Quiero una vida simple en Mexico...nada mas.
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #349 on: January 23, 2013, 12:23:39 am » |
Cool work. unfortunately, with the DUE, I need to use 1.5.1r2 .... So I cannot use your version.
But I bought you coffee/pepsi anyway.
Thanks a lot! yes I know, I am waiting a little bit for some official 1.5 version so I do all the porting work in a marathon  (empowered by pepsi cola)
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 3
|
 |
« Reply #350 on: January 24, 2013, 07:00:25 pm » |
Great job! Donation confirmation number is 52D699411D1083802. Good luck. Eli
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #352 on: January 24, 2013, 11:31:10 pm » |
Hi, thanks for the donation!
About your issue: you have to download the file that says arduino, not the "processing" one (they are similar but only the interface)
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 1
Posts: 23
|
 |
« Reply #353 on: January 25, 2013, 03:14:20 pm » |
Hey eried, Good work man, keep it up....
Can u help me with getting the Taskbar icon right for version 1.5r2 though?? i know u are waiting for the Stable releases, but i work a lot with the DUE and it would be nice to have the better icon on the Taskbar, the high resolution one....
Please help
Regards
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #354 on: January 25, 2013, 10:00:04 pm » |
Check the github source, you can copy the code to the new one and compile it again with a shiny new icon.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 1
Posts: 23
|
 |
« Reply #355 on: January 25, 2013, 11:22:16 pm » |
but in github, there is no source for 1.5r2....
Am sorry for being stupid, i am a not very used to compiling and stuff
Regards
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #356 on: January 26, 2013, 09:42:57 am » |
but in github, there is no source for 1.5r2....
Am sorry for being stupid, i am a not very used to compiling and stuff
Regards
There is a file with instructions, look how to make Arduino in google. You may merge a little bit the code from 1.0.3 into 1.5 (just the icon code). Otherwise you will have to wait until I do it
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 1
Posts: 23
|
 |
« Reply #357 on: January 30, 2013, 10:51:04 am » |
Hey eried Thanks for all the work you have done already, what i am going to suggest might seem a little selfish, but, have u ever used CodeBlocks Compiler? located here http://www.codeblocks.org/downloads/26#windowsi ask because, i have been using it for a while now, and i have noticed that when i type in an opening brace "{", a closing brace, "}" is automatically placed in the next line, in a same way, typing in a " results in a closing " in the next line. We have templates now, but it would be really handy if this could also be there in the Arduino IDE. Do u think it is doable, without a lot of efforts? Please take it just as a suggestion. I am personally a fan of your work, you are doing something the Arduino Team should be undertaking, hats off to you. Regards
|
|
|
|
|
Logged
|
|
|
|
|
Chile
Offline
Edison Member
Karma: 29
Posts: 1148
Arduino rocks
|
 |
« Reply #358 on: January 30, 2013, 11:20:13 am » |
It is doable, but as every feature, I wait until several people ask for the same.
In my opinion, I hate these auto completions, I like visual studio style, non-intrusive completion. Sometimes you try to fix some piece of code and the extra stuff keeps showing up. In any new IDE I have to use, I first check how to disable the quotes, parentheses and brackets completion.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 1
Posts: 23
|
 |
« Reply #359 on: January 31, 2013, 06:46:04 am » |
@eried, I totally agree, but when typing long lines of code, which for example might contain if else conditions, it sometimes becomes hard to tell which Closing bracket/Brace belongs to which Opening bracket....if the code is auto formatted in the manner it is done in CoceBlocks, it becomes a lot easier. Another thing i wanted to ask was, as i have read, your versions of Arduino IDE use newer WinAVR versions....can that ever cause anything to go wrong..? has it ever happened that a code would work fine on the original IDE and not work properly on your IDE?? I cant wait for u to port all you have done to the Due software  Regards
|
|
|
|
|
Logged
|
|
|
|
|
|