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

How to send number greater than 65535 to MAX7219 BCD decoder?

I'm using 16F chip, so no support for long variables. But I have 8 digit led display connected to MAX7219 and I want to display on it say something like this variable 1 (2 digits) "-" sign, variable 2...

View Article


Modifying melabs sample code to set time to 24 hour for DS1302 ?

Hello. I'm dealing with this: http://melabs.com/samples/LABX1-16F877A/rtcx.htm It works fine, but I want it to display time in 24 hour format, not in AM/PM. After reading DS1302 datasheet, I've found...

View Article


Christmas Activity

Jingle bells, jingle bells... Christmas is coming soon. In order to celebrate Christmas, ALLPCB now hold an activity " Finding PCB Christmas Tree " from 2018.12.17 to 2018. 12. 25 in Facebook. Activity...

View Article

Neopixel shocker ?

Thought I'd pursue toying around with a 16 led Neopixel ring I bought, so have been searching a bit for code examples using Picbasic pro and it seems there is more to this than meets the eye. ---...

View Article

xc8 time.h dst

has anyone tried daylight savings time in xc8 ? // google yields no clues that I can find basic time structure is from time.h Code: struct tm {  int tm_sec;  int tm_min;  int tm_hour;  int tm_mday;...

View Article


Image may be NSFW.
Clik here to view.

SPIMAST + SPISLAVE adapted to 16F690

Hi there, Wanting to learn about SPI communication using the PIC's hardware feature, I've slightly adapted both SPIMAST and SPISLAVE examples to make them fit into a PIC 16F690. But I've been...

View Article

Merry Christmas And a Happy New Year...

From Me, I hope you all have a merry Christmas and a happy new year. N8NTA,

View Article

IOC on 16F1939

Trying to make use of DT-INTS-14 on a 16F1939 and detect Change on Port B. Code: '-------------  INTERRUPTS SETUP  --------------------- ASM INT_LIST  macro;    IntSource,  Label,      Type,...

View Article


Two questions / errors

Hi All! It has been a while since I was doing anything with PICs and now I am trying again! Okay, so one question is I could have sworn when you wrote a program you would see line numbers? I cannot...

View Article


HSERIN/HSEROUT strange behavior receiving data with DEC modifier

Hi All, I'm facing a problem I don't know the answer. I'm running this code with a serial comm loopback (MCS's Serial Communicator). As long as I'm sending 100% correct data (3 digits between 0..255)...

View Article

Loop algo problem

I am trying to make a complex loop and I suppose I am in a wrong mind loop... The project need a time base. Done in a ISR that counts seconds and minutes OK. The request is to have a var value change...

View Article

APA102 clear leds ?

By chance if anyone knows, I'm using a 12F675 and PBP to run a string of these leds and all is fine except I want to do a loop where they clear and sequence again. I know there is a start frame, the...

View Article

Image may be NSFW.
Clik here to view.

How do I send MANCHESTER encoded data over serial comm?

Hi All, I am wondering how I can really send MANCHESTER encoded data over serial comm. I'm tuning up a project involving the use of RF modules (such as TLM434) where MANCHESTER coding makes it possible...

View Article


Filling an array

Happy New Year to All- I am trying to do a simple dumb thing and the complier barks at me. I am trying to fill an array with hex numbers. Example below: x var byte 'Loop counter var L0B0 var byte[16] '...

View Article

ATTINY85 programming

I bought this Tiny AVR programmer -- https://www.sparkfun.com/products/11801 I've never had any experience with it. It needs the Arduino IDE which I installed but can anyone tell me will there be a way...

View Article


Instant Interrupts and a 18F8680

I am trying to use the RX1_INT in DT's Instant Interrupts with this chip and I get an error (actually 3 of them): NODE1.ASM (785) : Symbol not previously defined (RC1IF) " " (1365) " " " (1390) " I...

View Article

PIC to Pic Signaling

I have seen enough information on serial transfers to be sure there are people doing this, I'm just not sure the best way to inform the main controller that a secondary module has data and is waiting...

View Article


PWM Motor Control with Soft Start, Soft Stop Example Please

Hi All, It has been a while! I need to drive a small 12v motor with PWM speed control to include soft start and stop. I would like to keep the circuit board small and I have a bunch of 675's at my...

View Article

SD or MMC card as storage for logging

Thanks, I'll download this and see what I can learn. I appreciate your help. Mike

View Article

Dave Houston

One of our active members, Dave Houston has not been present since 2016. Also his site is down. Anyone knows why? Ioannis

View Article
Browsing all 4745 articles
Browse latest View live