Home > error 1347 > error 1347 mplab

Error 1347 Mplab

IDE Get Started Here Installation Minimum System Requirements Minimum Compiler Requirements Install MPLAB X IDE Linux 64-bit Dependencies Mac OSX 10.7+ Dependencies How to replace Java version installed with MPLAB® X IDE Migration from MPLAB IDE v8 Migrating to MPLAB® X IDE from v8 Major Differences Menu Comparison Menu Comparison File Menu Differences Edit Menu Differences View Menu Differences Project Menu Differences Debugger Menu Differences Programmer Menu Differences Tools Menu Differences Configure Menu Differences Window Menu Differences Help Menu Differences Tool Support Differences Migration Considerations Configuration Configuration Running Multiple Instances Switching USB Drivers (Windows) Manually Install USB Drivers (Windows) JVM Configuration Options Reset to Default State Options Window Options Window General General Editor Editor General Formatting Code Completion Code Templates Hints Macros Fonts & Colors Fonts & Colors Syntax Highlighting Annotations Diff Versioning Keymap Keymap C/C++ C/C++ Highlighting Embedded Embedded Build Tools Project Options Generic Settings Suppressible Messages Diagnostics Other Miscellaneous Miscellaneous Appearance Diff Files Issue Tracking Java Script Spell Checker Tasks Terminal Versioning Make MPLAB X IDE Run Faster Project Properties Memory Usage License Manager Hardware Tool Connections Project Build Speed Debug Simulator Speed Operating Systems Plug-ins Plug-ins Plug-ins Window Plug-ins Window Updates Tab Available Plugins Downloaded Tab Installed Tab Settings Tab Microchip Plug-ins Install a Microchip Plug-in MPLAB Code Configurator (MCC) Data Monitor and Control Interface (DMCI) Data Monitor and Control Interface Modes Requirements Installation Modify Capture RTDM Mode Runtime Watch Mode Videos Code Profiler Code Profiling Capabilities Requirements Plug-in Installation Plug-in Setup Starting the Code Profiler Code Profiling Window Graphing Profile Data Code Profiling C

Posts Today's Posts 1Next > Oct 31, 2013 #1 kuannygohcheetatt Thread Starter Member Oct 31, 2013 61 0 Code ( (Unknown Language)): //bimary 0b110 //hexadecimal 0xA //dec imal 110 #define XTAL_FREQ 4MHZ #include #include #include "delay.h" #include #include "lcd.h" #include __CONFIG(FOSC_HS & WDTE_OFF & PWRTE_ON & BOREN_OFF & LVP_OFF); //global variable unsigned char temperature; char ADC_VALUE[32]; char helo[32]; char helow[32]; unsigned char temp2 = 0; unsigned char finalpressure2; void pic_init(); unsigned int getAdd(); void main(void) { unsigned int adcValue; unsigned int adcValue2; unsigned char base; float voltage; float altitude; float voltage2; float pressure; float finalpressure; http://microchip.wikidot.com/faq:45 pic_init(); lcd_init(); DelayMs(10); while (1) { ADCON0 = 0b00001001; // DelayUs(1000); // GO_DONE = 1; // while (GO_DONE) { // continue; // } adcValue = getAdd();//((ADRESH << 8) | ADRESL); voltage = adcValue * 5.0 / 1023; voltage = http://forum.allaboutcircuits.com/threads/error-in-mplab.90946/ voltage * 100 + 3.0; temperature = (unsigned char) voltage; temp2 = (voltage - temperature)*10; sprintf(ADC_VALUE, "%d.%d deg Celciuselo h", temperature, temp2); lcd_clear(); lcd_goto(1, 1); lcd_puts(ADC_VALUE); DelayMs(1500); ADCON0 = 0b00010001; // DelayUs(1000); // GO_DONE = 1; // // while (GO_DONE) { // continue; // } adcValue2 = getAdd();//((ADRESH << 8) | ADRESL); voltage2 = adcValue2 * 5.0 / 1023; pressure = (((voltage2 / 5.0) + 0.095) / 0.009); altitude = (1-pow((pressure/101.1325),0.190263))*44330.32172; base = (unsigned char) altitude; sprintf(ADC_VALUE, "%d ", base); lcd_clear(); lcd_goto(1, 1); lcd_puts(ADC_VALUE); lcd_goto(2, 1); lcd_puts("altitude meter"); DelayMs(1000); sprintf(helow, "%.2f hpa", pressure * 10-3); lcd_clear(); lcd_goto(1, 1); lcd_puts(helow); DelayMs(1500); if (

ERROR [1347] #234262 - Tue Mar 06 2012 03:41 PM Edit http://forum.htsoft.com/all/showflat.php?Number=234262 Reply Quote Quick Reply i am using HI-TECH Software\PICC\9.83 version (lite version ). i am doing some project with a sensor which can communicate with I2C (without http://www.microchipkorea.com/html/support/tech_inquiry_view.asp?no=9378 address). So i am trying to compile this program but this program is giving an error . can anybody help me. program is below#include #include #include /***** modul-var ******/#define noACK error 1347 0#define ACK 1 //adr command r/w#define STATUS_REG_W 0x06 //000 0011 0#define STATUS_REG_R 0x07 //000 0011 1#define MEASURE_TEMP 0x03 //000 0001 1#define MEASURE_HUMI 0x05 //000 0010 1#define RESET 0x1e //000 1111 0#define DATA RB4#define SCK RB6#define DATA_DIR TRISB4#define SCK_DIR TRISB6int rh =0;typedef union { unsigned int i; float f;} value;enum {TEMP,HUMI};/***** writes a byte on the I2C-bus and checks the acknowledge *****/ char error 1347 mplab s_write_byte(unsigned char value){ unsigned char i,error=0; DATA_DIR =0; SCK_DIR = 0; for (i=0x80;i>0;i/=2) //shift bit for masking { if (i & value) DATA=1; else DATA=0; SCK=1; //clk for I2C-BUS _nop_(); //pulswith approx. 5 us _nop_(); _nop_(); SCK=0; } DATA=1; //release DATA-line SCK=1; //clk #9 for ack error=DATA; SCK=0; return error; }/***** reads a byte form the I2C-bus and gives an acknowledge in case of "ack=1" *****/char s_read_byte(unsigned char ack){ unsigned char i,val=0; DATA_DIR = 1; SCK_DIR = 0; DATA=1; //release DATA-line for (i=0x80;i>0;i/=2) //shift bit for masking { SCK=1; //clk for I2C-BUS if (DATA) val=(val | i); //read bit SCK=0; } DATA=!ack; SCK=1; //clk #9 for ack _nop_(); _nop_(); _nop_(); SCK=0; DATA=1; //release DATA-line return val;}/***** generates a transmission start *****/ void s_transstart(void){ DATA_DIR =0; SCK_DIR = 0; DATA=1; SCK=0; //Initial state _nop_(); SCK=1; _nop_(); DATA=0; _nop_(); SCK=0; _nop_(); _nop_(); _nop_(); SCK=1; _nop_(); DATA=1; _nop_(); SCK=0; }/*** communication reset: DATA-line=1 and at least 9 SCK cycles followed by transstart ***/void s_connectionreset(void){ unsigned char i; DATA_DIR =0; SCK_DIR = 0; DATA=1; SCK=0; //Initial state for(i=0;i<9;i++) //9 SCK cycles { SCK=1; SCK=0; } s_transstart(); /

Regulators Switching Regulators Charge Pump DC-to-DC Converters PWM Controllers CPU/System Supervisors Voltage Detectors Power MOSFET Drivers Battery Management Hot Swap Controller Linear Op Amps Programmable Gain Amplifiers Selectable Gain Amplifiers Comparators Mixed Signal Successive Approximation Register (SAR) A/D Converters Delta- Sigma A/D Converters Dual Slope A/D Converters Binary and BCD A/D Converters Display A/D Converters Digital Potentiometers Frequency-to-Voltage/Voltage-to-Frequency Converters D/A Converter Energy Measurement Battery Management Motor Drivers Safety and Securitysssss Horn Drivers Security Authenticationasfasfdasdf Smoke and CO Interface CAN Infrared Products LIN Transceiver Serial Peripherals LCD Drivers Ethernet Passive-Keyless-Entry Analog Front End Real-Time Clock Touch Sensing Technology USB Wireless Power Amplifiers Radio Frequency Infrared Security & Authentication Memory Serial EEPROMS Serial SRAM SST Serial Flash SST Parallel Flash SST Products Source & Source ¼¼¹Ì³ªÀÚ·á µ¿¿µ»óÀÚ·á ±â¼úÀÚ·á Data Sheet °Ë»ö Application Note Ç°Áú °ü·Ã ÀÚ·á FAQ ±â¼ú¹®ÀÇ/´äº¯ ±â¼ú¹®ÀÇ/´äº¯(º»»ç) °³¹ßÅø ¼ö¸® ¿äû ¿µ¾÷°ü·Ã¹®ÀÇ/´äº¯ ±³À° ¾È³»/½Åû Korea MASTERs ¾È³»/½Åû Korea Tech Fair ¾È³»/½Åû ±âŸ Çà»ç ¾È³»/½Åû ´Ý±â > °í°´Áö¿ø > ±â¼ú¹®ÀÇ/´äº¯ ±¸ºÐ 8ºñÆ® MCU Á¦¸ñ RE : float Çü printf Ãâ·Â ¹®ÀÇ ±Û¾´ÀÌ ±è¿µ±â µî·ÏÀÏ 2015-03-25 ÷ºÎÆÄÀÏ1 ÷ºÎÆÄÀÏ2 ÷ºÎÆÄÀÏ3 ³»¿ë ¾È³çÇϼ¼¿ä ¸¶ÀÌÅ©·ÎĨÀÔ´Ï´Ù.Áú¹®ÇϽŠ³»¿ë¿¡ ´ëÇÑ ´äÀ» º»»ç·Î ºÎÅÍ ¹Þ¾Æ Àü´ÞÇØ µå¸³´Ï´Ù.½Ã°£ÀÌ ¸¹ÀÌ ÁöüµÈ Á¡ Á˼ÛÇÕ´Ï´Ù.ÀÌ ¹®Á¦´Â float¸¦ printfÇϴµ¥ ÇÊ¿äÇÑ ¸Þ¸ð¸®¾çÀÌ ¸¹Àºµ¥»ç¿ëÇϽô µð¹ÙÀ̽ºÀÇ ¸Þ¸ð¸® »çÀÌÁî´Â À۾Ƽ­ »ý±â´Â ¹®Á¦ÀÔ´Ï´Ù.XC8 v1.34¸¦ ÀÌ¿ëÇÏ°í, --maxipic ¿É¼ÇÀ» »ç¿ëÇؼ­ ¾ïÁö·Î ±¸ÇöÀÌ µÇ±â´Â Çϴµ¥, ±×¸® ÃßõÀ» µå¸®°í ½ÍÁö´Â ¾Ê½À´Ï´Ù.float¸¦ printf·Î Ãâ·ÂÇÏ´Â °æ¿ì°¡ ¾ó¸¶³ª ¸¹Àº°¡¿¡ µû¶ó µ¿ÀÏÇÑ ¹®Á¦°¡ ¹ß»ýÇÒ ¼ö ÀÖÀ» °Í °°½À´Ï´Ù.¾Æ·¡ÀÇ ³»¿ëÀº º»»ç·Î ºÎÅÍ ¹ÞÀº ¸ÞÀÏ ³»¿ëÀÔ´Ï´Ù.°¨»çÇÕ´Ï´Ù.==================================================This is a case of not having a device that is big enough to fit the code. First, the floating point routines are large, and then the printf code is large as well.I ran the code with XC8 v1.34 with the --maxipic option (new in v1.34 version), that expands the memory to the maximum the architecture can handle ,to find, running in FREE mode like you did, that you need more space that you have available:Memory Summary: Program space used E8Ah ( 3722) of 8000h words ( 11.4%) Data space used 71h ( 113) of BE0h bytes ( 3.7%) EEPROM space

 

Related content

error 1347 ipod

Error Ipod p iPod classiciPod touchiPod shuffleiPod nanoiPod classicApple Branded iPod accessoriesOlder iPodsAsk a questionSubmit my question to the communityResetSearching for similar questions and communities Recent relatedl Content with augmented filters Refresh this widget Loading Page first Filter Reset Filtered by Type Solved questions Apple recommended answers Unsolved questions Categories Connecting to Windows Connecting to a Mac iOS Sierra Problem minutes ago views reply asked by bertair latest reply Kenichi Watanabe Ipod Classic Error hours ago views reply asked by medinadinda latest reply Kenichi Watanabe All of a sudden I opened my Audiotube app and the music is all gone

error 1347 0. can it find

Error Can It Find p IDE Get Started relatedl Here Installation Minimum System Requirements Minimum Compiler Requirements Install MPLAB X IDE Linux -bit Dependencies Mac OSX Dependencies How to replace Java version installed with MPLAB X IDE Migration from MPLAB IDE v Migrating to MPLAB X IDE from v Major Differences Menu Comparison Menu Comparison File Menu Differences Edit Menu Differences View Menu Differences Project Menu Differences Debugger Menu Differences Programmer Menu Differences Tools Menu Differences Configure Menu Differences Window Menu Differences Help Menu Differences Tool Support Differences Migration Considerations Configuration Configuration Running Multiple Instances Switching USB Drivers Windows Manually

error 1347

Error table id toc tbody tr td div id toctitle Contents div ul li a href Windows Error a li li a href Error Hi Tech a li li a href Error a li ul td tr tbody table p IDE Get Started Here Installation Minimum relatedl System Requirements Minimum Compiler Requirements Install MPLAB error mplab X IDE Linux -bit Dependencies Mac OSX Dependencies How p h id Windows Error p to replace Java version installed with MPLAB X IDE Migration from MPLAB IDE v Migrating p h id Error Hi Tech p to MPLAB X IDE from v Major

error 1347 0

Error p IDE Get Started Here Installation Minimum System Requirements Minimum Compiler Requirements Install MPLAB X IDE Linux -bit relatedl Dependencies Mac OSX Dependencies How to replace Java version installed with MPLAB X IDE Migration from MPLAB IDE v Migrating to MPLAB X IDE from v Major Differences Menu Comparison Menu Comparison File Menu Differences Edit Menu Differences View Menu Differences Project Menu Differences Debugger Menu Differences Programmer Menu Differences Tools Menu Differences Configure Menu Differences Window Menu Differences Help Menu Differences Tool Support Differences Migration Considerations Configuration Configuration Running Multiple Instances Switching USB Drivers Windows Manually Install USB Drivers

error 1347 hi tech

Error Hi Tech p Visited Search Results View More Blog Recent Blog Posts View More PMs Unread PMs Inbox Send New PM View More Page Extras Menu Forum relatedl Themes Elegant Mobile Home raquo All Forums raquo Development Tools raquo HI-TECH C Compilers raquo Error who can tell me the reason thanks Mark Thread UnreadFlat Reading Mode Error who can tell me the reason thanks Author Post Essentials Only Full Version bojin eaton com New Member Total Posts Reward points Joined Location Status offline permalink Error who can tell me the reason thanks Hi when I use Compiler HI-TECH C

error 1347 hy000

Error Hy table id toc tbody tr td div id toctitle Contents div ul li a href Mysql Alter View a li li a href Mysql View a li ul td tr tbody table p here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about relatedl Stack Overflow the company Business Learn more about hiring developers or posting p h id Mysql Alter View p ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question