Search found 12 matches

by Jaspervdw
Wed Nov 14, 2012 6:26 pm
Forum: C and ASM Programming
Topic: HEX with interrupt in PPPV3 won't work, pickit3 does
Replies: 3
Views: 5237

Re: HEX with interrupt in PPPV3 won't work, pickit3 does

Sorry,

I does does work, I only have to reset the circuit after uploading.
by Jaspervdw
Wed Nov 14, 2012 5:46 pm
Forum: C and ASM Programming
Topic: HEX with interrupt in PPPV3 won't work, pickit3 does
Replies: 3
Views: 5237

Re: HEX with interrupt in PPPV3 won't work, pickit3 does

Hey,

I'm using the PIC16F887. I included the hex file as example.
by Jaspervdw
Wed Nov 14, 2012 9:28 am
Forum: C and ASM Programming
Topic: HEX with interrupt in PPPV3 won't work, pickit3 does
Replies: 3
Views: 5237

HEX with interrupt in PPPV3 won't work, pickit3 does

I'm making a project in MPLABX with XC8. I'm using follwing code: #include <xc.h> #define _XTAL_FREQ 19660800 #pragma config CONFIG1 = 0x2FF2; #pragma config CONFIG2 = 0x3FFF; /* */ void interrupt timer0(){ INTCONbits.T0IF = 0; PORTC = 0X77; } void main() { //TImer 0 OPTION_REGbits.T0CS = 0; OPTION_...
by Jaspervdw
Thu Nov 01, 2012 3:31 pm
Forum: E-blocks
Topic: PPP3 Driver for WIndows 8
Replies: 7
Views: 4818

Re: PPP3 Driver for WIndows 8

by Jaspervdw
Tue Apr 27, 2010 4:54 pm
Forum: Flowcode V2 & V3
Topic: fill aray
Replies: 1
Views: 1573

fill aray

Is it possible to fill the aray image[7] as following:
image= 0x7F,0x88,0x88,0x88,0x7F,0x00,0x00,0x00
by Jaspervdw
Wed Jul 22, 2009 7:12 pm
Forum: Flowcode V2 & V3
Topic: Digital Low Pass Filter
Replies: 5
Views: 2579

Re: Digital Low Pass Filter

Of the Speed I Have absolutly no idea. You can lower the order of the filter to decrease the number of calculations.
by Jaspervdw
Wed Jul 22, 2009 10:20 am
Forum: Flowcode V2 & V3
Topic: Digital Low Pass Filter
Replies: 5
Views: 2579

Re: Digital Low Pass Filter

Hey, You could use an IIR-filter. IIR ask a litle CPU from the chip. At the site: http://www-users.cs.york.ac.uk/~fisher/mkfilter/trad.html you can design your filter. Here is a little guide to use the site: 1) For audio you choose the "Butterworth" filter (this has a flat passband). The y...
by Jaspervdw
Thu Jul 02, 2009 6:53 am
Forum: Flowcode V2 & V3
Topic: COUNT UP TO 100000
Replies: 9
Views: 2585

Re: COUNT UP TO 100000

Work with 6 counters: hundreds, tens, ...
by Jaspervdw
Thu Jul 02, 2009 6:49 am
Forum: Flowcode V2 & V3
Topic: DMX 512 8 byte receiver (Component)
Replies: 8
Views: 11929

Re: DMX 512 8 byte receiver (Component)

Those this code work with other people?
by Jaspervdw
Sat Apr 25, 2009 2:34 pm
Forum: Flowcode V2 & V3
Topic: DMX 512 8 byte receiver (Component)
Replies: 8
Views: 11929

Re: DMX 512 8 byte receiver (Component)

Desmond, The problem is probably that your Βµc is running at 4Mhz, the code is made for 20 Mhz. I don't have enough knowledge (from flowcode) to make the code fit for any oscillation speed. You can try to adjust the C-code of the component. I think you only have to adjust the baudrate: txsta.BRGH = ...
by Jaspervdw
Fri Mar 20, 2009 11:22 am
Forum: Flowcode V2 & V3
Topic: DMX 512 8 byte receiver (Component)
Replies: 8
Views: 11929

Re: DMX 512 (8 byte reading and pwm on port D)

Hey, As promised is here a better version of the DMX512 receiver. I put it in the component (Custom component). The component has two functions. - SetAdress: This function allow you to set the 8 bytes you want to read from the DMX channel. the value of this addresses must be between 1-512 (0x001 - 0...
by Jaspervdw
Sun Mar 15, 2009 8:09 pm
Forum: Flowcode V2 & V3
Topic: DMX 512 8 byte receiver (Component)
Replies: 8
Views: 11929

DMX 512 8 byte receiver (Component)

Hey, I finally did it. I made a DMX receiver! This project reads in the first 8 byte of the DMX code and puts it by PWM on Port D(0-7). It is made for the 16F877A . The code is not yet optimal, but it works! I'll try to make it better so that it can be easily used (and changed) in Flowcode. Enjoy th...