Search found 90 matches

by be80be
Fri Mar 06, 2020 6:43 pm
Forum: General
Topic: PWM and the PIC18f25K22
Replies: 2
Views: 1323

Re: PWM and the PIC18f25K22

Jerry It worked Thanks
by be80be
Fri Mar 06, 2020 3:55 am
Forum: General
Topic: PWM and the PIC18f25K22
Replies: 2
Views: 1323

PWM and the PIC18f25K22

Would anyone be so kind to show me how to setup PWM on the 18F25K22
I been trying for a bit even tried the firewing bas I cause errors
And the pwm module looks a little dated for that chip.

Thanks
by be80be
Sun Apr 30, 2017 11:52 pm
Forum: General
Topic: 18f25K22
Replies: 4
Views: 2444

Re: 18f25K22

I got it figured out I used the LATC and wrote a whole port that fixed it
by be80be
Sun Apr 30, 2017 4:04 pm
Forum: General
Topic: 18f25K22
Replies: 4
Views: 2444

18f25K22

How do you get pins to be digital Im having a problem with maybe PORTC.2 or PORTA.6

I have a 8x8 leds on porta rows and portc cols I was testing some code and I can turn off all the leds but when I toggle just one led the led at portc.2 and porta.6
comes on while the led i toggle is off
by be80be
Wed Oct 14, 2015 11:20 pm
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 6814

Re: Hid bootloader and 18f2550

It's calling this so when you commit it out as input you get errors Public Inline Function UserBootselect() As Boolean // << add code to read switch or IO pin >> // << just return false if not used >> result = false // run application If (BOOTSELECT_IN = 0) Then // read low-active IO pin result = tr...
by be80be
Tue Oct 13, 2015 10:44 pm
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 6814

Re: Hid bootloader and 18f2550

I had to make more changes then what you posted but thanks that pointed to what was killing the show. But after playing with the mikroC hid bootloader I like it. It's supper fast I mean fast. And it works great with swordfish. I just press the mclr pin let go and it finds the pic load the hex in the...
by be80be
Sun Oct 11, 2015 10:24 pm
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 6814

Re: Hid bootloader and 18f2550

LOl Im using it for the reset button think that's input, Works fine on start usb using there bootloader but I had to dig up a 8 mhz crystal. And the board is done made with a 20 mhz crystal. It compiles fine if I don't use that pin but I done made my board to use it to reset the pic and was going to...
by be80be
Sun Oct 11, 2015 7:59 pm
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 6814

Re: Hid bootloader and 18f2550

How big is the hid bootloader I'm using 4036 program bytes.
I posted the errors I got. I know you can see the pic your swordfish must be different then mine.
I added the files you posted and I only got the trise error.
by be80be
Sun Oct 11, 2015 5:38 pm
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 6814

Re: Hid bootloader and 18f2550

I changed it to a 18f4550 and it compiled that still should work on a 18f12550.
I think there the same only the 18f4550 has more pins but the data sheet shows same.
Program Memory
Data RAM
Data EEPROM
by be80be
Sun Oct 11, 2015 4:10 pm
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 6814

Re: Hid bootloader and 18f2550

I maybe doing it wrong I guess can you post the file you compiled.
I changed the sw to mclr and the led to portC 4.
by be80be
Sun Oct 11, 2015 1:33 pm
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 6814

Re: Hid bootloader and 18f2550

Thanks jerry I was playing with this all night and almost got it to work then a new problem popped up for some reason it doesn't like the Config FOSC = HSPLL_HS, // external 24MHz xtal w/PLL PLLDIV = 5, // PLL prescaler 24/6=4MHz CPUDIV = OSC1_PLL2, // 48MHz cpu clock (96MHz/2) USBDIV = 2, // 48MHz ...
by be80be
Sun Oct 11, 2015 2:57 am
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 6814

Hid bootloader and 18f2550

Why is there no porte there is one pin on that port mclr is on porte I want to use just one button the same button on mclr. Note 1: Implemented only when Master Clear functionality is disabled (MCLRE configuration bit = 0); otherwise, read as ‘0’. 2: RE3 is the only PORTE bit implemented on both 28-...
by be80be
Fri Aug 21, 2015 4:34 pm
Forum: Compiler
Topic: Adc is stopping the main loop
Replies: 5
Views: 2231

Re: Adc is stopping the main loop

I'm going to try it today, Hope I don't have to rewrite all my code I think I deleted it when I couldn't get the adc to read guess im the only one still using old 18f2550 but I have a bunch of them LOL I got them cheap 5 years ago I ordered 10 tubes I think it was like 250 0f them in all.
by be80be
Fri Aug 21, 2015 3:46 pm
Forum: IDE
Topic: Windows 10
Replies: 10
Views: 5139

Re: Windows 10

The only problem I had was driver signing windows 10 let's you turn off driver signing but how it's setup to do that is a little crazy. You have to hold the shift key down when it start's up windows that let's you get to startup stuff and setting you can't change will running the desktop. But It wor...
by be80be
Fri Aug 21, 2015 2:58 pm
Forum: Compiler
Topic: Adc is stopping the main loop
Replies: 5
Views: 2231

Re: Adc is stopping the main loop

Thanks Jerry that fixed it.. It was getting lost in the ADC.bas
What made it bad is it wouldn't even let me set it in code because I was using the ADC.bas