Forum Replies Created
-
AuthorPosts
-
SuMo_DParticipant
No worries man! Thanks for all your help!
One more question, I’d really love to do more with programming in variable shades, I know you briefly touched on that in the other thread you split my questions into, do you have any suggestions for places/resources to study up on doing that?This will def get me through the event this weekend but we’re going to be using this in our kids programming classes too I think and want to try to get more versed in how the actual code works. We have one or two arduino masters at our maker space, but they’re not always around…
S
SuMo_DParticipantDUDE!!!!!!!!!!!! Check this out!!!
:D
http://www.flickr.com/photos/90777409@N02/9303441909/its my 3 year stem cell transplantaversary as of 55 minutes ago… this is a tremendously awesome way to start it :D
Thanks again Evil Genius you! Fresh v1.1 for fresh code! Word!
SuMo_DParticipant0,0,0,0,0,0,0,0,250,1104,1106,1106,1118,1490,82,1106,17618,16383,532992,0,64,0,4096,0,1280,0,1536,0,0,0,0,0,250,1104,1106,1106,1118,1490,82,1106,17618,16383,532992,0,64,0,4096,0,1280,0,1536,0,0,0,0,0,250,1104,1106,1106,1118,1490,82,1106,17618,16383,532992,0,64,0,4096,0,128};void setup() // run once, when the sketch starts{frame1.HardwareInit(); // Call this once to init the hardware.// (Only needed once, even if you’ve got lots of frames.)unsigned short y = 0;while (y < 25) {frame1.WriteRow( y, pgm_read_dword(&data1[y]));y++;}} // End void setup()void loop() // run over and over again{frame1.RefreshAll(10); //Draw frame buffer 10 times}SuMo_DParticipantSorry… have to split the post it says its too long…. Pt 1:
/* Simple example code for Peggy 2.0, using the Peggy2 library, version 0.2.Designed to be automatically generated!Copyright (c) 2008 Windell H Oskay. All right reserved.This example is free software; you can redistribute it and/ormodify it under the terms of the GNU Lesser General PublicLicense as published by the Free Software Foundation; eitherversion 2.1 of the License, or (at your option) any later version.This software is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNULesser General Public License for more details.You should have received a copy of the GNU Lesser General PublicLicense along with this software; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA*/#include <Peggy2.h>#include <math.h>#include <stdlib.h>#include <avr/pgmspace.h>Peggy2 frame1; // Make a frame buffer object, called frame1const PROGMEM prog_uint32_t data1[] = {0,0,0,0,0,0,0,0,250,1104,1106,1106,1118,1490,82,1106,17618,16383,532992,0,64,0,4096,0,128SuMo_DParticipantOk…. Closer but still no… :/ now a whole different error… but it seems like its almost there…
so it is setup lke… http://www.flickr.com/photos/90777409@N02/9302093837/
I get it to run the program and save it, it looks like http://www.flickr.com/photos/90777409@N02/9304957540/
Which seems a lot more like what it should be… and is awesomebut when I open PeggyProgram.pde with arduino and try to run it I get– http://www.flickr.com/photos/90777409@N02/9302178233/in/photostream/
SuMo_DParticipantYes, the Peggy2 File>Examples menu works fine and programs in (loads to the board) just fine. I spent some time this morning going through and loading all of them and doing simple mods to get a feel for the code and it uses.
The Peggydraw however and the Peggydraw_heartart both still are showing the same errors :( – I want to try to get my own content on here with it… which… will happen eventually!
Also yeah, appreciate the compliment I used to teach graphics programs (Adobe Suite) at a major art school so tried to got my ninja screenshot skills down ;) – I had a bout with cancer and my head isn’t always all there but I’m going to start teaching again in the fall so glad its coming back :)SuMo_DParticipantHhmmm… I thought I did that… you just download the Peggy2 folder and put it in the libraries subfolder of arudino correct? and yeah… the peggy hardware works fine… its a programming issue (I’m a lot better with tactile things, just learning to program recently)
Here’s a http://www.flickr.com/photos/90777409@N02/9304471116/
Maybe I have the Peggydraw_heartart in a wrong relationship to it? – thanks for your help and your answer on the animation possibilities.
SuMo_DParticipantOk… I just tried to upload the sketch I made in Processing to the arduino to the board –
I have to note that we had to modify the board to use an UNO chip because the ATmega that came with it seemed to have gotten corrupted :/ – The Uno was programing the examples from the Peggy 2 library with no problem.
Here is what I get when I try to verfiy/upload the sketch I just finished in processing. Again any help would be awesome. Thanks!
SuMo_DParticipantHiyo – I’m a noob too, but I got my Peggy Draw to work (woo hoo!) after having some connection and programming issues (Yea for maker spaces and community for figuring stuff out) –
I just had a question about the PeggyDraw2 program does it only allow full on and full off? I know the lights have 16 degrees of variable tone, is there a way that I can plot those in PeggyDraw2 or do I need to figure out how to adjust the code manually (like I said, I’m a noob… but I’m understanding it more and more and could maybe figure that out in some time) –
The Peggy planner is great, and helps me visualize what I want to do but I’m not sure what to do with the data dump and how that fits into everything (if I use that instead of Peggy draw to do what I’m trying to accomplish visually)
Any help would be much appreciated! Thanks for your awesome site and products – This board is going to make its debut at our Arts council gala this weekend and going to be reused in a lot of our upcoming kids classes :)
S
-
AuthorPosts