![]() | ![]() | ![]() |
| | #91 |
|
Has anyone checked the outputs to see if this project puts out a square wave?
| |
| |
| | #92 | |
| Quote:
Mike | ||
| |
| | #93 |
| | |
| |
| | #94 | |
| Quote:
Also in futz code that has "void reset(void);" was failing, But i changed the name for all the reset(); functions to resetled();/void resetled(void); and works now. It was saying that reset had a body at the line where the rest function was setting all the led's to 0 duty cycle. it seems that void reset(void ) is "Declared in boostc.h" as "(inline function)“Soft ”resets the CPU.Please note that “soft ”reset may differ from hardware reset in the way how SFRs get initialised." and as I read more about system.h its also includes boostc.h so #include <boostc.h> is not needed. witch was also in futz's code. I still need to build this and find a programmer for the chip, est...... But its really cool how u use mostly all the pin and what i see that is different then another one like this is yours has duty cycle Heres the other 1 like this Look for LED Chaser | ||
| |
| | #95 |
|
Sorry you experienced problems. I wonder if you're using the code on something other than a 12F683? That program on Futz' site includes portions of my program and seems to be missing a lot of the important comments. I'm not sure what that void reset(void) is. It's not in my program. Anyway, I've attached the last version of my program below which has 64 PWM levels. Please let me know if you have problems. Mike Last edited by Mike, K8LH; 26th July 2008 at 01:52 PM. | |
| |
| | #96 | |
| Quote:
I'll edit the page right now and fix that. EDIT: Done. Removed a couple other unnecessary lines as well.
__________________ ========================= Futz's Microcontrollers & Robotics ========================= Last edited by futz; 26th July 2008 at 06:07 PM. | ||
| |
| | #97 | |
| Quote:
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
| | #98 |
|
Hi, Just joined this group so pardon not being upto date on latest things here. I've been working with Mike over at instructables where there's been quite a lively thread on charliplexing. http://www.instructables.com/id/Char...s--The-theory/ Anyway, the cylon eye code with trailing Leds is attached, it's Mikes older 16 level code I think. Just replace do_random with do_cylon (or any other patterns in the pattern.c file. Sorry it's not well commented. Phil | |
| |
| | #99 |
|
fantastic, seriously. almost the perfect solution for a project i just started. 8 pairs of red/yellow smt leds embedded in a tiny resin block which is poured and dried into a mold as a flame. you should already guess that i intend to make the flames flicker. the red and yellow leds are laid anti-parallel so only one will be on at a given time. with a high enough refresh rate i should be able to more accurately simulate a flame with the mixture of dual colors. where my project will differ a little is ramping up/down the leds in a quasi-random order. but first i must receive the tiny13s i ordered and learn how to 'avr' =0
__________________ Gay/geek/firefighter/mechanic/gardner/<insert many things>. Linux software developer/user - Kernel, Apache, PostgreSQL, Sendmail, etc. mostly into digital toys, my analog clue is quite lacking ![]() http://blue-labs.org/ - http://southmeriden-vfd.org/ | |
| |
| | #100 |
|
Yes, i know i am very NEW to this! but i have been using google alot lately for these kind of things, but have one question of how to get C code (never used this type before) to assembly to hex? (think thats right) i have a programmer and everything i have been making other little projects! THX, Nick | |
| |
| | #101 | |
| Quote:
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
| | #102 |
| | |
| |
| | #103 | |
| Quote:
Why not give BoostC another go and if you get stuck start a thread on here. Mike. | ||
| |
| | #104 | |
| Quote:
What wouldn't it do for you?
__________________ ========================= Futz's Microcontrollers & Robotics ========================= | ||
| |
| | #105 |
![]() Its probabily a simple fix, but i am kinda new to it ![]() Ohh and NICE website! Last edited by killer skittle; 8th January 2009 at 07:05 AM. | |
| |
|
| Tags |
| boostc, charlieplexed, pwm |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| BoostC question.. AddressOf | Mike, K8LH | Micro Controllers | 8 | 25th June 2008 12:20 AM |
| LCD degree symbol with sprintf (BoostC) | futz | Micro Controllers | 29 | 5th June 2008 05:19 AM |
| math.h and lib for BoostC? | futz | Micro Controllers | 3 | 31st March 2008 06:29 AM |
| Charlieplexed code segment for the Cricket Thermostat | William At MyBlueRoom | Micro Controllers | 2 | 14th March 2006 05:12 PM |
| My PIC Projects Site NEW (includes 2 Charlieplexed Display) | William At MyBlueRoom | Electronic Projects Design/Ideas/Reviews | 0 | 28th February 2006 02:31 PM |