Show Posts
Pages: 1 2 3 [4] 5 6 ... 462
46  Using Arduino / Microcontrollers / Re: sketch bigger on MICRO? on: August 20, 2014, 09:43:29 pm
Feel like sharing your smaller driver?
It's depressing that so many of the libraries for dealing with "intelligent" chipsets (CC3000, Wiznet) end up being close to the size of full TCP stacks.
47  General Category / General Discussion / Re: selling a design on: August 20, 2014, 02:01:56 am
Do you have something like http://etsy.com or http://tindie.com that will operate from within Ukraine?  Those seem especially well matched with this sort of "recover expenses" effort (sell a relatively small number of things.)  I haven't used them as a seller, myself, so I don't know whether they'd work from a specific country, or without paypal. :-(

Having worked for a startup, I'll add the depressing reality that if you want to make money, then all those jobs that engineers like to sneer at (manufacturing, sales, marketing, packaging, shipping, documentation, advertising, accounting...) are pretty much every bit as important as the actual engineering.  And they're not "easier" than engineering (especially if you're an engineer.)  "recovering some of your costs" should be a little easier, but it's pretty easy to spend a lot more money than you expected on things other than the product itself.  You might find the EEVBLOG uRuler tale "amusing": http://www.eevblog.com/2013/12/31/traps-for-even-simple-successful-crowd-funded-projects/
48  Using Arduino / Microcontrollers / Re: sketch bigger on MICRO? on: August 19, 2014, 11:41:11 pm
How much bigger does the sketch get?  As Paul said, the usual problem is that there is less room, not that the sketch gets too much larger.  (that said, a leonardo sketch has a USB driver in each sketch that uses "serial", IN ADDITION to the one in the bootloader.  About 3K extra in each one.)
49  Development / Other Hardware Development / Re: IS ARDUINO IDE SUPPORT SPANSION FM4 ARM PROCESSOR on: August 19, 2014, 02:46:08 am
The Arduino IDE does not support SPANSION FM4 ARM (nor any other Spansion chips.)

50  Development / Suggestions for the Arduino Project / Re: R: Road to solve the delay on the Arduino IDE on: August 19, 2014, 02:40:33 am
I thought that the original issue was window only, and is old.
A "delay" problem with Yun on Mac is probably a new and different problem; try starting a new thread.
51  Using Arduino / Microcontrollers / Re: Im seeking a bootloader for ATmega8 16 Mhz on: August 19, 2014, 02:33:00 am
Optiboot also includes support for ATmega8 at 16MHz.  The optiboot_atmega8.hex distributed with the Arduino IDE should do it, but you'll have to edit a boards.txt manually.  the latest optiboot no longer includes an ATmega8 .hex file, but you can build it yourself.
52  Using Arduino / Programming Questions / Re: FSM diagrams: states and transistions on: August 19, 2014, 12:01:17 am
In a "pure" state machine, the "fade" part would consist of multiple states, with boring transitions.
(LED10% -> LED20% -> LED30% -> LED40% ... unconditional, timed.  The process where a single state sits there and changes outputs is NOT "pure")  (of course, this level of purity can be annoying to implement...)
53  Using Arduino / Programming Questions / Re: programming confusion on: August 18, 2014, 11:55:26 pm
"int a,b;" is not an instance of the comma operator...

http://en.wikipedia.org/wiki/Comma_operator :
"The use of the comma token as an operator is distinct from its use in function calls and definitions, variable declarations, enum declarations, and similar constructs, where it acts as a separator."
Also http://www.geeksforgeeks.org/comna-in-c-and-c/
http://cboard.cprogramming.com/c-programming/161044-comma-operator-clarification.html

global variables are initialized to zero.  Local variables are not initialized unless you provide the initialization.
54  Using Arduino / Programming Questions / Re: programming confusion on: August 18, 2014, 07:17:03 pm
"int left, right=0;" defines two integer variables (left and right), but only initializes "right" to zero.
It has nothing to do with the comma operator.  (isn't C syntax wonderful?)
To initalize them both you could do
Code:
int left=0, right=0;
or
Code:
int left, right;
left=right=0;

the following is also a legal set of C statements (an example of the comma operator), but is probably not a useful for anything.
(The comma operator should be avoided, almost always.)
Code:
int left, right;
left = right, 0;
55  Using Arduino / General Electronics / Re: Best PCB degign for beginner. on: August 18, 2014, 07:05:58 pm
Quote
the BEST PCB degign for beginner is the one that you can use !
I disagree.  The Best PCB design SW for a beginner is the one that they can LEARN to use in a reasonable time.  The whole "I need to be able to use it without reading manuals or tutorials" attitude is one of the most insidious errors a beginner can make.
56  Using Arduino / Microcontrollers / Re: ATmega328. Minimum size reserved for boot loader on: August 18, 2014, 10:21:23 am
There are also the protection bits.  There is a separate set for the code running "in the bootloader section" vs "in the application section."  Since one of the settings (used by Arduino, even) is that the application section cannot use LPM on the bootloader section, it is possible (but not very likely?) to have a program that would not work, depending on the BOOTSZ bits, even if it doesn't use BOOTRST.
57  Using Arduino / General Electronics / Re: How to distinguish between ‘reset’ and ‘real power loss’ ? on: August 18, 2014, 09:28:15 am
That sounds like "as designed."  Your sketch won't see EXTRF, because that's the one reason that invokes the bootloader code.
You should see PORF on power-on, though, and you know that WDRF means EXTRF, unless you've also turned on the WDT...

58  Using Arduino / Programming Questions / Re: loop exit. help on: August 18, 2014, 12:21:24 am
Quote
// what will i place here to exit the dothis function with a button press?
Code:
if (buttonPressed())
   break;
59  Using Arduino / Microcontrollers / Re: ATmega328. Minimum size reserved for boot loader on: August 18, 2014, 12:18:59 am
"upload using programmer" doesn't reset the fuses, afaik (there is no boards.txt entry for what the fuses should be in this case!), so it's actually sort-of broken.  If you do "upload using programmer" on a chip that has previously had its fuses programmed for use with a bootloader, it will leave the "BOOT_RST" fuse set, and the sketch will start in the wrong place.  Usually there won't be anything there, and the execution will just wrap around to the actual start vector at 0x0.
60  Using Arduino / Programming Questions / Re: progmem confusion on: August 17, 2014, 04:44:09 pm
Code:
sprintf_P(s, PSTR("%d%S%n"), a, disp);
Note capital S in the format string...
Pages: 1 2 3 [4] 5 6 ... 462