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

DS18B20-Resolution change. How?

How can we change the resolution of the DS18B20? I tried this in vein: Code: OWOut DQ, 0, [$CC,$4E, $00,$00,$3F]' set to 10bits owout DQ,0,[$BE] OWIN DQ, 0, [STR ID\9] It returns only $FF, like there...

View Article


Image may be NSFW.
Clik here to view.

Comic for December 5, 2012

View Article


Timer 3 config for HPWM using remappable pins

Hi all, Hope everyone has their Xmas wishlist prepared for Santa :P Quick question... trying to use Timer3 on an 18F26J53 together with HPWM command to make an LED go dim/bright/dim/bright etc... Code...

View Article

Program Structure

As my programs are getting larger I am trying to improve my Program Structure. I remember reading Posts about this subject in the past but have been able to locate only one post on the subject....

View Article

pbp and linux

I was just curious how many people out there use linux and what IDE they use. Im working on a project that adds onto gedit's language settings to allow pbp to be used and compiled from. Just getting...

View Article


Image may be NSFW.
Clik here to view.

Comic for December 6, 2012

View Article

Image may be NSFW.
Clik here to view.

I have problem to compile PIC18f4520

Please refer my attachment..I dont know what the problem...please help me...tq. Attached Images  

View Article

How to generate data to follow a sinusoidal trend

Hi All, I want to make a Tide simulator which will periodically send serial data, not hard at all. The problem is I want the sent values to follow the natural sine curve of tides. I can add the bells...

View Article


Bluetooth headset for non bluetooth devices?

Anyone know of a Bluetooth headset which includes both TX and RX modules for non Bluetooth devices such as inexpensive walkie talkies? The walkie end of the Bluetooth would connect to the mic/speaker...

View Article


24LC256 wrong address at reading

Hello all, I wonder if someone can help me with this problem. I'm storing manualy some values to 24LC256 with an external programmer and editor like this : :020000040000FA ' THis line was from a blank...

View Article

Newbie question on reading port staus

I am sure this is real simple: OK, so I have inputs on PortB.0 through PortB.7. How can I read the status of this as a whole? For example if PortB.0, PortB.1 and PortB.3 are all HIGH then I want to...

View Article

Image may be NSFW.
Clik here to view.

How to create 6 buttons?

Hello everyone! I'm trying to develop a basic queuing system, using 2 digit 7 segment. Currently I have 3 buttons to trigger a bell and increment the value display. So far the main functionality are...

View Article

Image may be NSFW.
Clik here to view.

Comic for December 7, 2012

View Article


better coding methods to freeing active ram in small pics

Hi guys , i have code that is now finding hard to fit using 128 bytes of active ram the pic has , is there link to a list of things to do in way of methods / checks that might help free up both active...

View Article

compile error - bad BANK statement

Hi guys , get an compile error using 3.06.1 " bad Bank statement " when defining a constant where a number is used as the first part of the name , is this a bug or am i missing something with naming of...

View Article


DT_14_int.bas - corruption of write data when in a Interrupt routine

HI , is it possible that data can be corrupted while doing a write to eeprom when in a interrupt routine using DT interrupts , if so how to avoid, maybe the dreaded pauseus command before returning...

View Article

Help in trying to set pins functions

I'm trying to set the pins functions of 16F723. As I'm total green to PICs I'm finding it hard to understand the datasheet, I've been trying to find info on how to read and understand the datasheet but...

View Article


Image may be NSFW.
Clik here to view.

Comic for December 8, 2012

View Article

basic question about OSCCON and HS_OSC

this is probably a pretty dumb question, but i have gotten rusty on PBP i have a design with the 16F819 chip and it was using INT OSC at 8MHz now i have a 20MHz resonator when i changed the DEFINE from...

View Article

Image may be NSFW.
Clik here to view.

Comic for December 9, 2012

View Article
Browsing all 4748 articles
Browse latest View live