Search for 0 in Topics


Perhaps a quick question, but I'm starting to wonder why my instructable shows up with 0 views. I do know that I've gotten more than that, what with the comments posted on... Is there some kind of algorithm that decides whether or not something is a view? Thanks if you actually answer :P

Topic by Ducky Boy    |  last reply

Habbo coins

Leave the User Password habbo habbo and quantity of coins example: User: ful54 Password: gash15 Quantity: 1500

Topic by felipe320    |  last reply

Infinity divided by 0?

Does infinity divided by zero theoretically equal any number other than 0 or infinity? I heard something about ohm's law applied to a circuit with an ideal voltage source (which is only theoretically possible) and having the terminals shorted out and at 0 ohms, resulting in the current going up to infinity? 

Question by .Unknown.    |  last reply

What is 1 / 0 ? Answered

Here is tricky one try and answer it... 

Question by PREDATOR_UK    |  last reply

Model railroading

Anyone interested?

Topic by GaryS25    |  last reply

Zune 3.0

How is everybody enjoying the new software for the zune, 3.0? Also did anyone buy the 16gb or 120gb zune?

Topic by JellyWoo    |  last reply

ipod 3.0 hacking help

When i go to open my redsnow files after clicking restore it says the firmware isnt compatible. how can i fix this?


Laser etching pics from web 2.0

Check out some of the different etchings people had us do at the Web 2.0 expo.We were definitely the coolest booth there -- here's proof.

Topic by Tetranitrate    |  last reply

adamsdead shotgun 2.0

Here all all the mods i made for the adamsdead shotgun. way better hopper that holds 20 blue rods and does not jam. extended pump good sight and some what of a handle two bendy yellow rod to make the gun look more like a shotgun.

Topic by dsman195276    |  last reply

Which bluetooth (preferable 4.0) module can I use to attach and transfer digital data collected by a circuit ?

I'm looking to transfer the data from a component like simple digital calculator over bluetooth. I'm looking for advise on a bluetooth module esp 4.0 if available to attach to this ciruit and transfer data.

Question by nooraninadir    |  last reply

sketch for arduino obstacle robot using seed motor shield v2.0?

Hi everybody, im barely started writing sletch so i need help, i build a obstacle robot and i used  arduino uno r3 seeed motor shield v2.0 one servo tamiya twin motor gear box hc-sr04 sensor  so i dont really know how to start writind the sketch.....

Question by salvador.lopez1    |  last reply

I need help on configuring marlin on my arduino mega 2560 ramps 1.4 for a da vinci 2.0 printer

Hi Guy's I am new at this game and in plane words "I have no clue what I'm doing wring" I bought a Da Vinci 2.0 Duo and after a few weeks the problems started. After searching the internet on solutions I discovered that I can rip out the original board of the printer and replace it with Arduino mega 2560 ramps 1.4. I did that and got some info on what the sketch should look like on Youtube but I am struggling to get the printer fully functioned. This project is a little more than what I thought it would be. I tested the boards but they seem ok, again, Youtube help here but now I am at a loss. I mannaged to get the stepper motors to work but I am struggling with the famouse endstops and how to home the axis's. If you think I am way less than a beginner you are right. These things make my head spin. Is there any one that can share his marlin sketch configuration, that is working, with me. I am tired of this now and just want the printer to work. Any help will be much appreciated Many thanks

Topic by Lou0077    |  last reply

Instructable has been published for over a day and has 0 views

My pokeball earring instructable has been published for about a day now, but there seems to be 0 views. I know someone must have viewed it, because I shared it with friends, and it was accepted into the Game.Life 2 challenge. A few minutes after I published the instructable, I tried to view said instructable but it said "Instructables is down temporarily" or something to that effect. I waited about five minutes, and came back to see that it was back up again. Everything was working again. This might be an irrelevant detail, howevever. Also the layout is a bit messed up. It might be a problem on my end since I'm using an outdated browser on my school's computer. Check attached image. I'm not sure if this has been addressed already or not, but I wanted to get this out there with the hopes that someone else might have the same problem. Best Regards, ~ Tomcat94

Topic by Tomcat94    |  last reply


20 amps transformer of 14-0-14 volts from 220 volts bobbin size? primary gauge,turns? secondary gauge,turns thanks.

Topic by imamfarid  

Running USB 3.0 extension next to AC line

I have an HTPC hooked up to the entertainment center.  I have a 5ft rubber "wire-hider" that I'm running an extension cord to a coffee table with a hidden power strip so people can plug in their laptops, etc. I bought a 5m/"15 ft" usb 3.0 extension cable and ran it next to the cord in the wire-hider, then connected usb 3.0 powered hub to the cable.  PC struggles to connect devices, and drops them intermittently. My 1st guess was EMI, so I unplug the extension and no problems. My question, can anyone suggest a source for shielded USB 3.0 extension cable OR can I use Shielded Cat6 to run USB 3.0 signals?  Besides wireless or buying a second wire-hider, do you have any other suggestions?

Question by jongscx    |  last reply

0-12V Digital Display?

Here's what I need, and haven't been able to figure out how to do it: I designed a motor speed controller that runs a 12V fan.  Speed control is via PWM through a 50K linear Potentiometer. I need to be able to read the percentage of run voltage ie: 0V=0%, 6V=50%, 12V=100%.  I want to display this on 3 7-segment LED displays. Anyone with insight would be greatly appreciated. Brian

Question by BrianAriz    |  last reply

PDF's are 0 (zero) bytes

I am a 'new' Pro Subscriber. I tried downloading .PDF from this posting using Firefox (and Chrome); files are zero bytes. What's up with that. What's the solution?

Question by squattingdog  

Can rhino 4.0 export as dxf? Answered

I am almost positive that rhino will, but I wanted to double-check, because I can't find if it does anywhere. Thanks in Advance! AI

Question by JaredsProjects    |  last reply

Can the NXT 2.0 ultrasonic sensor detect glass?

So, can the sensor sense glass? since its ULTRASONIC does that mean it detect things by sound and not by light? 

Topic by NXTHacker    |  last reply

LM2576SX-5.0 VS LM2576SX-3.3,which is better?

Please Help. I want to know if I should buy a LM2576SX-5.0 timer or a  LM2576SX-3.3 IC. Can I do the same things with each? Is there much difference? Here is the datesheet:   LM2576SX-5.0 datesheet LM2576SX-3.3 datesheet Thank you guys, Electronicsloser

Question by DELETED_MakiY2    |  last reply

Is there a way to get around the Photoshop Elements1.0.1 installer demand for Internet Explorer 4? Answered

We have Internet Explorer 12 and my photoshop installation disk demands IE 4.   I LIKE Photoshop Elements 1.0.1.  Needless to say, I've used it for years.  Is there anything I can do to get it loaded onto my present computer?

Question by mole1    |  last reply

A quick RAID question!

I want to have a larger amount of space on my server and also be able to keep all my music and whatnot together. I currently have a 160gb drive in this pc that is full to the brim with music (oh that will be fun finding places for it all). And I have a 160 in the server with random backup files and whatnot, what I'd like to do is set it up with RAID 0, so I have around 320gb of space all together. I was wondering though what anyone thought of doing this if it was very safe if one of the drives fail, I realize I'd loose all the data on the one drive, but would it be possible to recover the data on other other drive still? Also, these aren't sata drives, so I'll have to use window's built in RAID controller thingy. Perhaps I should just pull out a bunch of old hard drives and rig them up to one of my test mobo's and try it with that first? Can you raid USB and ide drives together? 

Topic by Punkguyta    |  last reply

Making A Lock? 2.0

My first question was for a wooden box. This one asks: Can someone please help me by giving me tips on making a lock for a door? I want to lock up my tool shed, as it has a door, covered in tarp. The tarp keeps the rain out, if you are wondering, because the door is wood and chicken wire. Help, please? There's so many clever people at Instructables I know I'll get good answers. I have a pen cap and a bobby pin, if that helps. Thank Ya'll TN777

Question by TN777    |  last reply

i made a portable speaker using an old telephone reciever.. the sound emitted is not too great. Need inputs

Just to give u more info.. the speaker is 1.5- 2inches in diameter. I am using a ipod shuffle 2g box as its enclosure. The sound produced is "O.K" or average.. u can hear music/audio but its not for people who like it too loud..  I need your inputs as to is the sound less because of the enclosure or because of the speaker and how can i make it more effective....

Question by seetharam    |  last reply

Ethernet to USB 3.0?

I was looking around this afternoon and found the wonderful 'PCI Express X16 to USB 3.0 adapter' which got me thinking, This could be an awesome way to add a better graphics card to a small computer e.g. a laptop or preferably a Raspberry Pi. Now i know that the Pi doesn't have any USB 3.0 ports but it does have Ethernet (which from past experience is quite a lot faster than USB 2.0) My question to you is this: Is it possible to get a USB 3.0 to Ethernet adapter so that we can have USB 3.0 ports on a Raspberry Pi, and if so would the Pi be fast enough to run an external graphics card connected through a PCI Express to USB 3.0 adapter?

Question by macman808    |  last reply

I have a laptop equipped with two usb 2 and two usb 3 ports. The 2 ports work fine but the 3 ports have a problem? Answered

The usb 3.0 ports don't seem to work. The have power and if I plug a simple device like a light or fan in to them it will work but if I plug in a mouse, flash drive, or anything else that works with the computer rather than just draw power it doesn't work. Unfortunately I don't have any usb 3.0 devices to experiment with. I have no Idea how to start narrowing down the problem so some guidance would be greatly appreciated. If you need more information tell me what you need and I will try to provide as timely as possible.

Question by Shadow13!    |  last reply

Broken USB 2.0

Is it possible to fix a USB 2.0 that has become loose in it's case.  It  attaches to a Cooler Master Laptop cooler.  But since my cat hit it with his head it is now loose in its socket and will not power my Cooler Master.  It only has the 1 USB that plugs into my Laptop and runs from the battery or power cord of the Laptop or if the Laptop is  plugged into a power outlet.  I bought a new and different Cooler for my Laptop but I find I don't think it cools as well as my old Cooler Master. I have tried Cooler Master company itself and they were of no help. Can someone here help me with this problem.  I will try and explain how it is connected to the Cooler Master itself. The USB 2.0 has a long cord  that splits into two different wires.  Like a Y set up. One leg of the Y goes to 1 fan and the other Y goes to the second fan.  So both fans are connected to the Y with the USB 2.0 at the end of the Y that plugs into my USB port on my Laptop.  So with out the USB the Cooler Master will not work. I hope I explained it all right.  Can someone PLEASE help me fix this.  I do not like the new fan.   I want my Cooler Master back. I would appreciate any help you could give me. Thank You.............Glenda D

Question by GlendaD3    |  last reply

Can any one tell me 0.218k ohms or 0.220k ohms = how many ohms and the color code of the resistor? Answered

Can any one tell me what is the color code for 0.220k or 0.218k resistor

Question by Soumojit    |  last reply

PopSci How 2.0's

I'm not that tech savvy but you would think they would be a little more clear with their directions. Has anyone done this flashlight conversion. I have all the parts but don,'t understand the directions they are a bit vague, can anyone help?

Topic by Atradius    |  last reply

How to make a calculator that divides by zero?

Hi New to the forum so not sure how it works here but basically asking a request for a instructable for any shop brought calculator that when asked to divide something by zero returns a number, maybe a  random number, but hopefully 42 everytime. Is this possible and if so could someone post the instructable? Cheers

Topic by blind oly    |  last reply


Mylan the RIP-OFF financial Gouger asking the public to pay over $600 for a $10 squirt of a natural human adrenaline to avoid allergic reaction to a bee sting or similar situation is unconscionable. I would think a 3D printer could easily make the device by almost anyone with access to a clean room.

Topic by iceng    |  last reply

Getting my comp to see my arduino uno clone ? The same ol windows route shown everywhere aint werkin'!!?

XP pro -sp3 -  ...I've tried installing the official USB2.0 driver, I've  tried the Virtual com port and the FTDI  drivers from the official sites...NOTHIN'!! I keep getting FOUND NEW HARDWARE -USB2.0-SERIAL...I go through all the steps found everywhere on how to "normally" get the comp and UNO to show up in sys' properties and hardware profiles etc etc....problem is I dont get any of the results nor devices these how-tos are showing. I know my way around a comp and windows...I'm just not getting past the NEW HARDWARE USB2.0  issue..let alone even seeing UNO as a device. The virtual port drivers dont do anything at more ports show up, no option to create one.... I've installed the arduino drivers incl. USB and the UNO love either I've uninstalled and installed in the root dir. luck.. I even changed the ATmega from the 8A it came with to a ATm328 w/ bootloader and blink sketch already installed on  my Arduino as well. ANYONE have this issue that has found a solution?.... other than throwing my comp out the window and using the UNOs as fancy paper weights?

Question by schel    |  last reply

How to build a 0-36v, 0-10a, Regulated, AC/DC Power Supply? Answered

I'm looking for how to make a variable regulated power supply for DC electronics. I have wall warts and single range transformers for lots of different items ranging from battery chargers to toys to LED lights and am looking to combine them all down into one unit. I need to be able to adjust the voltage from ad little as 1.2v @ 200ma all the way up to 36v @ 10amps. I would normally take the easy way out and buy a power supply online that would handle it, but I am strapped for cash and this is more a luxury then a necessity. If possible I would like to be able to use LCD/LED panel meters that are powered by the input along with fine and coarse controls, along with dual outputs. Something along the lines of the Mastech HY5005E-2 that's pictured below. Maybe convert a cheap PC power supply with a digital multimeter? I can solder and work a basic circuit but I haven't done anything this complicated as yet.  I would appreciate any help offered. Thanks!

Question by Dochide    |  last reply

My old flash drive won't respond to anything.Why?

I just got an old Memorex Travel Drive mini, USB 2.0(it can't be very old), 512MB and when I plug it into my PC it says file system RAW(never heard of it), 0 MB free and on drive, and says thats its in a low speed port(1.1 I think). It is in 2.0 though.It tells me to format and I get the picture below.

Question by Chromatica    |  last reply

Im out of .1uF capacitors! Can I replace them with a different value?

Im building a FM transmitter and the project requires (3) 0.1uF capacitors. But i have none left! Can i replace them with a different value?∫

Question by nadav    |  last reply

iPhone Instructable Draft Bug

iPhone 5  iOS - version 8.1.1, Instructables App - version 2.6.0 Reply and photo to a published Instructable - "9 Unusual Uses For Beer" by Wilgubeast Screenshot included. I have identified a bug when submitting photos in response to an 'ible published by another member. I used my mobile app to make a comment on a published Instructable by another author. When opening my drafts folder, I found that authors 'ible in my draft folder - ready to be published by me.

Topic by Tater Zoid    |  last reply

FTDI VCOM port USB2.0 my head meeting the wall

OK  for real this has been going on for days n' days. I cant get my windows xp pro sp3   - to see any attached device other than the USB2.0-SERIAL  it sees when I hook up my UNO clone-ATMega 328 w/ arduino bootloader already "factory "installed   - Using the USB,  I keep getting  NEW DEVICE USB2.0-SERIAL , and YES, I've followed ALL+ the step by steps out there for doing's just I dont get an UNO nor anything but the USB2.0 message. The FTDI  bit and the virtual com port did capital N-othing. I uninstalled -reinstalled tried different USB ports. I just want to play with my UNO!!!   anyone?

Question by schel  

2 projects, 2 questions. help? Answered

Hi everybody i have 2 new projects i am working on, and i had some questions about them: 1-wirelessly (bluetooth) controlled LED So this is more or less a starter project, i just got a new laptop with bluetoth and i want to experiment, i figured being able to turn an led on and off via bluetooth would be a good start. 2-Webcam that fits in a PCMCIA slot filler card I think that this project has a better chance of actually being finished than the one above... along with my new laptop, i got one that had a broken screen, it also had a built in webcam. (acer travelmate 5530, the bottom will be used in some other project) I removed the webcam and later i had the thought that maybe it was thin enough to fit in a pcmcia slot. almost. the question here is if i sanded down the plastic parts on the top of the lens (not the lens itself, there is a bit of plastic that bevels around the lens) to the point where it would be thin enough, could someone help me find a pinout of the webcam? all i know is that its usb 2.0, but the connector has 5 wires, 2 of them are ground, but the data + and - and vcc are unknown, the wire colors are different than a normal usb color code. I cannot upload pictures quite yet but i will as soon as i can.

Question by zack247    |  last reply

Wii - Play Backup Games without modchip -- System Menu V 4.0 ?

Please note: I am beginner at this. Ok, here is what I have done: 1. I have upgraded my System Menu to version 4.0 using the update option from the Wii2. Following this instructable: I have installed cIOS36 Rev7. This means that I have also installed Homebrew Channel (using Bannerbomb exploit ). 3. Following the same instructable I have got to the point where I got the Error ret-2011 which a lot of other people (with System Menu 4.0) got: " tried to install the 04-BackupLauncher0.3g+_249-NeoRame.rar like instructed below.I get a installing ticket...ERROR! (ret = -2011)"4. After that everything went down the drain. I have tried to follow this instructable: with both versions (offline and online), but I kept getting the -2011 error. 5. I have tried to follow other tutorials out there but I did not get any further because of different errors. Now I do not know what version of cIOS or other files I have installed on my Wii.I have tried to update again my System Menu 4.0 in case I have messed up anything but my Wii says that I already have the latest version installed. So my questions are: 1. How do I know what version of the Files I have and whether I have messed up my System Menu ? And how do I get back to the original System Menu 4.0 of the files? 2. Since the aim of this entire thing is to play backup games, how do I fix this and how do I get my Wii to play the backup games, from backup DVDs (I've seen that it might be possible to play them from USB devices, I am not interested in that right now). Also, I do not want to install any other homebrew applications (like DVD players or video players).3. If in the process I have to downgrade my System Menu, what are the exact steps to do that? Thank you very much for your help and I hope someone will be able to help me make things work !If you think you can help but you need more information, please comment on my question and I will provide as much information as I can

Question by liljohnnydoe    |  last reply

In the Mindstorm nxt 2.0 kit, which of the four starter builds is the easiest and most enjoyable? Answered

There is the Alpha Rex, Shooterbot, Color Sorter, and the Alligator thingy. Which one is the easiest to build? Which one is the most fun to build?

Question by Torpe    |  last reply

How do i convert the wxp file that wax 2.0 saves into something my computer can read, like avi or wmv?

I've been looking around, people have the same problem but i've never found a solution. Your help would be appreciated.

Question by knoxarama    |  last reply

Insight 2.0

I know what you're thinking: I'm not allowed to make guns anymore.  Well, you're right: I'm not.  This video was recorded entirely in secret.  My school has had some weird days off so people can take the ACT and all that nonsense, leaving me home alone.  I'd say a pretty great thing came out of it: Insight 2.0.  A huge improvement from version one, this gun now has a sliding trigger, its coolest feature, a realistically slanted handle, an even comfier handle, and a much more reliable tubular magazine.  I hope you guys enjoy!

Topic by DarkOwlProductions    |  last reply

Arduino Coding Question: How do I blink one LED 8 times and then another LED 8 times then repeat?

I'm using two 4017 decade counters to count to 16 and I figure two Arduino outputs would be a good way to go. I want one 4017 to receive 9 pulses then and then wait while the other 4017 receives 9 pulses. (one pulse is a holding position) For the moment I'm just trying to blink one LED 9 times and then another 9 times to represent two separate clock outputs. Here is a diagram: pin 13    1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, pin 12    0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, Start      ------------------------------------------------------------------------------------------------------------ then loop. This is for multiplexing a 16x16 led screen so I don't think I should use the  delay(1000);  command. Each counter needs 9 pulses with the last pulse to the first counter happening simultaneously with the first pulse to the second counter. And similarly the first counter getting its first pulse at the same time as the second counter gets its 9th pulse. Get it?

Question by snotty    |  last reply

There is no place like

A take on the "There is no place like" which is a take on "There is no place like home" from the Wizard of OZ.  Contains IP addresses, red slippers, and ma thematic sequences.

Topic by GenAap  

Making it more powerful?

Hi,  I have brought a sphero 2.0 which for those who don't know it a robotic ball about the size of a baseball. I decided to try and make a car for it out of knex although I will only be able to make it go backwards and forwards. I built a frame thing with a small wheel in the middle of it and sphero sits on top. The axle that the wheel is on has a gear which then connects to the drive wheel axles on the back using another gear. This works fine when in the air but when on the ground it's too heavy for sphero to power it. I've tried putting bigger gears on the front and vice versa, i've also tried using a pulley but it just isn't budging at all.  Say if I was using the standard knex motors how would I go about making it produce more power? 

Topic by mikesaa309    |  last reply

Total Views Count - 01/06/2010

Here is the run for the Total Views Group for June 1st 2010. Well done to Canida for having this run's biggest increase in views and to reukpower for having this run's biggest increase as a percentage of their previous count. Instructabler 15/05/2010 01/06/2010    Gain canida 3,196,243 3,255,943 59,700 Kiteman 1,455,778 1,477,354 21,576 Tool Using Animal 1,339,055 1,366,778 27,723 gmjhowe 743,801 753,871 10,070 killerjackalope 721,763 734,416 12,653 PKM 648,766 656,805 8,039 lemonie 591,001 601,737 10,736 ChrysN 0 379,842 0 laxap 275,235 283,047 7,812 Spl1nt3rC3ll 0 242,954 0 plane phanatic 227,946 230,853 2,907 depotdevoid 0 222,694 0 KentsOkay 207,042 209,715 2,673 Lithium Rain 195,250 198,986 3,736 Doctor What 175,023 177,233 2,210 Jayefuu 148,468 153,747 5,279 AngryRedhead 124,911 131,186 6,275 yokozuna 119,854 121,104 1,250 DJ Radio 113,960 116,022 2,062 Lynne Bruning 101,396 103,489 2,093 reukpower 61,096 74,363 13,267 Ninzerbean 70,748 73,330 2,582 thermoelectric 70,675 72,733 2,058 Hiyadudez 66,425 69,878 3,453 Goodhart 67,133 68,296 1,163 BrittLiv 0 50,922 0 kelseymh 36,354 36,950 596 Killer%7ESafeCracker 0 35,014 0 Berkin 0 32,683 0 RavingMadStudios 0 29,226 0 MichelMoermans 0 19,027 0 Shadowman39 16,442 17,524 1,082 knuckel 0 15,725 0 Derin 0 14,927 0 zascecs 13,110 13,564 454 NachoMahma 9,329 9,405 76 MotaBoi 0 9,180 0 nickodemus 0 8,378 0 masterochicken 7,764 7,941 177 kcls 0 5,144 0 acidbass 0 4,721 0 Kryptonite 3,319 3,888 569 megametal8 0 1,395 0 tbcross 0 0 0 yo man 0 0 0 NachoTest01 0 0 0 hempnecklacestore 0 0 0 Steveastrouk                                           10,535

Topic by Jayefuu    |  last reply

Ghost 3.0 or Z35?

What's better, Seleziona's Ghost 3.0 or the legendary Oblivitus's Z35 K'Nex guns?

Question by Cheezpaper    |  last reply

Address LEDs on a LOL shield help... please?

A couple of the tutorials use the following arrays... I spent a couple hours trying to help out a friend and could not dumb the code down to address individual LEDs using the understood matrix below... uint16_t BitMap[][9] PROGMEM = { {1, 0, 0, 0, 0, 0, 0, 0, 0}, {3, 1, 0, 0, 0, 0, 0, 0, 0}, {7, 3, 1, 0, 0, 0, 0, 0, 0}, {15, 7, 3, 1, 0, 0, 0, 0, 0}, {31, 15, 7, 3, 1, 0, 0, 0, 0}, {63, 31, 15, 7, 3, 1, 0, 0, 0}, {127, 63, 31, 15, 7, 3, 1, 0, 0}, {255, 127, 63, 31, 15, 7, 3, 1, 0}, later in the code they use the following to 'fetch' the lines... for(line = 0; line < 9; line++)       {         data = pgm_read_word_near (&BitMap;[frame][line]);   // fetch data from program memory When I try to hi-jack the above line and use my 'own' numbers: data = pgm_read_word_near (&BitMap;[frame[1][3]);... it does not function.. I'm just trying to call out individual LEDs in response to external sensors and turn them ON and OFF with delays and such... any help breaking down this code? I understand the matrix but can't seem to call it out... thanks! HERE is the sample code: #include   //This is in the Arduino library int blinkdelay = 75; //This basically controls brightness. Lower is dimmer int runspeed = 20;   //smaller = faster int pin13 =13; int pin12 =12; int pin11 =11; int pin10 =10; int pin09 =9; int pin08 =8; int pin07 =7; int pin06 =6; int pin05 =5; int pin04 =4; int pin03 =3; int pin02 =2; const int pins[] = {   pin13,pin12,pin11,pin10,pin09,pin08,pin07,pin06,pin05,pin04,pin03,pin02}; const int ledMap[126][2] ={ {pin13, pin05},{pin13, pin06},{pin13, pin07},{pin13, pin08},{pin13, pin09},{pin13, pin10},{pin13, pin11},{pin13, pin12},{pin13, pin04},{pin04, pin13},{pin13, pin03},{pin03, pin13},{pin13, pin02},{pin02, pin13}, {pin12, pin05},{pin12, pin06},{pin12, pin07},{pin12, pin08},{pin12, pin09},{pin12, pin10},{pin12, pin11},{pin12, pin13},{pin12, pin04},{pin04, pin12},{pin12, pin03},{pin03, pin12},{pin12, pin02},{pin02, pin12}, {pin11, pin05},{pin11, pin06},{pin11, pin07},{pin11, pin08},{pin11, pin09},{pin11, pin10},{pin11, pin12},{pin11, pin13},{pin11, pin04},{pin04, pin11},{pin11, pin03},{pin03, pin11},{pin11, pin02},{pin02, pin11}, {pin10, pin05},{pin10, pin06},{pin10, pin07},{pin10, pin08},{pin10, pin09},{pin10, pin11},{pin10, pin12},{pin10, pin13},{pin10, pin04},{pin04, pin10},{pin10, pin03},{pin03, pin10},{pin10, pin02},{pin02, pin10}, {pin09, pin05},{pin09, pin06},{pin09, pin07},{pin09, pin08},{pin09, pin10},{pin09, pin11},{pin09, pin12},{pin09, pin13},{pin09, pin04},{pin04, pin09},{pin09, pin03},{pin03, pin09},{pin09, pin02},{pin02, pin09}, {pin08, pin05},{pin08, pin06},{pin08, pin07},{pin08, pin09},{pin08, pin10},{pin08, pin11},{pin08, pin12},{pin08, pin13},{pin08, pin04},{pin04, pin08},{pin08, pin03},{pin03, pin08},{pin08, pin02},{pin02, pin08}, {pin07, pin05},{pin07, pin06},{pin07, pin08},{pin07, pin09},{pin07, pin10},{pin07, pin11},{pin07, pin12},{pin07, pin13},{pin07, pin04},{pin04, pin07},{pin07, pin03},{pin03, pin07},{pin07, pin02},{pin02, pin07}, {pin06, pin05},{pin06, pin07},{pin06, pin08},{pin06, pin09},{pin06, pin10},{pin06, pin11},{pin06, pin12},{pin06, pin13},{pin06, pin04},{pin04, pin06},{pin06, pin03},{pin03, pin06},{pin06, pin02},{pin02, pin06}, {pin05, pin06},{pin05, pin07},{pin05, pin08},{pin05, pin09},{pin05, pin10},{pin05, pin11},{pin05, pin12},{pin05, pin13},{pin05, pin04},{pin04, pin05},{pin05, pin03},{pin03, pin05},{pin05, pin02},{pin02, pin05} }; uint16_t BitMap[][9] PROGMEM = { {1, 0, 0, 0, 0, 0, 0, 0, 0}, {3, 1, 0, 0, 0, 0, 0, 0, 0}, {7, 3, 1, 0, 0, 0, 0, 0, 0}, {15, 7, 3, 1, 0, 0, 0, 0, 0}, {31, 15, 7, 3, 1, 0, 0, 0, 0}, {63, 31, 15, 7, 3, 1, 0, 0, 0}, {127, 63, 31, 15, 7, 3, 1, 0, 0}, {255, 127, 63, 31, 15, 7, 3, 1, 0}, {511, 255, 127, 63, 31, 15, 7, 3, 1}, {1023, 511, 255, 127, 63, 31, 15, 7, 3}, {2047, 1023, 511, 255, 127, 63, 31, 15, 7}, {4095, 2047, 1023, 511, 255, 127, 63, 31, 15}, {8191, 4095, 2047, 1023, 511, 255, 127, 63, 31}, {16383, 8191, 4095, 2047, 1023, 511, 255, 127, 63}, {16383, 16383, 8191, 4095, 2047, 1023, 511, 255, 127}, {16383, 16383, 16383, 8191, 4095, 2047, 1023, 511, 255}, {16383, 16383, 16383, 16383, 8191, 4095, 2047, 1023, 511}, {16383, 16383, 16383, 16383, 16383, 8191, 4095, 2047, 1023}, {16383, 16383, 16383, 16383, 16383, 16383, 8191, 4095, 2047}, {16383, 16383, 16383, 16383, 16383, 16383, 16383, 8191, 4095}, {16383, 16383, 16383, 16383, 16383, 16383, 16383, 16383, 8191}, {16383, 16383, 16383, 16383, 16383, 16383, 16383, 16383, 16383}, {16383, 16383, 16383, 16383, 16383, 16383, 16383, 16383, 16383}, {16382, 16383, 16383, 16383, 16383, 16383, 16383, 16383, 16383}, {16380, 16382, 16383, 16383, 16383, 16383, 16383, 16383, 16383}, {16376, 16380, 16382, 16383, 16383, 16383, 16383, 16383, 16383}, {16368, 16376, 16380, 16382, 16383, 16383, 16383, 16383, 16383}, {16352, 16368, 16376, 16380, 16382, 16383, 16383, 16383, 16383}, {16320, 16352, 16368, 16376, 16380, 16382, 16383, 16383, 16383}, {16256, 16320, 16352, 16368, 16376, 16380, 16382, 16383, 16383}, {16128, 16256, 16320, 16352, 16368, 16376, 16380, 16382, 16383}, {15872, 16128, 16256, 16320, 16352, 16368, 16376, 16380, 16382}, {15360, 15872, 16128, 16256, 16320, 16352, 16368, 16376, 16380}, {14336, 15360, 15872, 16128, 16256, 16320, 16352, 16368, 16376}, {12288, 14336, 15360, 15872, 16128, 16256, 16320, 16352, 16368}, {8192, 12288, 14336, 15360, 15872, 16128, 16256, 16320, 16352}, {0, 8192, 12288, 14336, 15360, 15872, 16128, 16256, 16320}, {0, 0, 8192, 12288, 14336, 15360, 15872, 16128, 16256}, {0, 0, 0, 8192, 12288, 14336, 15360, 15872, 16128}, {0, 0, 0, 0, 8192, 12288, 14336, 15360, 15872}, {0, 0, 0, 0, 0, 8192, 12288, 14336, 15360}, {0, 0, 0, 0, 0, 0, 8192, 12288, 14336}, {0, 0, 0, 0, 0, 0, 0, 8192, 12288}, {0, 0, 0, 0, 0, 0, 0, 0, 8192}, {0, 0, 0, 0, 0, 0, 0, 0, 0}, {18000} }; void setup() {   blinkall(2); // useful for testing } void loop() {   DisplayBitMap(); } void turnon(int led) {   int pospin = ledMap[led][0];   int negpin = ledMap[led][1];   pinMode (pospin, OUTPUT);   pinMode (negpin, OUTPUT);   digitalWrite (pospin, HIGH);   digitalWrite (negpin, LOW); } void alloff() {   DDRD = B00000010;   DDRB = B00000000; } void DisplayBitMap() {   boolean run=true;   byte frame = 0;   byte line = 0;   unsigned long data;   while(run == true) {     for(int i = 0; i < runspeed; i++)     {       for(line = 0; line < 9; line++)       {         data = pgm_read_word_near (&BitMap;[frame][line]);   // fetch data from program memory         if (data==18000){           run=false;         }         else for (byte led=0; led<14; ++led) {           if (data & (1<             turnon((line*14)+led);             delayMicroseconds(blinkdelay);             alloff();           }           else {             delayMicroseconds(blinkdelay);           }         }       }                  } frame++;    } } void blinkall(int numblink) {   alloff();   for(int n = 0;n < numblink;n++)   {     for(int i = 0; i < runspeed; i++)     {       for(int j = 0; j < 126; j++)       {         turnon(j);         delayMicroseconds(blinkdelay);         alloff();       }     }     delay(500);   } }   } }

Question by hydronics    |  last reply