Show Posts
Pages: 1 ... 389 390 [391] 392 393 ... 511
5851  Using Arduino / Programming Questions / Re: Functions with Priorities on: May 11, 2011, 09:22:02 am
One of my friends did a similar project. He ended up making a shield with MCU on it to read the onboard 6 degree of freedom sensors so his main MCU does the motor control.
5852  Using Arduino / Displays / Re: help lcd on: May 11, 2011, 09:16:11 am
1) you provide picture of your lcd
2) you provide code you use
3) you receive help
5853  Development / Suggestions for the Arduino Project / Re: Basic suggestions for IDE usability improvements on: May 11, 2011, 12:32:28 am
I'd love to see the IDE conform with Linux standards wrt use of the middle mouse button (cut and paste).  Drives me crazy.

Count me out on that. I use a PC. I don't think Mac users would benefit from this either. Maybe an option but not enforced.
5854  Using Arduino / Programming Questions / Re: Lots of scope errors. on: May 11, 2011, 12:29:36 am
Ctrl+F gets you find and replace.
5855  Using Arduino / Programming Questions / Re: Functions with Priorities on: May 11, 2011, 12:25:38 am
NO. You are talking about modern day general purpose microprocessors. Microcontrollers are totally different things than microprocessors. MCUs have only one task to do most of the time. Your requirement needs a 80386 or better. Maybe a more powerful MCU like those in tablets can do task switching or privileges or both.
5856  Community / Exhibition / Gallery / Re: Magnetic Levitation on: May 10, 2011, 10:44:02 pm
Nice but how is arduino incorporated it this?
5857  Community / Exhibition / Gallery / Re: Midi Driven Sculpture on: May 10, 2011, 10:41:30 pm
Hi all,

Just wanted to share my current project with you which is as described in the title. Processing is done in VVVV with motion controlled with the arduino board. All feedback welcome!

Also, how do i embed youtube vids on here?


You don't need to press any buttons, not even links or urls, just copy and paste the link into the content will do.

Like I said, this thing is strange. Maybe lighting it from below will make a better presentation.
5858  Using Arduino / Programming Questions / Re: Class to simplify "blink without delay" on: May 10, 2011, 10:38:37 pm
The name "blink without delay" itself is confusing. How can you blink with delaying? You will be always on!!

I would start with finding a new name. Using class is fine but newbies likely don't know what classes are about.

I would make an example of "How delay() works".
5859  Using Arduino / Programming Questions / Re: Understanding Serial and Analog/Digital on: May 10, 2011, 10:36:14 pm
You got it backwards. The definitions are not changed.
5860  Using Arduino / Programming Questions / Re: Understanding Serial and Analog/Digital on: May 10, 2011, 10:23:37 pm
You could add delay(1000); in your code to delay 1 second before taking the next measurement and print to serial.

Let's think we have a faucet, water flows out of the faucet. An analog person comes in, turns the faucet smoothly so the flow rate increase all the way from 0 to 1023 assuming every single value in between because the analog person has that smooth hand. The status of faucet has so many values, from 0, to 1023. Now a digital person comes in, he turns the faucet all the way on, or all the way off. There are only two statuses of the faucet, all the way on, or 1, and all the way off, or 0.

A button apparently belongs to a digital input since it either conducts current (just like water in the example) or it conducts no current so it should be connected to a digital pin. If you have a potentiometer that you can use to change current smoothly (thus voltage), then you need an analog input. Using a button on an analog input is like you can sense so many different stages but your button only provides two. Connecting a potentiometer to a digital input is like you can provide so many different stages but your can only sense on or off. Both cases are to be avoided unless you have some special need.
5861  Community / Bar Sport / Re: Most Stupid Creation Thread on: May 10, 2011, 09:02:36 pm
Haha, as a kid I was fed lots of communism crap (never believed a thing they said) but the communists back then were pretty straight with science. It was atheism and evolution all the way. So I was quite alright with math and science although I had different names for Poynting vector since the commies suspected that Mr. Poynting was a capitalist and erased his name from his own vector, like the hats trick in Soviet Union. After living so many years in capitalist country, I start to realize old Carl Max might have gotten a few things right. I can't say too much about his "followers" though. People in my part of the world have low standards in math smiley Even eyeballing numbers and doing approximations will make you a tough prof.
5862  Using Arduino / Displays / Re: Speeding Up LCD Readout Without Slowing Down Everything Else? on: May 10, 2011, 08:52:45 pm
I have not tried this but maybe a decent serial LCD can speed things up. You can read about serial LCDs here:
5863  Using Arduino / Displays / Re: How to display many lines on lcd 16x2? on: May 10, 2011, 08:36:24 pm
I would suggest you use my phi_prompt library to display a menu. It automatically updates displays menu items as you press up and down to browse the menu and returns the item selected if you press OK. There's a lot more to it that you may want to use, like input a number, as you're making a math game.
There is also going to be features that will auto scroll contents that are too long.

here is a play list of most of its features:
5864  Using Arduino / Displays / Re: help lcd on: May 10, 2011, 08:27:03 pm
Need hi-res pictures followed by code.
5865  Using Arduino / Programming Questions / Re: How do you make a default library? on: May 10, 2011, 07:56:27 pm
Plus you will confuse anyone trying to use your library too. It's best to reside your libraries in sketchbooks\libraries and have the IDE add library like other contributed libraries do.
Pages: 1 ... 389 390 [391] 392 393 ... 511