Show Posts
Pages: [1] 2 3 ... 84
1  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: July 04, 2014, 02:42:26 am
How hard would it be to have the main window's location and size recorded to the preferences file?  I like my window to be larger than the default, and having to resize it every time I open the program is a pain.  I know that I can edit the preferences file myself, and have done so, but really, a program should remember the user's preferences in size.

In terms of effort, probably low. I will try to remember it when I am modifiying the preferences stuff. But it would be better if you append the suggestion here https://github.com/eried/Arduino/issues because my memory Its like a ram, gets flushed after sleeping.
2  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: July 03, 2014, 01:20:53 pm
There are some issues with the serial monitor and the leonardo (I didn't had a leonardo in that time to test the issues). My idea is eventually update this, but I haven't started yet due laziness
3  Using Arduino / Project Guidance / PS/2 Card reader initialization on: June 26, 2014, 09:02:01 pm
A while ago I was playing with an old magtek ps2 reader with the ps2keyboard sketch. All works nice with that reader.

Now, I got another reader that  has a keyboard "bypass":


The problem is, in the computer the reader does not power up (led) if it was not connected on boot. It acts as a keyboard after that. But on the arduino it does not work, maybe there is some kind of initialization I should do?
4  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: May 13, 2014, 04:21:15 pm
The solution might work, but it seems quite overkill. I am not aware of the fully process the IDE makes to convert the sketches. By the way, have you tried adding the conditions to the included files?

The typical #include 'guard':
Code:
#ifndef SOME_HEADER
#define SOME_HEADER
// code
#endif

...and using a define sentence in the arduino sketch to "invalidate" one of these files? Maybe that approach can work?

And I also like the IDE. It is simplistic as the board. I like Visual Studio because it can handle from tiny projects to huge ones without hustle, but the IDE is lovely, I just hate the missing details and that's why this mod exists (i.e. blurry windows icon!)
5  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: May 13, 2014, 02:32:17 am
I dislike this concept.

With it I end in a awful situation: new version of any tool, download, install, add my patches. This means writing down all the things I have done and noting all the dependencies. Its cruel.

conditional includes in my code look so much cleaner to me.

Yes, for that specific file is ugly :/ what solution do you suggest? I can do basic parse for conditions, but not these complete expression you are using (like list all defines, and exclude the not matching blocks)

BTW, I am starting to mod 1.5.x and in the meanwhile I am going to try to start with the complete compatible changes in order to get them in the official:
https://github.com/arduino/Arduino/pull/2070

I hope that mini-effort worth something smiley-grin
6  International / Proyectos / Re: problema teclado ps/2 on: May 12, 2014, 03:11:04 pm
http://playground.arduino.cc/ComponentLib/BarcodeScanner

Está al final de ese artículo. Si lo pruebas con tu teclado tendrias que recibir los códigos raw que manda el teclado con ese sencillo sketch. Ahí mapeas los que necesitas y listo.
7  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: May 11, 2014, 05:45:49 pm
Have you seen this: https://code.google.com/p/arduino-tiny/downloads/detail?name=arduino-tiny-0100-0018.zip

So, if you take a look into the boards, they suggest some changes to add the tiny core files (maybe you use another version, or your own, but the concept it's the same).

When the core is defined, i.e. attiny84at16.build.core=tiny arduino will use the \tiny\cores\tiny\ files, so you can easily add your adafruit files into the core itself, and use the board selector to get multiple includes cleanly.
8  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: May 11, 2014, 03:18:35 pm
That source is from 1.5 so I don't think they will fix that. Well, in your example, define is a complete expression, not only a direct check so I can say the same: it is not simple to fix.

I also use tiny85 with tinycore, but since they add the tinys to boards.txt then it is quite easy to switch from arduino when prototyping to tiny85, no includes sentences involved.
9  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: May 11, 2014, 02:21:27 pm
You are absolutely right. They are parsing all the includes. It is pretty hard to fix the way this works is making the cpp from the sketch:


Is the preprocessor #if and #define the only sentences that can affect these #includes or can you think on another bizarre situation? I was playing in another project doing something really similar ( http://f.cl.ly/items/1y3S0W0z0n3V440D2U2s/Image%202014-04-06%20at%206.24.04%20PM.png ) trying to "preprocess" the code to format it, so in that same "pass" I can make the pattern invalid for these cases but C has so many tricks, so I am not sure if something really obscure may affect the includes (like something accepted by ansi c rules)
10  Development / Other Software Development / Re: Alternative IDE for Visually Impaired Users? on: May 10, 2014, 04:17:58 pm
What kind of feature you need for the IDE to be 'visually impaired' compatible besides the compatibility with screenreaders? What screen reader do you use? normal windows narrator?
11  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: May 10, 2014, 04:15:08 pm
Jengil,

code compiles fine here using latest ERW.

I suspect path problems... easiest fix most of the time is: delete the arduino folder and reinstall.



Thanks for checking that issue hole! I have all messed up due millions of arduino versions :/ and no fully working arduino ide to try (something is really messed with my jdks, jre8 looks promising smiley-grin) last arduino official arduino installer throws all to c:\program files\arduino\ so I don't know how they will handle any eventual multiple version (if any, or if the installer was just a temporal thing due people bitching)... so new default path will have to be \program files\arduino erw\ instead of \program file\arduino\-per version folder-
12  International / Proyectos / Re: problema teclado ps/2 on: May 07, 2014, 04:03:28 pm
¿Que librería usas para ps2?

Yo primero probaría otro teclado y no usaría esa librería completa con los mapas de chars ni nada, hay un sketch muy simple por ahí que lee casi directo los pulsos del ps/2, eso sería ideal.
13  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: May 02, 2014, 09:58:16 pm
I am currently using 1.0.5 r2, let me know if there's any way I can help or just when you finish the script.  I have spent 3 days searching for exactly what u have done so I am very happy that you actually took the time to do it. It means a lot!  Thanks again and keep up the work I look forward to using the IDE when its done!

Cool smiley Can you send me the sketch is giving you problems? it seems related with the avrdude version (I updated the sdk and avrdude from the legacy version so that can cause issues).
14  Development / Other Software Development / Re: [MOD] Arduino Enhanced Release 1.0.5 for Windows (installer, drivers, etc) +SRC on: May 02, 2014, 05:47:58 pm
Hi jengil, in which version your sketch compiled properly? 1.5.x? or 1.0.5?

Because for the moment the current version is based on 1.0.5 so the solution would be wait a little extra until I port all the changes to the newer code. I am just a bit stuck in some dumb issues with the repository.
15  Development / Other Software Development / Re: Printing Sketch: Even PDF file is mangled on: May 02, 2014, 03:39:18 pm
Well, it was just a tiny joke related to your 'Is this really where we are in 2014?' comment. I keep a little unnofficial modded version http://forum.arduino.cc/index.php?topic=118440.0 and and I think I can add something for the printing to an upcoming update.

What is your suggested fix? Automatic wrap when printing?, warn the user about limits?, check printer margins?
Pages: [1] 2 3 ... 84