EmbeddedRelated.com
The 2024 Embedded Online Conference

problems with PIC12F675 GPIO

Started by ajellisuk in Piclist15 years ago 2 replies

Hi, I've just started a project using a PIC12F675. Just to get started I'm trying to drive all of the port pins high, but I'm having no...

Hi, I've just started a project using a PIC12F675. Just to get started I'm trying to drive all of the port pins high, but I'm having no success. I'm aware that the ports have multiple functions and need to be set up. I don't seem to have nay control over any of the pins. I'm using HI Tec PICC lite embedded into MPLAB 8.1. My code is: /* PIC 12F flash.c */ #include "pic12f6x.h" vo...


12F675 GPIO

Started by noodles123x in Piclist20 years ago 6 replies

Hi I'm a newbie trying to program the PIC12F675 using Hi-Techs PICLite C software. I'm having trouble setting the outputs...

Hi I'm a newbie trying to program the PIC12F675 using Hi-Techs PICLite C software. I'm having trouble setting the outputs when addressing them directly. If I do the following "GPIO = 0b00000110" It will turn on two outputs But, If I


adc program pic12f675 modified

Started by vaishnavi236 in Piclist20 years ago 3 replies

hello, keeping in mind all the suggestions i have modified the pgm for adc...but still the loop remains infinite .....i am not...

hello, keeping in mind all the suggestions i have modified the pgm for adc...but still the loop remains infinite .....i am not able to trace the problem even now .....please check this program and send me ur suggestions.....in one of the websites it was mentioned that


please help me with adc program for pic12f675 using mplab

Started by vaishnavi236 in Piclist20 years ago 4 replies

hi, i have written a program for adc. i am going to feed the a/d samples to the timer for the pwm module which is next... my...

hi, i have written a program for adc. i am going to feed the a/d samples to the timer for the pwm module which is next... my project is " MICROCONTROLLER BASED PWM FOR SOLAR PHOTO VOLTAIC POWER SYSTEM. THE PROGRAM written below is simulated using MPLAB 6.13 version.


Problems with wisp628 and PIC12F675

Started by holopoint.rm in Piclist20 years ago 4 replies

I tried programming (for the first time) a 12f675 with my Wisp628. The programmer can't read the target ID. IS this because I...

I tried programming (for the first time) a 12f675 with my Wisp628. The programmer can't read the target ID. IS this because I am not using the additional circuit (the 'dongle') ? http://www.voti.nl/wisp628/pics/dongle.gif


PWM FOR PIC12F675

Started by vaishnavi236 in Piclist20 years ago 2 replies

FOR PWM [code] OPTION equ 81h INTCON equ 0bh TMR equ 01h Bcf OPTION ,5 ; TOCS TMR0 CLOCK SOURCE SELECT ; 0=> INTERNAL INSTRUCTION CYCLE...

FOR PWM [code] OPTION equ 81h INTCON equ 0bh TMR equ 01h Bcf OPTION ,5 ; TOCS TMR0 CLOCK SOURCE SELECT ; 0=> INTERNAL INSTRUCTION CYCLE CLOCK bsf OPTION ,3 ; PSA PRESCALER ASSIGNMENT 0=> IS ASSIGNED TO WDT movlw ; I HAVE NOT YET CALCULATED THE VALUE TO BE FED ; TO TIMER movwf TMR0 bcf INTCON,2 ; clear TMR 0 overflow indication ; TOIF 1=TMR0 REG HAS OVERFLOWED & 0=DID NO



The 2024 Embedded Online Conference