Show Posts
Pages: 1 ... 40 41 [42] 43 44 ... 290
616  Using Arduino / General Electronics / Re: Basic electronics on: June 26, 2014, 03:34:14 am
Hi....

I think this is a good site.

Jim
617  General Category / General Discussion / Re: Input => Process => Output on: June 26, 2014, 03:06:58 am
Quote
Or perhaps in more detail, Input => Process input => Decide => Process output => Output model

Code:
Input1 => Process input =>\\    //=> Process output => Output1
                           Decide
Input2 => Process input =>//    \\=> Process output => Output2

Yeah, I like that......
618  Community / Exhibition / Gallery / Re: My simplest "Arduino" circuit on: June 26, 2014, 01:24:18 am
A bit off topic, but related...

If I program a chip like the atTiny using the Uno as ISP (in IDE: File > Examples > ArduinoISP), may I leave the Arduino and the target chip connected once the sketch runs in the atTiny? In real use of course the tiny will be disconnected, but I'm thinking of during code development where it's common to upload many version of code.

I'm assuming the target fires up its sketch when programmed through the Uno as ISP. But with the tiny's i/o pins being the same ones as the are connected for ISP, I'm not sure if it's wise? But my understanding of ISP is that the whole point is to be able to leave the chip in the programming circuit.

Advice please?
619  Using Arduino / Programming Questions / Re: How to program Arduino without C? on: June 25, 2014, 11:37:30 pm
I thought that the discussion here was "program Arduino without C".

Yep that was my intent, but it's a fascinating discussion nevertheless...
620  Using Arduino / Networking, Protocols, and Devices / Re: Sending unique information to 4 OLED displays with I2C? on: June 25, 2014, 11:20:32 am
Quote
I get the concept of counting to 4 in binary with two "pins"

Clearly you don't  smiley since you can only count to 3 with 2 pins. 4 values, yes, counting 00, but only up to 3..... (00, 01, 10, 11)
621  Community / Bar Sport / Re: Your latest purchase on: June 25, 2014, 09:41:54 am
And a kick-ass bag of random caps for R20... 1.90USD, 1.40EUR, 1.10GBP

Edit: Heaven knows how old and leaky these must be, not one so far has measured at the marked value. Some use the old "MFD" measure for the current "µF" style, so I wonder how old they are?
622  Using Arduino / Programming Questions / Re: How to program Arduino without C? on: June 25, 2014, 08:38:03 am
But even writing the code in assembler you must "compile it" (attention to the quote mark). You need to create the hex file to transfer to the atmega. Don't you?


Yes and it's the creation of the file to upload I'm asking about, and a description of the process.

Decades ago I had an MPF-1 for programming the Z80 in assembler: wondering how to do that kind of thing for an Arduino.
623  Community / Website and Forum / Re: Cannot download software from the website on: June 25, 2014, 08:25:36 am
I've had a few 502s recently: there's a thread about that.

Your 503 may be  just a transient problem and it may be ok if you try again?
624  Using Arduino / Programming Questions / Re: How to program Arduino without the IDE? on: June 25, 2014, 08:04:47 am
Perhaps you should change your post title.

Yep, good point.
625  Using Arduino / Programming Questions / Re: How to program Arduino without the IDE? on: June 25, 2014, 07:56:18 am
Sorry didn't make myself clear Paul. I meant to program without even using C++ as the platform but in assembler.

Purely as an academic exercise I might add.
626  Using Arduino / Programming Questions / How to program Arduino without C? on: June 25, 2014, 07:40:22 am
Just pondering how this might be done. I'd be keen to learn to do simple stuff just in assembler, for the heck of it.

How does one do that?

(What prompted this was a visit to my local supplier today. I asked how business is and he said a few unis and colleges are buying through him and Arduino is used as a learning platform. But he said at least one doesn't want the students to use the IDE, for whatever reason. (One reason I can think of is to prevent lifting of code from the playground, the forum etc..... ))

Where would I start to investigate programming Arduino at a low-level?
627  Community / Bar Sport / Re: Your latest purchase on: June 25, 2014, 07:25:19 am
Digital calipers.... which interestingly shows on the invoice as a vernier. Seems folk think the measuring instrument itself is called the vernier, whereas those of us in the know know that the vernier is the two-sided misaligning sliding scale thingy that gives us the decimals.

Also a pack of atTinies: no real use for them but just want to make a device which isn't actually wired to my Uno, just for the heck of it.

(I wonder if the adafruit oled library will fit in there....)
628  Using Arduino / Programming Questions / Re: Latching an LED for a set time… Why can't I figure this one out!? on: June 25, 2014, 03:50:06 am
Have a look at the Blink Without Delay example in the Learning > Examples tab, also available in the IDE at File > Examples > 2. digital
629  Using Arduino / Programming Questions / Re: Delay Function on: June 25, 2014, 01:08:53 am
You might want to think of implementing Blink Without Delay else your processor will be tied up for 25 minutes unable to do anything else.
630  Using Arduino / Displays / Re: LCD keypad shield (dfrobot) doesn't work on: June 24, 2014, 10:56:55 am
My DFR LCD like yours also fires up  with the black blocks. But I uploaded your code and it displays "hello, world!" on the top line with the seconds underneath.

So it's not your code.....
Pages: 1 ... 40 41 [42] 43 44 ... 290