Self Water Level Tank with Datalodgging

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Re: Self Water Level Tank with Datalodgging

Postby wstay » Tue Nov 13, 2012 1:08 pm

Thanks for much info zhenning,

i thought when setting up or initializing the UART there is a configuration state the Data bits which is 8 bits or 7 bits
if i use ADC 10bit conversion and send to UART; and is still okay ?

for the c files
#include "16F877A.h " // MCU select
#use delay(clock=20000000)
void main( ) // Main block
{

while(1)
{output_high(PIN_B6);
delay_ms(1000);
output_low(PIN_B7);
delay_ms(1000);}

}
I flash some of the example hex from Cytron it works on the hardware; but
I flash the hex file to my PIC16 through PIC KIT V2 and it doesnt work on the hardware; is it something wrong with my code
The simulation works as expected; using Proteus VM and i check the SFR; it did trigger the port
running on Windows 64bit
using CCS C Compiler
wstay
Newbie
 
Posts: 10
Joined: Mon Oct 29, 2012 6:10 pm

Previous

Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 2 guests

cron