Show Posts
Pages: [1] 2
1  Using Arduino / Microcontrollers / Re: ISR execution on: June 06, 2013, 01:30:52 am
Holy cow I feel like a moron the datasheet did not even occur to me  smiley-eek-blue  Thank you very much that is incredibly helpful.
2  Using Arduino / Microcontrollers / ISR execution on: June 06, 2013, 12:33:02 am
Does anyone know the time it takes just to enter and exit an GPIO ISR? Finding the time it takes to execute the code within is almost trivial, however, i am having trouble finding information on how long it takes the arduino to save context and restore context before and after the ISR is executed? Is there some resource for this information somewhere that I am missing?
3  Using Arduino / Microcontrollers / Re: Standalone atmega328 on breadboard. on: March 20, 2012, 10:22:32 pm
Knowing what i know now after a few days of reading on batteries and supplying power in general I also disagree with my original post. My original concern was mostly for stability as a wonky power source could cause a lot of issues but as you say batteries are fairly stable and I don't think it would be an issue
4  Using Arduino / Programming Questions / Re: switch case on: March 17, 2012, 11:55:07 pm
have i been typing out case every time for no reason at all... all... the... time...
5  Using Arduino / Programming Questions / Re: Dynamic array on: March 15, 2012, 11:11:28 pm
Well I thought about that.. The problem is that I roll what's on the matrix back off into the message and if I made the messagearray too large then there would be an awkward time while all that space would be displayed
6  Using Arduino / Programming Questions / Dynamic array on: March 15, 2012, 10:32:50 pm
Hello all I've been working on code for my led matrix and I'd like to store the display message for rolling marquee mode in an array that can be updated via serial.. I'm not quite to that point yet but I was thinking about arrays and how they have to be declared with a size... Well the array itself will two dimensional and the first size will never change however it very very likely that the length will change with every update.. I know in c++. I would accomplish this by declaring the array with a pointer to the size that could later be changed. My question is as there a built in feature for dynamic arrays in Arduino as is becoming popular in most modern languages or shall I resort to pointers and if ivdo resort to pointers will they function like in c.
7  Using Arduino / Microcontrollers / Re: Standalone atmega328 on breadboard. on: March 15, 2012, 01:01:05 am
You sir, have been incredibly helpful. Every reply you have made is not only accurate but extremely informative and well explained with direction to further learning. Above and beyond sir. Thank you.

8  Using Arduino / Microcontrollers / Re: Standalone atmega328 on breadboard. on: March 14, 2012, 09:42:47 pm
Hey guys,
I don't want to muddy up the issue but shouldn't he shoot high on voltage supply and regulate down? I know that Vregs are very inefficient and maybe i'm just paranoid but i would be leery of plugging my u-controller into an untamed voltage source. Also my paranoia may just stem from me not knowing how stable batteries are or the possible things that could go wrong. Maybe I should be asking that question instead of projecting my paranoia on someone else's project.

my 2cents
9  Using Arduino / Microcontrollers / Re: Programming a 328 on: March 13, 2012, 11:34:07 pm
Thanks for the suggestion but i don't know what your talking about. I certainly don't have nything by nokia laying around either.
10  Using Arduino / Microcontrollers / Re: Programming a 328 on: March 12, 2012, 11:30:23 pm
I was aware of the difference it was just an oversight on my part thanks for looking out for me i appreciate it. I think i'm going to buy some parts next pay check and experiment with this a little bit in the coming weeks. Thanks a lot for all the extra information. Terse or not i can appreciate a direct answer as it is head and shoulders above no answer at all.
11  Using Arduino / Microcontrollers / Re: Programming a 328 on: March 12, 2012, 06:40:03 pm
Thank you very much sir! I really appreciate the help.
12  Using Arduino / Microcontrollers / Programming a 328 on: March 12, 2012, 06:34:47 pm
So I don't want to buy a whole arduino everytime i start a new project because I'm a broke college student (sorry i love supporting you guys but i can't.) I have read about and feel that i could comfortably program an attiny via arduino fairly successfully. Honestly i am chomping at the bit to try it. What i want to know is if i take the atmega328 dip out of the arduino set it up with a regulated voltage and oscillator and most of the other stuff to make it happy. Will it still behave like an arduino? If this would work it seems to me like the best alternative to investing in a PIC or AVR programmer and learning a whole new environment.

So short story i want to put an atmega 328 in the uno, program it, take it out, and build a circuit around it. Would that work or do i need to start looking into a PIC/avr programmer?
13  Using Arduino / Programming Questions / Re: 2 simple questions on: March 08, 2012, 01:25:40 am
it has just occurred to me that i didn't even use digitalRead() I'm very sorry i'm not a programmer by profession and i sometimes struggle with it.
14  Using Arduino / Programming Questions / 2 simple questions on: March 08, 2012, 01:15:11 am
1) Is digital input HIGH the same as boolean true? for example i want a simple function similar to this:
boolean isPressed(){
return buttonPin;

2) Is there a link to arduino API? or is everything based on which I find sometimes difficult to find what i'm looking for? I'm sure i sound stupid as everything is well marked and titled but sometimes i'm looking for something specific and it is difficult to find.
15  Using Arduino / LEDs and Multiplexing / Re: First LED matrix on: March 04, 2012, 05:03:32 pm
alright the matrix is together and i have tested all the individual LEDs... no shorts or open circuits now i'm having trouble with the electronics part of it. I'm linking up my test sketch with this post. It's going to be running on an UNO. I'm working on a more clear computer generated schematic so that i can have a more clean approach this time I'll link that up when i'm done.
Pages: [1] 2