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

HWPM higher resolution stepping

Hi I'm using hardware PWM on a 18F4520 to control two channels of LEDs for an aquarium light. Using the hpwm 1,W_PWM,750 command in PBPro, the variable W_PWM has 255 steps, however this gives a...

View Article


Image may be NSFW.
Clik here to view.

Comic for August 27, 2013

Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.

View Article


Brown-out symbol not accepted.

Hi I use PBC 2.60B I have some problem with the following code. It was written for PIC16F877A but i want to run it with a PIC16F887. I have read the data for the PIC16F688 but i cant figure out if it...

View Article

Image may be NSFW.
Clik here to view.

Comic for August 28, 2013

Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.

View Article

Pic16f616 with lcd 16x2 problem

Hello, I have LCD connected to PIC16F616 This is code LCD configuration DEFINE OSC 4 Include "MODEDEFS.BAS" DEFINE LCD_DREG PORTC DEFINE LCD_DBIT 2 DEFINE LCD_RSREG PORTC DEFINE LCD_RSBIT 0 DEFINE...

View Article


Strange problem with simple program - help please

I have a 7 segment connected to my 16F690 with the following connections and configuration: My segment B & C are flickering and I cannot figure out why. Please help: Code: Include "modedefs.bas"...

View Article

How can I avoid stack corruption

I need a fast subroutine to transmit a character, increment the CheckSum and check if a Reset "R" command has come in. If the "R" is found I want to immediately jump back to the start of the sending...

View Article

Image may be NSFW.
Clik here to view.

Comic for August 29, 2013

Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.

View Article


ALFAT vs ULFAT

Hi All, Has anyone played with the ALFAT USB Module for GHI Electronics?, I use to used the ULFAT before and is was quite easy to set up, I used the Code below to set it up I am looking for any Code...

View Article


Image may be NSFW.
Clik here to view.

Comic for August 30, 2013

Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.

View Article

Bit of help or guidence needed

Hi all. I am trying to build a radio controll receiver switch. (dont panic i have it working ok) on a 12f629. It reads two input signals It uses the simple pulsin1=pulse If pulse > 150 goto switch...

View Article

HID USB in PIC18F46J50

Anybody does the USB in PIC18F46J50 runs? I have a project in PIC18F4550, created using EasyHid and I need it run in PIC18F46J50. I already modified the code and turned on the bit OSCTUNE.6. The entire...

View Article

Image may be NSFW.
Clik here to view.

Comic for August 31, 2013

Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.

View Article


Blinking Project

I'm a total beginner with picbasic, why does my code everytime goes to the "CASE ELSE GOSUB BLINK8" part? Code:         Include "Modedefs.bas"                 DEFINE OSC                  4...

View Article

12F683 Timer1 Code

I am ashamed to show this code, and wouldn't if it didn't sort of work. I am trying to learn how to use timers and interrupts, and this is my first effort. The LED on GPIO.0 flashes, but it is on far...

View Article


Image may be NSFW.
Clik here to view.

Comic for September 1, 2013

Dilbert readers - Please visit Dilbert.com to read this feature. Due to changes with our feeds, we are now making this RSS feed a link to Dilbert.com.

View Article

Hi to all members on this community

Hi to all members on this community i am thanks to the administrator of this forum for approve my account i am sure here i got better knowledge thanks again.

View Article


Oscillator Problem 18F67K22

Hi guys, i try to use a 67K22 with external oscillator 40MHz at Port A.7 , but this seems not to work or i do not understand how to set the registers correctly: ... #CONFIG config FOSC = EC3 #ENDCONFIG...

View Article

LCD anypin question

When using 8bit mode with LCD anypin, how do you change it from 4bit to 8bit? Does it automatically make the change if DB0-DB3 is in the code?

View Article

Strange problem with OLED screen

I've been using the same style of OLED screen for a little over a year now. It's a Newhaven and I know a lot of people don't like them but they've all been running flawlessly. I came across a strange...

View Article
Browsing all 4745 articles
Browse latest View live