cenote
Suburbs of Philadelphia
uh oh...i must of missed the part list for the pin headers. Any chance someone could post the part numbers for mouser or digikey for these two? Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
cenote said:uh oh...i must of missed the part list for the pin headers. Any chance someone could post the part numbers for mouser or digikey for these two? Thanks
//the following two values are used to fine tune the effects
unsigned char longdelaytune = 4; //tune the random blink rate
unsigned char ledontime = 30; //LED on time in milliseconds
I wish I had the free channels to do that too. Will have to think of some other creative way to get satisfactory results.budude said:I decided to make the bulk of mine without the PIC and do all the work with Vixen.
#include <pic.h>
__CONFIG (WDTDIS & MCLRDIS & UNPROTECT );
//Watchdog off, MCLR off, Code Unprotected
#define DelayDivisor 4 //MHz
#define Jumpback asm("goto $ - 2")
unsigned char delayus_variable;
#define DelayUs(x) { \
delayus_variable=(unsigned char)(x/DelayDivisor); \
asm("nop"); } \
asm("decfsz _delayus_variable,f"); \
asm("goto $ - 2");
void DelayMs(unsigned char cnt);
void Delaylong(unsigned char cnt);
char rand(void);
unsigned char random_byte = 125; //seed value
unsigned char counter;
//the following two values are used to fine tune the effects
unsigned char longdelaytune = 4; //tune the random blink rate
unsigned char ledontime = 30; //LED on time in milliseconds
void main()
{
char random_seed_set = 0;
TMR0 = rand(); //Reset Timer
OPTION = 0B00001000; //Assign Prescaler Value to WDT for 1:1 timer
I tried this and here are the results, starting with all 3 wires from the strobe board connected.Tabor said:Could you try powering the strobe, for a couple of minutes then pulling the trigger line low?