Posts

SOLVED - Convert Arduino (AVR) float to Microchip float

Image
hello i have been working on project needs send floats 4 bytes pic 18f mcu.  i thought simple task until realized after head scratching microchip use different format float representation. have found info on differences location of sign bit.i found code on ccs forum (i own picc compiler) might able use make conversion don't see how implement  i appreciate this.  my result not seem anywhere expect.  i using windows 7 64bit , 1.0.5-r2. code: [select] [///from ccs forum - ttelmah float toieee(char data[]) {    //this routine turn float ccs format iee format    union {       float value;       char bytes[4];       unsigned int words[2];       unsigned long int lword;    } block;    int sign;    //first re-arrange byte order    block.bytes[3]=data[0];    block.bytes[0]=data[3];    block.bytes[1]=data[2]...

concatenate ints with cons chars

hi i trying print following on 1 line code: [select] serial.println(',,' += mapped_aux1 += '/' += mapped_aux3 += '/' += mapped_gear += '/' += mapped_flaps += '/' += wf_c += '/' += wf_wl += '/' += wf_fuf += '/' += lg_ud += '/' += lg_doors += '/' += lg_bof += '/' += cf_pos += '/' += cf_am += '/' += e_temp += '/' += e_choke += '/' += e_imomb += '/' += e_starter += '/' += c_oc += ','); mapped_aux1, etc integers. however following error when compiling, serial_coms:159: error: lvalue required left operand of assignment if use "/" instead of '/' following, serial_coms:159: error: invalid conversion 'const char*' 'int' serial_coms:159: error: assignment of read-only location '",,"' i know can using code: [select] serial.print(",,"); ...

ขอความช่วยเหลือด่วนคะ มีปัญหาการใช้ Swmenupro&#3629 - Joomla! Forum - community, help and support

Image
ตอนนี้มีปัญหาการใช้งาน swmenupro คะ ใช้งานได้ดีใน firefoxอะคะ เเต่ใน ie ไม่workมัน มั่วไปหมดเลยคะ รบกวนผู้รู้ช่วยหน่อยนะคะว่าต้องเเก้ปัญหาอย่างไรอะคะ ด่วนจิงๆๆ ขอบคุณมากนะคะ มั่วยังไงเหรอครับแบบไม่เข้าใจ.. มีภาพให้ดูอ่ะป่าว Board index Joomla! International Language Support International Zone Thai Forum

Prototype

can tell me why can't prototype sprite? sprite.prototype.sayhello = function(){ trace("hello"); } spr:sprite = new sprite(); spr.sayhello(); this gives 1061 error. although replacing last 2 lines mc:movieclip = new movieclip(); mc.sayhello(); works fine. first version works fine if turn off strict mode, don't want obviously. this works fine array.prototype.sayhello(){ trace("hello"); } arr:array = []; arr.sayhello(); it seems prototyping graphics causes same error. works, can tell me why produces compiler error? adobe trying move away prototype-based (classless) programming in actionscript, , as3 more true class-based oop. makes closer languages such java, , more powerful. why strict mode reporting should not using property new sprite class. recommend moving away type of programming , using classes affords more "power" , works better as3. More discussions in ActionScript 3 adobe

EMAIL LINK & NEWSLETTER ISSUES - Joomla! Forum - community, help and support

hello- i installed joomla virtuemart extensions , have been learning lot building website.  however, want people able 'email' products other people can't figure out setting product pages.  regular static pages it's easy because it's in properties, can't see products. also, i'm offering 'newsletter' option comes default joomla client.  want work because send out promotions past clients , want people have ability sign them.  unfortunately when types in name , email, link takes them http 403 forbidden error page??  i'm not sure why that, suggestions?  oddly enough, once you're taken error page, if go address bar, highlight , hit enter, takes subscribing area??  wrong??  how fix it?? thanks, my site http://www.bellagracecandles.com -mike Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

URL masking/cloaking IIS - Joomla! Forum - community, help and support

hi guys, i wondered if of point me in right direction following... i have external domain name registered through 1 & 1 frame redirected domain name hosts files. when 1&1 domain name entered redirects server hosts files address bar shows hosted url , not entered url. is there way cloak or mask url shows 1&1 url though files on different domain? thanks, steve. hello,   can replace index.html file on host 1&1 : 1&1 domain this way browsers show content of http://www.hostdomain.com 1&1 url in address bar. is mean? Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Copying slides

Image
hi there, am wondering if copy , paste function used in captivate cause corruption. if building session , find need slide, best practice capture slide or copy , paste existing slides? my current protocol copy , paste slides captured. however, notice when clean out library files (select , delete unused items) large proportion of list 'copy of background' files. assume 'copy , paste' protocol cause of these files in library. want know if come bite me? cheers hi the_goods while don't think shooting in foot duplicating of slides, might gain efficiency making not of slide copying, configuring background of duplicated slide same used slide duplicated. think having several "copy of" backgrounds, increasing amount of space used store them. but that's thing can think of... rick More discussions in Editing adobe