Show Posts
Pages: 1 ... 507 508 [509] 510 511 ... 911
7621  Using Arduino / Microcontrollers / Re: Attiny13A + MM5481N LED driver? on: January 20, 2012, 03:20:27 am

You need to spend more time with the datasheet...
http://datasheet.elcodis.com/pdf/10/22/102280/mm5481n.pdf

After about a minute I found these on page 3...

Quote
Using a format of a leading "1'' followed by the 35 data bits allows data transfer without an additional load signal. The 35 data bits are latched after the 36th bit is complete,

Quote
To blank the display at any time, (i.e., power on), clock in 36 or more zeroes, followed by a `one' (start bit), followed by 36 or more zeroes.

Quote
Figure 5 shows the Output Data Format for the MM5481.  Because it uses only 14 of the possible 34 outputs, 20 of the bits are `Don't Cares'. Note that only alternate groups of 4 outputs are used.
7622  Using Arduino / Microcontrollers / Re: Help create a how-to guide: Upload program written for Arduino to ATmega328P on: January 20, 2012, 12:16:03 am

Did you change the size of the serial receive buffer?  Or the baud rate?
7623  Using Arduino / Microcontrollers / Re: Attiny13A + MM5481N LED driver? on: January 20, 2012, 12:11:03 am

Andrew Stone's code is clocking out an extra two bits when the LED driver is "cleared"...

Quote
#define M5451_NUMOUTS 35

...

  // Clear out the device so we can clock in items
  digitalWrite(serDataPin,LOW);
  for (i=0;i< M5451_NUMOUTS+2;i++)
    {
    mydelay(M5451_CLK);
    digitalWrite(clockPin,HIGH);
    mydelay(M5451_CLK);
    digitalWrite(clockPin,LOW);   
    }


And, there's this mumbo jumbo when the driver is fed data...

Quote
  // Write the initial "start" signal
  digitalWrite(clockPin,LOW);
  digitalWrite(serDataPin,LOW);
  ...


Looks like there are two start bits (lo then hi; or a start bit and a "space").
7624  Using Arduino / Microcontrollers / Re: Attiny13A + MM5481N LED driver? on: January 19, 2012, 08:35:58 pm
Quote
   PORTB &= SCK; //SCK low

The comment doesn't match the code.  I believe you're missing a bitwise unary operator.   smiley-wink
7625  Using Arduino / Microcontrollers / Re: Help create a how-to guide: Upload program written for Arduino to ATmega328P on: January 19, 2012, 08:33:28 pm

@maniacbug: The latest ArduinoISP sketch works with Arduino 1.0?
7626  Using Arduino / Microcontrollers / MOVED: problem with Inductive proximity sensor to measure rpm on: January 19, 2012, 01:33:42 pm
This topic has been moved to Sensors.

http://arduino.cc/forum/index.php?topic=87771.0
7627  Using Arduino / Programming Questions / Re: Custom cores question/problem on: January 19, 2012, 02:11:06 am

Two choices...

1. Change mosquino.c to mosquino.cpp (this is the choice I would take)

2. Wrap the definitions in mosquino.h with extern "C" { }

In other words, you have a C++ name mangling / linkage problem.
7628  Community / Website and Forum / Re: what's this SOPA garbage on: January 18, 2012, 10:58:27 pm
Why must I choose, are they somehow related?

That thing is obnoxious.  While we wait for it to go away...
http://arduino.cc/forum/index.php?action=unreadreplies
http://arduino.cc/forum/index.php?action=unread
7629  Community / Website and Forum / Re: what's this SOPA garbage on: January 18, 2012, 10:42:37 pm
Normally Safari 5.0.5, but I tried these

How very odd.  The black band just arrived.
7630  Community / Website and Forum / Re: what's this SOPA garbage on: January 18, 2012, 08:58:45 pm
Still can't see the relevance outside the US so why are we involved?

One simple example ... Internet Systems Consortium, Inc. operates several root DNS servers around the world including in the U.S.  Which means they (like many root server operators) fall under the jurisdiction of U.S. law.  SOPA / PIPA would give the executive branch of the U.S. government the ability to shutdown any "foreign" website at the root DNS level.  In other words, the U.S. Attorney General could potentially cut off a U.K. website by compelling Internet Systems Consortium to remove or poison DNS records.

The law has no provisions for remediation.  Once a site is removed, even if the removal was a mistake, the only recourse is to hope the Attorney General sees reason or to sue the U.S. government.
7631  Community / Website and Forum / Re: what's this SOPA garbage on: January 18, 2012, 08:35:12 pm

What browser are you using?  For me, everything looks and works as expected under Firefox.
7632  Development / Other Software Development / MOVED: random from a char array on: January 18, 2012, 03:35:17 pm
This topic has been moved to Programming Questions.

http://arduino.cc/forum/index.php?topic=87654.0
7633  Community / Website and Forum / Re: what's this SOPA garbage on: January 18, 2012, 02:34:05 pm
Quote
hard to see what anyone outside the US can do about it though?

How to Buy a U.S. Politician...


All perfectly legal.  Even for a U.K. citizen.
7634  Using Arduino / Microcontrollers / MOVED: Serial port 'COM3' already in use on: January 18, 2012, 01:36:06 pm
This topic has been moved to Installation & Troubleshooting.

http://arduino.cc/forum/index.php?topic=87668.0
7635  Using Arduino / Microcontrollers / Re: Attiny85 tone issue on: January 18, 2012, 02:57:34 am
Just wanted to thank you for your Tiny core that supports Tone.

You are welcome.

Does the HLT core not support Tone?


Quote
It took me a while to figure out that I needed to download the code under the Featured heading in the left pane, I was looking at the stuff in the larger area.

Link added to the larger area.  Thanks for the feedback.
Pages: 1 ... 507 508 [509] 510 511 ... 911