Show Posts
Pages: [1] 2 3 ... 86
1  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: September 19, 2014, 03:13:48 pm
Wabbit guy has covered the obvious - flip the matrices over.

Generic matrices does not mean that you have to use the 'generic' SPI interface - you can use the hardware SPI and I would encourage that as it is much faster. The hardware setting USE_GENERIC_HW is the right setting to use.

The documentation I referred to is in the doc\html folder (open index.html). The extract that is relevant for you is
Quote
Module Interconnections
-----------------------
Generic modules need to be oriented with the MAX7219 IC at the top and connected using
short patch cables in a spiral pattern. The display is oriented with the IC at the top.
2  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: September 18, 2014, 12:28:01 am
Hardware type is done through changing the MD_MAX72xx library to suit. Your modules are the generic ones. Read the doc that come with the lib.
3  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: September 14, 2014, 04:43:23 am
Hmmm. It all worked compile and tested here before I put it on  the Git server.  Could it be something to do with the upload?

No longer at the computer, so will need to get to it later.

Keyswitch is a library on the repository. I assuming the double s is a typo?
4  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: September 14, 2014, 02:16:47 am
The IDE v1.5.7 PROGMEM issue has been fixed in both MD_MAX72xx and MD_Parola libraries. It should still work for IDE 1.0.5, but I have not tested this.

Code is uploaded to the Source Code section of the Codeplex website (ie, where the files are listed individually). The Downloads section contains the last official release as a zip file and will be updated with these changes at the next full release.
5  Community / Exhibition / Gallery / Re: Scrolling LED matrix display - Parola for Arduino on: September 13, 2014, 08:06:59 pm
It should all work. What is being pointed to as an error is legal syntax as far as I know (It works on Windows for sure).

1. The hardware setting should be correct, but does it compile with no errors if you select something other than the GENERIC_HW? Should make no difference but worth checking.

2. From the Arduino website:

Quote
Note that because PROGMEM is a variable modifier, there is no hard and fast rule about where it should go, so the Arduino compiler accepts all of the definitions below, which are also synonymous. However experiments have indicated that, in various versions of Arduino (having to do with GCC version), PROGMEM may work in one location and not in another. The "string table" example below has been tested to work with Arduino 13. Earlier versions of the IDE may work better if PROGMEM is included after the variable name.

dataType variableName[] PROGMEM = {};   // use this form
dataType PROGMEM variableName[] = {};   // not this one
PROGMEM  dataType  variableName[] = {}; // use this form

Maybe try changing the position of the PROGMEM modifier to see if this removes the error.  Let me know if this works as it probably means that I need to change the definition in the next release.
6  Using Arduino / Programming Questions / Re: can you create a creating patterns of blinks? on: September 13, 2014, 06:15:48 pm
My Multiblink example in the code repository, link below, uses defined data to run led patterns. Your application is much simpler but you may be able to use some of the ideas from there. Patterns can be built in real time or can be static.
7  Using Arduino / Sensors / Re: What is the best color sensor? on: September 07, 2014, 06:33:35 am
I have had good success with the tcs230 and have written a library with example code, including a document on how to calibrate. Link in my signature block - code repository.
8  Using Arduino / Displays / Re: print with MAX7219 ,with 7Segments display on: September 07, 2014, 06:31:15 am
You may want to try my md_max72xx library. It is designed for the 64 led matrix like you have. The documentation for the lib also tells you how to connect it. Link in my signature block.
9  Using Arduino / Programming Questions / Re: [Beginner] 7 digit display - How to? on: September 07, 2014, 06:26:12 am
If you are relying on persistence of vision to show digits then you need to remove all the delays in the program.
10  Using Arduino / Programming Questions / Re: Help from someone more advanced than myself on: September 06, 2014, 07:28:10 pm
You need to break the problem into pieces:
1. Read the value for R1
2. Read the value for R2
3. Calculate the result
4. Write out the result
5. Start at step 1 again

Then write the code to suit that flow.

You have enough hints and your own code to do that now.
11  Using Arduino / Programming Questions / Re: Help from someone more advanced than myself on: September 06, 2014, 06:21:31 pm
Code:
#define R1 INPUT                                         // Resistor 1 (unknown value)
#define R2 INPUT                                         // Resistor 2 (unknown value)

This replaces every instance of the text R1 and R2 with the text (INPUT). I doubt that this is what you are looking to happen. REQ is valid is it replaces the text REQ with the equation for the resistors in parallel.

The other post gives you other ideas for the integer values
12  Using Arduino / Storage / Re: Log (divert) normal serial output to SD file for debugging of in-field problems on: September 06, 2014, 06:10:38 pm
You may find that the stream I/O in in the SDFat library may be more useful for the sort of debug you are trying to implement.

IN any event, you should probably write a debug function that is invoked instead of the standard Serial.print() if you have no already done so. Then the decision of whether the debug output goes to one place or another is executed at one point in the code and becomes much more controllable and maintainable (eg, you may decide to light an error LED for as well, in future).
13  Using Arduino / Storage / Re: how to read sd file line by line on: August 25, 2014, 04:07:13 am
I would do your second option. The sd library will buffer for you as you read through the file.
14  Using Arduino / Sensors / Re: Need Help with colour sensor module coding (TCS3200) on: August 23, 2014, 06:48:30 pm
My code repository has a library for this device. Of interest for you might be the documentation with the library on how to use and calibrate the device.  Link below in the signature block.

What you want to do is in your software, not inherent in the way the sensor works. The sensor will return the rgb value of the color it sees. If all you want are the r and b vales, just use those. Your software will need to decide how you handle colors like purple that present a red and blue reading, for example.
15  Using Arduino / LEDs and Multiplexing / Re: MAX7219 Random Scrolling digits on: August 21, 2014, 03:08:10 pm
My MD_MAX72xx library supports transformations primitives for single pixel movements natively. The library is in the code repository linked below if you are interested.
Pages: [1] 2 3 ... 86