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

18F2550 With Problems

Hi everyone, I'm starting a small program with Pic 18F2550, but it doesn't work well... It should start with number 2 at Cnt_Lixo, and increment 1 every 1,5 seconds. Sometimes (one in ten...), it...

View Article


Image may be NSFW.
Clik here to view.

Cannot compile 16F15345

Can't find anything on forum. The default config doesn't work, nor any of my attempts to fix it. Latest IDE, latest PBP Gold 3.1. Current Microchip everything. This board worked fine with a 18F13K22...

View Article


12F683 PWM output not remembering.

I have a circuit using a 12F683. It uses a PWM output that controls LED brightness. When the user turns off the circuit and turns it back on - it needs to remain at the same brightness as when was...

View Article

ADC resolution for 16F616

I'm using a 16F616 analog input with a ADCIN routine. My resolution is 5V / 256 = about .19 mv. I'm using a voltage divider for the input with .1% tolerance resistors. Is there a better way to improve...

View Article

PIC16f877a ADC RESULT SHOING ON 7 SEGMENT

Hi, I am trying to perform analog to digital conversion on PIC16f877a. well the problem is when I am showing my result on led it working fine but when I am showing my result on 7 segment I have some...

View Article


Code verification errors 16F1847

Hi All, I have written a program developed on an 18F2620 and then ported across to a 16F1847 using 7786 words of program space. It uses DTInt's, a rotary encoder (menu selection) and a Nokia 3310...

View Article

Max Array Size?

Hi :) If your goal is to have the maximum RAM array size, what Pic, and what version Pic BAISIC would you be using, and what would that size be? The Pic can be any Pic BASIC supported Pic, and the Pic...

View Article

PIC 18F - read TMR0 registers in 16 bits mode

Hello All, I'm not used to play with 18F PICs so I'm having difficulties finding out how to read (if this actually IS the problem) TMR0H and TMR0L in a 16-bit mode configuration. This is what the holy...

View Article


Learning how to use USART

I'm trying to get one PIC to talk to the other. I'm not using MIDI messages at this point, but I am using MIDI hardware to connect the two PICs. The schematics are found here...

View Article


pb3 with pic 12f529T39A

hi to all, sorry there is a way to program pic 12F529T39A with pic basic 3? saw that it has the integrated radio transmission module ... fantastic thank

View Article

Indexing WORD variables goes wrong after index(0) - 18F1330

Hi All, I'm trying to store between 10 and 100 word variables in an array. But more than ONE stored variable will mess up all other values and the first one will be messed up too. For my tests, I've...

View Article

Some ASM Help Please

I am trying to use an all new PIC16F18426 for a personal project. I built a bench power supply, but the resolution on the LCD readout for Volts & Amps needed more resolution. The PIC16F18426 offers...

View Article

need help with PBP, I2C and MCP23017

I've decided to abandon 5 months of learning C++ so I could use Arduinos and going back to the superior PBP and PIC MCUs. Having said that, Arduino had the most fantastic libraries which made I2C and...

View Article


Aluminum core pcb fabrication Automotive lighting Copper base PCB supplier...

Hi, huanyupcb.com specializing in PCB manufacturing over 15 years,Covered Aluminum Core PCB,Copper Core PCB,Flexible Aluminium Based Circuit Board. LED lighting solutions for PCB supplier,MCPCB...

View Article

Image may be NSFW.
Clik here to view.

Nokia lcd include , small footprint to suit pic16's

Entire demo is 872 words ,its less than 1/3 size of other attempts and has same features and a full alpha-numeric font Attached Files nokia_DEMO.pbp.TXT‎ (1.8 KB) font7x5_16.BAS.TXT‎ (4.4 KB) nokia...

View Article


Help PBP code?

Which manual contains information for the statements in the code excerpt below, please? TIA... Mike Code: ;----------------------Strings------------------------------------ LCDSTR?CBB  macro Xin ,Yin...

View Article

Error when compiling with DT_INTS_3_4b"

I have been using the modified DT_INTS_3_4b for some time but, now when I try to use LOW PRIORITY interrupts I get the following ASM ERROR's: : Illegal character (=) : Symbol not previously defined...

View Article


inverting all bits in a byte

How do I invert all the bits in a byte? Eg %011010110 would become %100101001 I assumed, then read it was by using the tilde (~) function but I'm having trouble using it in code. eg if I had...

View Article

more i2c and mcp23017

I have a bunch of LEDs with anodes tied to Vcc through resistors. The cathodes are tied to the outputs of an MCP23107 port expander. I'm using the same setup I had for Arduino that worked, so I know...

View Article

16-bit version of the WS2801 chip

I've been using the WS2801 chips for a while now but I'm struggling to get my lights fading smoothly with only 256 steps. Does anyone know if there's a 16-bit version? Google didn't turn up any results...

View Article
Browsing all 4787 articles
Browse latest View live