Quantcast
Channel: MEL PICBASIC Forum
Browsing all 4787 articles
Browse latest View live

Please help configure 16F616

I'm having trouble getting a 16F616 to work correctly, and I'm pretty sure the problem is with how I am configuring the various registers. These are my peripheral connections: A0 - push button (digital...

View Article


Pullup confusion 12c508a

saw this but WPUB must be wrong -- creates an error option_reg.7=0 ' Enable WPUs by individual pin WPUB = %11110000 'enable weak pullups on RB7, RB6, RB5 & RB4 anyway -- trying to make this easy --...

View Article


Timer SubRoutine

I'm using a 16f616 - but can be changed. I need to do 2 things at same time. I need a timer that has 2 stages - 1 minute on, 5 minutes off (controlling a relay). At the same time I need to monitor an...

View Article

Image may be NSFW.
Clik here to view.

Servo info using DT's PWPS_Servo.INC

Hi All, I'm in the process of using one RC servo (for the first time) in an automotive application. PIC of choice is 16F88 but not limited to this, an 18F just as good. Frequent servo movement will...

View Article

Fuzzlight fades out when running from a transistor

Hi, I have a 12V fuzzlight that uses about 0.4A current. I'm trying to run it from a 1A 30V transistor (with flyback diode) on a 12V supply. After about 2 minutes the motor suddenly slows down and the...

View Article


pic18f25k22 clock

Hello, i am new to programming and am using a pic18f25k22 im trying to set it up to use an external 8mHz oscillator but from looking at the datasheet i am confused about how i do this any help would be...

View Article

external clock

Hello, i am new to programming and am using a pic18f25k22 im trying to set it up to use an external 8mHz oscillator but from looking at the datasheet i am confused about how i do this any help would be...

View Article

Image may be NSFW.
Clik here to view.

New errata 18f87k22 , 1867k22 sept 2016

BE aware of new bug found for these chips using the slave hardware spi port 1 (MSSP1) on these chips , i reported issues some months back to microchip , looks like there was more to it snipit from...

View Article


Controlling 3 leds with single switch

I need help for controlling 3 led with single switch. When switch is pressed red led should glow. When switch is pressed second time then green led should glow and red should go off. When pressed third...

View Article


Negative numbers in a lookup table?

Is it possible to have negative numbers in a lookup table? I'm trying to make a lookup table with negative numbers, but PBP doesn't seem to like it.

View Article

Problems setting config bits on 10F222 part

I have used many different pics before, but I am having a problem using a 10F222. In compiler options I have PBPL unchecked and under the assembler tab I have "Use MPASM" Checked (I am using a 64bit...

View Article

Small pin-count device for generating output frequencies when triggered

I am trying to do what seems like one of the simplest PIC programming tasks I ever did and it is turning into a nightmare. All I want to do is use the smallest pin count device possible to monitor 1...

View Article

is it possible to break PAUSE statement with multiple interrupts?

Hello, here is my code: Code: lcdout $FE,1,"Duration:",#xangrdzlivoba, " us    " LCDOUT $FE, $C0,"Delay:", #dakovneba, " ms    " triala: IF PIRVELI=0 THEN GOSUB DROMINUS IF MEORE=0 THEN GOSUB DROPLUS...

View Article


MicroCodeStudioPlus keeps crashing.

Hello I have PBP3 and MicroCode Studio Plus and MicroCode Studio keeps crashing. Is anyone else seeing this?

View Article

Surge Stopper Protects Against Transient Voltages, Currents

Linear Technology Corporation introduces the LTC4364, a surge stopper with ideal diode, providing compact and low-loss protection for 4V to 80V electronics in automotive, avionics and industrial...

View Article


New cool PIC peripherals

I was just browsing Microchips webiste and found the new (samples available) 18F46K40 series of PICs. These contains a new (to me at least) ADC module with tacked on computation module that, at least...

View Article

Not able to drive leds

Iam not able to drive three leds by one push button. Iam using 16f72. I made led blink. My logic is. When push button is pressed first time then led green led should glow. Second time red led glow and...

View Article


Read array in sequence, and convert it's contents into single variable?

Hello, say I have 32 bit array, in each of it's "cells" is written either 1 or 0. I want to read this array in a way, that these cells add next to each other. Say, content of first 4 cells is "1" "1"...

View Article

That Its Bureau in the City Had Been Partly Destroyed

Giants vs Redskins Live Stream

View Article

Fernandez,” the team said in a

The backwards keywor of nfl week 4 game Bills vs Cardinals live stream Vikings vs Panthers live stream Bengals vs Broncos Live Stream Lions vs Packers live stream Ravens vs Jaguars live stream Redskins...

View Article
Browsing all 4787 articles
Browse latest View live