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

Use of high / low priority interrupts - dt_int_18lp.bas ver 18f67k22 internal...

Hi guys , i am about to start using the interrupt priority of interrupts on a 18f67k22. for timer 0 , timer 1, timer 2, where timer 0 is low priority , timer 1 high , timer 2 low , this chip...

View Article


Image may be NSFW.
Clik here to view.

I can't read some input pins on a PIC18F4620

Please help me! I cannot get my pic to read pins RB.0 or RB.1 or RB.2. I want to trigger an interrupt on a PIC18F4620, by sending a pulse to INT0 from another pic. I couldnÂ’t get it to work, so I made...

View Article


Image may be NSFW.
Clik here to view.

Driving a 2x16 LCD with only One Pin and 74HC595

Hello, with the idea from this WebSide http://www.romanblack.com/shift1.htm, using the Darrel Taylor LCD_AnyPin.pbp + HighJack as a template and the willing to drive the LCD with only one Pin and to...

View Article

Image may be NSFW.
Clik here to view.

Assembler problem

I'm having a strange problem when using PBP on my new laptop. I'm away from home now, and don't have access to all my resources. I can compile using PBP (3.x) just fine. When I try to use the -n option...

View Article

18F4550 running 3.3V (serin2) and 16F877 running 5v (serout2), is possible?

Hello all, Somebody knows solve it? I have a circuit based on 18f4550 as RX (serin2) using 3,3v as power, and other circuit using 18f877a running 5,0V. I puted a 1k resistor of the TX to the RX pins...

View Article


Multiple version of PBP on same computer

I read a while back in a thread about the following: Multiple versions of PBP on the same computer. I.E. V2.42,2.50X, 2.6X etcetera. The reason is that some versions do not support newer versions of...

View Article

Help with some maths please

I want to display a few numbers on an 16x4 lcd. If I have 502, I want to divide it by 256 and display the number in decimal like 1.96 I have created a routine but something is wrong as the display is...

View Article

Can't WAIT

Hi Guys, IÂ’m using PBP 2.60 & MPLAB doing some RS485 between two PICÂ’s. The WAIT function of HSERIN will not work. If I follow HSERIN with str it immediately high lite STR and compiles fine. When I...

View Article


Sorry, yet ANOTHER mod question

First of all, I wish my brain and math got along with each other - but I guess I can't have everything. I'm trying to measure the input voltage of the circuit and display it on the LCD. To that end, I...

View Article


HEX2 statement result to variable?

Hello. I have the code: Code: lcdout $FE,$C0,"Hr:",HEX2 hh,":",HEX2 mm which works ok but when I want to use Code: A=HEX2 hh it does not works. How should I ?

View Article

Help with macro

I an trying to write a macro to replace several PBP statements. I want to replace this: Code: gl_x1 = 30 gl_y1 = 45 gl_x2 = 60 gl_y2 = 45 gosub gl_line with this: Code: @ glcdline(30,45,60,45) using...

View Article

Help with Hellebuyck reverse flashing led

This is what is in his book but it will not programme symbol led = b0 pins = %00000000 dirs = %11111111 main: for led = 0 to 7 high led pause 1000 low led pause 1000 low led next then the same only...

View Article

LM71 reads garbage sometimes.

Hello. I'm facing a strong problem with LM71. Sometimes it reads garbage. Changed IC, changed PIC, changed power supply - same problem. If I cycle power sometimes one time, sometimes 3 times, etc. it...

View Article


writing data from PIC to USB memorystick

Is it possible to write data from a PIC 18F2550 directly to a USB Memory Stick?

View Article

Image may be NSFW.
Clik here to view.

Types of resistors and capacitors

I'm making an Access database to "finally" keep an inventory of the gazillion parts I have lying around and to label drawers and cabinets. I'm tired of rumaging through bags and boxes. I've searched...

View Article


usb serial emulator

Does anyone here known the maximum speed of usb using in Serial emulator mode ? and is it easier than usb hid programming ? thanks in advance .

View Article

USB CDC serial duplex string example wanted

Does anyone have a beginners code example, say based on the PDS CDC demo bas file, that illustrates sending a complete STRING from the PC host to the PIC and then have the PIC send the string back to...

View Article


Generating a checksum

Hello all I realise this may seem easy to some of you, but I am having some difficulties grasping the concept and executing the generation of a checksum. What I have done is extract data from a GPS and...

View Article

Memory Required for GPS interfacing

Could someone pls check for me approx how much program memory is required for interfacing to a GPS module. Thank you very much.

View Article

Bruce @ Rentron / Help please

Bruce and I were in the midst of a design but as most know he has vanished. Assuming he is out of the business I will need the info he has for my gizmo. If anyone knows how to contact him please do so...

View Article
Browsing all 4745 articles
Browse latest View live