Search found 60 matches

by dcggames
11 Jan 2022 23:50
Forum: mikroC PRO for PIC General
Topic: Help with 4x4 RGB Click on EasyPIC Pro V7a
Replies: 17
Views: 2516

Re: Help with 4x4 RGB Click on EasyPIC Pro V7a

It works! That’s the start, making it compacter and look nice comes after.. I will also try and make it smoother.

By the way… My company is looking for a regular freelance programmer with MikroC compiler affiliation… Interested? :D
by dcggames
09 Jan 2022 23:50
Forum: mikroC PRO for PIC General
Topic: Help with 4x4 RGB Click on EasyPIC Pro V7a
Replies: 17
Views: 2516

Re: Help with 4x4 RGB Click on EasyPIC Pro V7a

Of course! Here you go. This is basically your own code with adjusted timing. Works good with the WS2812B strip I have here.
by dcggames
09 Jan 2022 22:56
Forum: mikroC PRO for PIC General
Topic: Help with 4x4 RGB Click on EasyPIC Pro V7a
Replies: 17
Views: 2516

Re: Help with 4x4 RGB Click on EasyPIC Pro V7a

No of course! Don't feel obligated in any way. Just know that I really appreciate the help! For starters, currently I'm using the 18F87K22 on the EasyPIC Pro 7a. With some minor adjustments to the assembly timing it works perfectly with "B" type. I use a short strip of 10 LEDs for testing. I mean fa...
by dcggames
09 Jan 2022 14:53
Forum: mikroC PRO for PIC General
Topic: Help with 4x4 RGB Click on EasyPIC Pro V7a
Replies: 17
Views: 2516

Re: Help with 4x4 RGB Click on EasyPIC Pro V7a

Wow! Awesome! That works great..... Next challenge... And yes, I'm really also trying to figure it out haha. Dimming... Lets say, a preset grid coming in with a fade in, instead in instantly popping on.
by dcggames
03 Jan 2022 16:32
Forum: mikroC PRO for PIC General
Topic: Help with 4x4 RGB Click on EasyPIC Pro V7a
Replies: 17
Views: 2516

Re: Help with 4x4 RGB Click on EasyPIC Pro V7a

Very cool project jumboelettronica! I got the WS2812b strip (used 10 LEDs) working with hexreader's system. Got a simple animation going now in a loop, going from start to end. One LED lighting up after the previous one. for(led_num = 0; led_num < 10; led_num++){ grid[led_num][led_num] = C_WHITE; } ...
by dcggames
31 Dec 2021 10:46
Forum: mikroC PRO for PIC General
Topic: Help with 4x4 RGB Click on EasyPIC Pro V7a
Replies: 17
Views: 2516

Re: Help with 4x4 RGB Click on EasyPIC Pro V7a

Hi Hexreader, NICE! That works instantly! Ok... Next up, my LED WS2812(b) ledstrip. See attached photos. Type LED is marked as Epistar HQ 5050 SMD, 5 Volt. What are required changes for this one you recon? When I connect the strip at the moment (5V, GND and Din to RE0), all LEDs light up white and s...
by dcggames
30 Dec 2021 20:21
Forum: mikroC PRO for PIC General
Topic: Help with 4x4 RGB Click on EasyPIC Pro V7a
Replies: 17
Views: 2516

Help with 4x4 RGB Click on EasyPIC Pro V7a

Hi all, I spent quite some time trying to get a WS2812 ledstrip working with the EasyPIC v7 and 18F45K22, but couldn't quite get the timing right, no luck. To educate myself I purchased the 4x4 RGB Click and thought to make it easy, grabbed my EasyPIC Pro v7a with 18F87K22.. Which the 4x4 library ex...
by dcggames
06 Feb 2014 21:41
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: 33EP512MU810; Configuring SPI pins as open-drain
Replies: 3
Views: 2163

Re: 33EP512MU810; Configuring SPI pins as open-drain

Thank you both!

I'll try those suggestions.

Regards
by dcggames
04 Feb 2014 10:46
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: 33EP512MU810; Configuring SPI pins as open-drain
Replies: 3
Views: 2163

33EP512MU810; Configuring SPI pins as open-drain

Hi all, I'm trying to interface my 3.3V MCU with a 5V LED-display driver (MAX7219). If I'm correct, as long as I'm using 5V tolerant pins to do job (RF2/4/5), I can use pull-up resistors on the 3 SPI lines to get the levels to 5V. I did understand however that I need to configure the 3 SPI pins on t...
by dcggames
01 Dec 2013 19:07
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: How to apply USB configuration
Replies: 5
Views: 2271

Re: How to apply USB configuration

Hmmm, and what about the internal EEPROM? Maybe change specific parameters within the EEPROM using USB HID communication?

Regards
by dcggames
01 Dec 2013 11:39
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: How to apply USB configuration
Replies: 5
Views: 2271

Re: How to apply USB configuration

Hi Peter! Thanks for your reply. I'll try to give a solid example: Let's say we're talking about a system that needs to measure engine RPM based on the ignition pulse. In order to calculate this you need certain parameters (# cylinders, 2 or 4 stroke, wasted spark or not, etc). If I want the system ...
by dcggames
27 Nov 2013 13:47
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: How to apply USB configuration
Replies: 5
Views: 2271

How to apply USB configuration

Hi all,

I was wondering... How to make it possible for the end-user to change certain parameters in the firmware/configuration through the USB connection and a PC (windows) application?

Regards
by dcggames
27 Nov 2013 13:41
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Interface dsPIC33 with SAA1064 through i2c
Replies: 2
Views: 1625

Re: Interface dsPIC33 with SAA1064 through i2c

Thanks Filip. Luckily I found a way to use the MAX7219 with CA displays. Since I use 8 displays, its easy to use the 7219, you just reverse everything. The only thing I cannot use is the BCD decoder, but I'll servive.

Regards
by dcggames
25 Nov 2013 14:42
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Interface dsPIC33 with SAA1064 through i2c
Replies: 2
Views: 1625

Interface dsPIC33 with SAA1064 through i2c

Hi all,

Just to be sure..... Is it possible to connect a dsPIC33 with a SAA1064 LED driver through i2c?
I'm asking this because of the 3.3v/5v situation.

Regards
by dcggames
01 Oct 2013 00:02
Forum: mikroC PRO for PIC General
Topic: Reusing CCP pin
Replies: 1
Views: 933

Reusing CCP pin

Hi all, Short question regarding the use of the CCP pin (RC2) on a 18F4685. I'm using the PWM function, but in a certain condition I need the PWM to stop, the pin to be high for just a moment (500ms) before continuing the PWM function. Although the stopping and the resuming of the PWM signal goes fi...

Go to advanced search