Show Posts
Pages: 1 ... 128 129 [130] 131 132 ... 357
1936  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: July 16, 2013, 01:48:01 am
Pack your concealed heat and go following someone like you're stalking them. If they come back at you then you're justified to stand your ground. IOW you can provoke a fight and then use the fight to get away with murder. THAT'S the law.

1937  Using Arduino / Programming Questions / Re: Is it possible??? on: July 16, 2013, 01:41:58 am
Make of it what you will, it's C adapted for AVR's inside.
The microcontroller on the board is programmed using the Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software running on a computer (e.g. Flash, Processing, MaxMSP).

Here is AVR-LibC, where our standard libraries come from:

In general, it has been the goal to stick as best as possible to established standards while implementing this library. Commonly, this refers to the C library as described by the ANSI X3.159-1989 and ISO/IEC 9899:1990 ("ANSI-C") standard, as well as parts of their successor ISO/IEC 9899:1999 ("C99"). Some additions have been inspired by other standards like IEEE Std 1003.1-1988 ("POSIX.1"), while other extensions are purely AVR-specific (like the entire program-space string interface).

Unless otherwise noted, functions of this library are not guaranteed to be reentrant. In particular, any functions that store local state are known to be non-reentrant, as well as functions that manipulate IO registers like the EEPROM access routines. If these functions are used within both standard and interrupt contexts undefined behaviour will result. See the FAQ for a more detailed discussion.
1938  Community / Bar Sport / Jeri Ellesworth - Fail and fail often on: July 15, 2013, 09:20:23 pm
This incredible woman is a self-taught successful engineer. She has videos on making her own chips and many other electronics subjects. She's a welder too.

This is her advice on learning electronics:

Good stuff.

1939  Community / Bar Sport / Re: 3D gun printing good or bad on: July 15, 2013, 06:59:43 pm
My favorite:
''Death panels are the bureaucracies that President Obama is establishing where bureaucrats will make the decision on who gets health care and how much.''
—Rep. Michele Bachmann, Newsmax interview, Sept. 10, 2009

That came from a bureaucrat that voted against health care reform, from a party that cheered when asked if someone who needs care but doesn't have insurance should be left to die.

And they still can't figure out why Romney lost.....
1940  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: July 15, 2013, 06:49:04 pm
Since you seem to know a bit about this, I had heard that Zimmerman had grass stains and dirt on his back, while Martin had them on his knees, giving credibility to the idea that Zimmerman was on his back with Martin kneeling over him. Was this brought up in the trial, or is it just more fabricated "facts"?

It's pretty clear that GZ lost the fist fight but not clear that he was in mortal danger. His wounds were superficial except for the nose. Given the time they were supposed to be at it, TM was pretty ineffective. A good fighter would have had GZ knocked out, a mediocre fighter would have bruised him up bad.
I'm not totally convinced that TM pounded GZ but GZ "felt in danger". If that's enough to justify a shooting then I've led a charmed life.

2 idiots playing macho hide-and-seek. And CYA lies from all around.

I wonder if George Zimmerman will outlive Jerry Sandusky, who last I heard is in solitary?
Trial by combat....
1941  Using Arduino / Programming Questions / Re: Storing a previous value/creating an array on: July 15, 2013, 05:50:04 pm
Time to hit the tutorials. Arrays are fundamental.

Examples > Control Structures


This variation on the For Loop example shows how to use an array. An array is a variable with multiple parts. If you think of a variable as a cup that holds values, you might think of an array as an ice cube tray. It's like a series of linked cups, all of which can hold the same maximum value.

The For Loop example shows you how to light up a series of LEDs attached to pins 2 through 7 of the Arduino, with certain limitations (the pins have to be numbered contiguously, and the LEDs have to be turned on in sequence).

If you have to ask what a For Loop is then look on the first link, the Tutorials main page, for the For Loop example and learn from that. If some part of that is outside of your knowing then find the example on that.

I don't want to be a pain but there's books and sites that explain all these things clearly without someone having to write the same things perhaps not as completely or clearly here.
Either way, you have reading and practice to do, there is no USB-to-mind download.

If it's any consolation, everyone who knows the stuff had to go through a learning process that kind of never ends. If you think it's hard now, it was harder before the internet brought everything right to you. Back then I found that a nice Sam's or Que book let me learn faster than any classes.
1942  Using Arduino / Programming Questions / Re: Running independent from the computer on: July 15, 2013, 05:27:22 pm
Try connecting more 9V batteries in parallel, NOT series. You'll get more current.
1943  Community / Bar Sport / Re: Fake Arduino. on: July 15, 2013, 05:24:03 pm
How about finding out what Arduino wants for you to be a supporter? It may work out.
1944  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: July 15, 2013, 05:17:51 pm
There only has to be enough doubt to get "not guilty".

The trial can be a complete joke from both sides. Remember OJ and the custom fit gloves not fitting over hands with rubber gloves on as if the rubber gloves have zero thickness only matched by police shenanigans? Or the whole Terry Schiavo circus with Dr. Frist giving a exam by video? And let's not go into the Rodney King trial.....

Yet "we have the best system in the world", uh huh.

I look at Zimmerman, I see a liar. That doesn't mean he's guilty though. Martin should have ran his butt off around as many corners as he could get.

1945  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: July 15, 2013, 02:42:29 am
I'm glad you could do that in the UK.
Perhaps your Chavs with whatever Chavs use is not as big a problem as I imagine nor a growing one.

Here is more like Northern Ireland only many times the size of the EU with 6 factions instead of 2, at least 2 of those willing (they've done it) to supply guns and ammo to the reasons we need hard liners.
1946  Using Arduino / Programming Questions / Re: Losing data when reading from the Serial port on: July 15, 2013, 02:29:24 am
boolean serialRead()
  char c;
    c =;
      case '\r':
      case '\n':
        // Discard special characters
      case COMMAND_SUFFIX:
      // End-of-command received
        serialBufferOffset = 0;
        return true;
        if(serialBufferOffset < SERIAL_BUFFER_SIZE)
          serialBuffer[serialBufferOffset++] = c;
        serialBuffer[serialBufferOffset] = '\0';
  return false;

This still has the same problem I tried to point out last time. Arduino running at 16 MHz can easily outrun incoming serial bytes. Just because none are available doesn't mean you have reached end of line.

If I might suggest?

Use 2 states in loop() so that:

if ( state == 0 ) then if serial.available you read the character and either add it to the buffer or at line end you change the state to 1. This would be a good place to filter out bad characters as well, but that's as far as I'll go with that.

if ( state == 1 ) then you do your work on the line of data and when that's done, change state to 0.

Later on you might try a better trick. Using states you can keep track of what each incoming byte -means- and interpret your data on the fly. I have a sketch that reads a 1 letter plus digit format as command code + data that way, the 'buffer' is 1 character and an int to accumulate digits into a value.
With the buffer and interpret method you start making sense of the data after gathering it. With the other way, interpretation is done when end of line (or timeout if you want to be real good) is found, it is done when the buffer method is getting started.
1947  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: July 15, 2013, 01:56:16 am
FWIW I find that people who did not have guns as a serious part of growing up take what I think are extreme views based on impressions and ignorance. That is what I think a lengthy course can correct but not in everyone so again IMO part of such is course is to spot the twits and loonies and flunk them out. But then here is anything-for-a-buck-land I might as well go looking for a genie bottle as expect 100% success.

As for the people who seem to think that they can vote guns away like there's some magic fairy wand to disarm everyone; sorry sweetheart but all you will do is disarm some people and leave them open to not just gun treats/attacks but knives, bats, hands and feet. You won't end killing, you'll just change how it's done sometimes. Fairy land is for bedtime stories and dreams, like the kind Karl Marx sold.

1948  Community / Bar Sport / Re: My new arduino TShirt on: July 14, 2013, 03:24:58 pm
How about a shirt showing a DIY capacitive touch sensor and schematic to put a real sensor behind the one on the shirt and an AVR and some leds or a speaker for feedback? Then you can get people to touch places.....

I'm sure there would be other interesting schematics and apps. Arduino isn't just about development boards, it's what you can make and program with them.

1949  Community / Bar Sport / Re: Real development tools on: July 14, 2013, 03:18:42 pm
Code Blocks (free and full) has an Arduino add-on or version but I've not used it mainly because I've not needed it. The IDE is enough for the little things I do.

1950  Community / Bar Sport / Re: Keep weapons off Arduino forum and website on: July 14, 2013, 03:12:45 pm
That's why I am in favor of making people attend the kinds of courses I did before they are allowed to carry or use guns. That guy has or had what I call a toy gun attitude. Most TV and movie gun use is the very same. The example I used to point to was the A-Team show: a million bullets and no one gets hurt. Effing six-year-olds.

Stopping the radio would only take a shot through the car battery and -that- is enough to land the shooter in jail because that is over the top.

Well anyway, there's another wedding ruined by stupidity.

We have a couple of problems behind the violence. The biggest is the conservative hate tv and radio constantly feeding end of the world messages and kill them all solutions.
Pages: 1 ... 128 129 [130] 131 132 ... 357