Posts

Showing posts from September, 2010

Template solo Div e Css - Joomla! Forum - community, help and support

Image
ciao tutti... dato che dovrei fare un template per un sito in soli div + css (quindi validarlo) e farlo da 0 mi occuperebbe troppo tempo tra capire come si fa, farlo e correggerlo per ie volevo chiedere se esiste un template per joomla in soli div e css così parto da quello come base e lo modifico! ah, deve avere tutte le sezioni come advert, user1, user2, top ecc ecc.... sareste gentilissimi altrimenti non proprio come fare! grazie prova joomlanation. lo trovi sia qui che qui . io pensa che l'ho usato per cominciare capire il meccanismo dei div e dei css. non ha tante posizioni... te lo dico subito.... ma magari ti posso aiutare, anzi ti possiamo aiutare noi del forum modificarlo. se magari joomlanation non fà per te.... fai come ho fatto io: su google cerca "joomla template tableless".... qualcosa dal fondo rosicchi sempre! Board index Joomla! International Language Support International Zone Italian F

problema con rfid

Image
ciao tutti ho un rfid rc522 , arduino e un servomotore.. ora devo creare il codice della rfid in modo che quando accetta la carta inizia girare il servomotore .. questo mi serve per il progetto di scuola  ma purtroppo non riesco trovare un codice fatto bene che tratti ciò.. cortesemente qualcuno sa come fare ? oppure se lo possiamo fare insieme perchè mi serve il prima possibile grazie tutti questa libreria l'hai vista ? https://github.com/ljos/mfrc522 Arduino Forum > International > Italiano > Software (Moderator: leo72) > problema con rfid arduino

Arduino primo utilizzo

salve tutti, ho comprato arduino uno r3 la mia intensione  è quella di comandare l'accenzione di alcune lampade 220 sia da remoto che da contatto magnetico (aprendo una porta si accenderà un gruppo di lampade ) e alla chiusura si spegneranno, ma vorrei comandare le stesse luci anche da dei pulsanti in parallelo. mi chiedevo se qualcuno sa se è possibile farlo e cosa mi serve di preciso. grazie certo che è possibile farlo e non è nemmeno difficilissimo. ma, giocare con la 230vc è molto pericoloso (mortale) se non si sa più che bene cosa si fa si rischia molto! in ogni casi ti serviranno dei pulsanti (forse meglio interruttore) da bassa tensione, delle resistenze diciamo da 10k (1/4w) poi dei relè con bobina da .. non 5v 12v vedi tu. un transistor per ogni relè. e il contatto magnetico che dicevi tu. io ci aggiungerei un bel alimenatatore anche sai per relè.... poi una scatola in pvc per impacchettare tutto (non si lascia la 22vac libera), poi vari conn

P2 seems to stumble a bit writing a lot of files - Raspberry Pi Forums

i'm proud owner of pi 2 after year pi 1. nice. used kodi , multimedia. nice. 1 function use pi storing large backup ( 15,000 files, 10gb ) 2x/wk. pi 1 fine. pi 2 seems stumble bit @ random points during process. proftp installed pi app. several times stumble has stepped on usb attached drive's ( 250gb ) fat table rendering drive unusable , needing reformat. ( ) write 10gb backup usb drive, walk on pi 2, plug usb drive in , copy 15,000+ file backup. works every time. i'm accomplished linux user. suggestions on appreciated. can ftp copy gargantuan .mpg files or 100's of small files drive reason huge numbers of files makes stumble. same thing happens both wheezy , kodi. help. how copying files error files copied raspberrypi

Copy/Paste or Import All Project Objects?

Image
greetings: i new captivate, , first time working existing powerpoint slides presentation. imported slide deck, , spent few long days voice-overs, highlights, timing , like. i guess wasn’t paying attention should have when looking @ previews, when played whole project there flicker/whiteout between slides. imported deck blank presentation , ran preview without adding other objects, , same thing happened again. i tried once more, changed “imports slides as” option default animation background image, , preview ran fine, minus flicker. fault not checking output more before spent time on project, now. i hoping salvage lot of work importing objects project flicker new one. ideally, map slide flicker 1 objects slide 1 new project, slide 2 objects slide 2, , on. there way automate conversion, or have import slides project flicker , copy , paste objects corresponding new slides? thanks in advance assistance. karl hi karl assuming flicker project , desired project 2 different files, s

Joomla 1.5 - Joomla! Forum - community, help and support

undrar om någon har koll på hur pass stabilt det är att använda 1.5 redan nu. buggar den mycket eller kan man köra den utan problem trots att det är beta? 1.5 är inte tillräcklig stabil för att att användas på en webbplats. det har hunnit hända rätt mycket sedan betan släpptes och en mer uppdaterad version kan laddas ner från nightly builds (för test ändamål). http://dev.joomla.org/content/view/17/60/ det är fortfarande många buggar som behöver hittas och fixas till. Board index Joomla! International Language Support International Zone Swedish Forum Äldre versioner Forum Joomla! 1.0 Installation, backup och säkerhet

Link checker problems with javascript

i using link checker in dreamweaver mx 2004. within site checking have significant number of "script" subdirectories contain files of javascript functions. many of functions write links html pages maintained 1 directory higher [e.g., document.write('href="./styles/changes.css" ' )]. relative paths of these links correct html file in javascript runs not relative position of .js file function resides. causes hundreds of broken links reported not problem. there way can tell dreamweaver ignore checking links within javascript or filter results eliminate reporting these links broken? More discussions in Dreamweaver support forum adobe

USB Host Shield for Micro

hoping can point me in right direction.  i'm new whole hardware thing,  , wouldn't have chance developing @ point,  i'm hoping exists. i started arduino experimentation because of need not find solution for.  reading value off of usb scale on keypress , transmitting keystrokes computer.  pretty simple once did research went , got leonardo , usb host shield, added in button tossed thing enclosure,  few lines of code , presto.  worked great.  know rating doesn't allow 5v usb connection, of testing far haven't had add external power push 7v. now mission simplify it.  ultimate goal single small board solution small nubmer of components have several hundred of these made. start down path got micro,  seamed obvious move leonardo.  picked gravitech usb shield nano.  made sense pinout matches micro micro having few pins nano wouldn't pass shield (i don't know if hold true or not haven't made far enough able test).  then hit first problem.  gravitech bo

Getting errors while compiling the GSM test codes

hi everyone, my objective: perfoming basic tests on "gsm/gprs modem" not shield. i have gsm/gprs modem me , trying basics tests choose following code , code site http://arduino.cc/en/tutorial/gsmtoolstestmodem#.uyvjx9soc7h and code code: [select] /* example test if modem working correctly. circuit: * gsm shield attached (using digital pins 2, 3, , 7) created 12 jun 2012 david del peral modified 21 nov 2012 tom igoe */ // libraries #include <gsm.h> // modem verification object gsmmodem modem; // imei variable string imei = ""; void setup() {  // initialize serial communications  serial.begin(9600);  // start modem test (reset , check response)  serial.print("starting modem test...");  if(modem.begin())    serial.println("modem.begin() succeeded");  else    serial.println("error, no modem answer."); } void loop() {  // modem imei  serial.print("checking imei...");  imei = modem.getimei();  //

Help with mullvad/distro - Raspberry Pi Forums

Image
hi there guys, first off love pi 2, amazing bit of kit intend use kodi box love dabble in linux , have tryed install "mullvad" (a vpn service) there no reason why want install more have tried install/get working more want working. aware may have speak community's distro using wondering if else having problems? problems raspbian - when try install after installing gdebi dependency missing error no matter cannot run , complete , when have somehow installed it refuses connect. have installed openvpn network stuff , on , still cannot connect. ubuntu "linaro" - same above did install. ubuntumate - installs not connect, installed openvpn , on , imported mullvad's settings way , when restarting openvpn using command says going use mullvad stuff not? out there trying same me? have found raspimate install @ following link http://www.raspbian.org/piscesmateimages not boot on pi 2 using win32 image installer assume original pi. did try install mate thr

URGENT!: Flash and Vista -- writing to files

hi - i have swf being delivered separate application via cd. when application opens first time, queries os locale (since flash can't anymore), , writes text file reads: country=xxx (where xxx name of country). swf loads text file in , uses variable display pieces of animation pertain user's country. the swf in \help\flash. text file in \help\xmlmenu. actionscript uses relative path load text file. works great in windows xp. in vista, because these files in "program files" directory, application doesn't have admin privileges, can't write text file. i thinking hard-coding path application data folder, since vista installed on c: or d:, won't work. there way query windows installation drive is? or can flash query registry entries? i'm using flash 8, 2.0. any other ideas? i'm desperate here -- software's supposed release in 2 weeks! thanks. miriam More discussions in ActionScript 1 and 2 adobe

[station météo]Capteur anénomètre

Image
bonjour je suis sur un projet de station météo , cela va regrouper plusieur capteurs,je m'occupe des capteur du vent .je sais pas  par  ou commencer au niveau de la programmation que ce soit sur la girouette ou l'anénomètre.je n'arrive pas recevoir le signal de l'anénometre ou de la girouette. je me demandais est il faut que j'utilise une librarie en particulier (ex: 1 wire ) mon programme pour le capteur anénomètre: int anenometre=1; int compt=0; void setup() { serial.begin(96000); attachinterrupt(anenometre,comptage,rising) ; } void loop() { serial.println(compt) ; delay(1000); } void comptage() { compt ++; } j'utilise ces capteurs http://www.lextronic.fr/p28024-capteur-girouette.html http://www.lextronic.fr/p28025-capteur-anenometre.html relier cet carte -->https://www.sparkfun.com/products/12081 qui reliée à la carte arduino. je vais aussi  fabriquer un interface avec des boutons + leds+afficheur lcd (pour programmer l'afficheur j'utilse

[OBSOLETE] - Undefined property: MagpieRSS::$etag - Joomla! Forum - community, help and support

this error comes , goes intermitent when using module mod_feed. when reloading page error gone. notice: undefined property: magpierss::$etag in d:\server data\www\d0000\sss\libraries\magpierss\rss_fetch.php on line 156 rss feed location: http://svt.se/svt/road/classic/shared/x ... sp?d=21192 using windows xp joomla 1.5 beta apache 2.2 php 5.1.6 mysql 5.0.24a firefox 1.5 / ie 6.0 any ideas??? best regards jan this still exists in 5747 , 5761. it seems have cache? after cache timeout??? error pops up. realoding page , disapears until probobly cache has timeout. Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Quality and Testing - Locked and Archived Q&T 1.5.x Resolved

RPi2 memory map - Raspberry Pi Forums

first, awesome document qa7 available us! now, arm control logic right above gpu peripheral address space (as set 'default' gpu-boot)? address 0x4000 0000 arm physical address? it's not clear me lower memory regions might used gpu such arm-side should not mess it. vc sdram? what's 'safe' address range arm programs when default files - bootcode.bin , start.elf used? i've gotten impression low addresses (0 - something) have special (gpu-related) use. turboscrew wrote: first, awesome document qa7 available us! i agree that. now, arm control logic right above gpu peripheral address space (as set 'default' gpu-boot)? address 0x4000 0000 arm physical address? yes. it's not clear me lower memory regions might used gpu such arm-side should not mess it. vc sdram? what's 'safe' address range arm programs when default files - bootcode.bin , start.elf used? i've gotten impression low addresses (0 - something) have special (gpu-relat

probleme d envoie sms avec sonny ericsson K700i

j'ai un probleme pour envoyer un sms d'aprés un sonny ericsson k700i .. en faite j'utilise un cable data de k700i .. couleur vert de cable (tx)=> rx arduino couleur  jaune de cable (rx)=> tx arduino couleur noir de cable (gnd)=> gnd arduino voici mon code arduino : code: [select] #include <softwareserial.h> softwareserial serial2(2, 3); // rx, tx pins void setup(){   serial2.begin(9600); serial.begin(9600); } void loop() { sendsms() ; delay(5000); } void sendsms(){ serial2.println("at");          delay(3000);        serial2.println("at+cmgf=0"); // set pdu mode   delay(3000);    serial2.println("at+cmgs=23");    delay(3000);    serial2.print("0011000891122219730000aa0cc8f71d14969741f977fd07"); // enovoyer how ? à 21239137    delay(3000);    serial2.write(26); //ctr+z    delay(3000);    serial.println("send!");         } ( ps: les commandes at  fonctionnent trés bien sur l'hyperterminal)

Making a fridge like program.

hello users. i making "fridge" program, need arduino board start cooling when it's on 25  degrees celcius, , stop cooling when it's below 23 degrees celcius. this using dht library this i've far. code: [select] // example testing sketch various dht humidity/temperature sensors // written ladyada, public domain #include "dht.h" #define dhtpin 2     // pin we're connected to // uncomment whatever type you're using! //#define dhttype dht11   // dht 11 #define dhttype dht22   // dht 22  (am2302) //#define dhttype dht21   // dht 21 (am2301) // connect pin 1 (on left) of sensor +5v // connect pin 2 of sensor whatever dhtpin is // connect pin 4 (on right) of sensor ground // connect 10k resistor pin 2 (data) pin 1 (power) of sensor dht dht(dhtpin, dhttype); int cooler = 12; void setup() {   serial.begin(9600);   serial.println("dhtxx test!");   pinmode(cooler, output);   dht.begin(); } void loop() {   // reading temperature or humid

Gaming website - Joomla! Forum - community, help and support

Image
here's latest design - http://giery.eu - joomla-based gaming website. i know won't able rate content in polish, rest? :-) hi m8, i site! you use colors , it's cleary navigate through. lose of adsense though... doesn't contribute , it's quite present. keep . tc Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed 1.0 x Site Showcase - Archived.

struggling to increase and decrease motor speed - Raspberry Pi Forums

hi guys need bit of getting code bellow working works kind of outputs data when run code cant increase , decrease speed want. please advise need change forward 0 reverse 0 acceleration 0 forward 10 reverse 0 acceleration 10 forward 20 reverse 0 acceleration 20 forward 30 reverse 0 acceleration 30 forward 40 reverse 0 acceleration 40 forward 50 reverse 0 acceleration 50 forward 60 reverse 0 acceleration 60 forward 70 reverse 0 acceleration 70 forward 80 reverse 0 acceleration 80 forward 90 reverse 0 acceleration 90 speed @ peak forward 90 reverse 0 acceleration 90 forward 90 reverse 0 acceleration 90 forward 90 reverse 0 acceleration 90 forward 90 reverse 0 acceleration 90 forward 90 reverse 0 acceleration 90- forward 80 reverse 0 acceleration 80 forward 70 reverse 0 acceleration 70 forward 60 reverse 0 acceleration 60 forward 50 reverse 0 acceleration 50 forward 40 reverse 0 acceleration 40 forward 30 reverse 0 acceleration 30 forward 20 reverse 0 acceleration 2

6 buttons and analog pin

hello everybody. i'm using a5 read presses of 6 buttons , printing pressed. problem program registrates 1 press of button couple of presses. press first button twice, program print number 1 (first button) 3 or 4 times. suppose should debounced, don't know how on analog pin. on picture, buttons go 1 6 right left. code: [select]   int old_button = 0; int button; int pressed_button; int z; void setup () {   pinmode(a5, input);   serial.begin(9600); } void loop () {   z = analogread(a5);   if (z > 1021) button = 0;                                              else if (z > 511 && z < 514) button = 1;                        else if (z > 680 && z < 684) button = 2;                  else if (z > 766 && z < 770) button = 3;                  else if (z > 817 && z < 822) button = 4;                else if (z > 851 && z < 856) button = 5;   else if (z > 875 && z < 880) button = 6;   else button

2 bugs and testing - Joomla! Forum - community, help and support

hi i have included first release (rc1) of pms (personal message service). it still contains 2 bugs far know. there 2 bugs cant fix. please download file , test , trie fix 2 bugs. if can fix 2 bugs ill put name credits. please find other bugs also, if excists. cheers , thx in advance ps. 2 bugs discribed in todo.txt file http://forge.joomla.org/sf/frs/do/viewsummary/projects.pms/frs Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Instrucciones a distancia - Raspberry Pi Forums

buenas, estoy desarrollando un pequeño proyecto pero me encontrado con un problema resolver: una de las fases del proyecto es poder enviarle instrucciones desde una app móvil la raspberry. la idea es que esa raspberry esté conectada en cualquier sitio y en cualquier momento, por lo que no me sirve un port forwarding ni un no-ip (dns) pues habría que estar modificando el router. planteado la solución de que se conecte mediante "curl" un servidor web, donde va comprobando continuamente en un bucle las instrucciones que debe ejecutar. el problema es que una sola raspberry lo soporta sin problemas, pero de poner alguna más, temo que se sobrecargue el servidor con tantas peticiones (hace varias por segundo y me interesa que la recepción sea instantánea). visto el tema de weaved, pero no suelo confiar en usar proyectos de terceros por la posibilidad de que un dia te deje el proyecto caído. se os ocurre alguna alternativa en la que un servidor envíe instrucciones una raspber

Data Structure

i need creat data structure pass wsdl function. 3 of 5 fields needs set null, can 1 please help. have far. problem tried set "", when running cfmx give me error of "string index out of range: 0 ". if set variables " "(with space in between) function works, not recognize null value on it's end <cfset profile = structnew()> <cfset profile.userid = "username" /> <cfset profile.password = "password" /> <cfset profile.batchid = " " /> <cfset profile.sessionid = " " /> <cfset profile.errorcode = " " /> do have control on wsdl method itself? if so, that'd better place @ converting empty string null value on insert (assuming it's doing sql insert). or maybe this: http://www.petefreitag.com/item/524.cfm ? More discussions in Advanced Techniques adobe

Thread: Problem with dhcp on 9.04 server

hi all trying convert old machine firewall having problem dhcp on internal side have , im trying :- map of im doing :- cable modem > router/firewall > old machine (as firewall) > switch > other computer connect right connection old machine router/firewall works fine , internet no problem @ all, connection old machine other computer not work has dhcp configured run on nic going other computers when other computers try ip comes ip means dhcp server cant found or did not respond. 2 nic configured follows nic 1 going router/firewall ( 1 works) address 192.168.1.2 netmask 255.255.255.0 gateway 192.168.1.1 nic 2 going other machine dhcp runs address 192.168.0.1 netmask 255.255.255.0 gateway 192.168.1.2 dhcp not assign ip's other machine ideas im doing wrong many if you're using dhcp3 server, in /etc/dhcp3/dhcpd.conf ? Forum

VPS server crashes - Joomla! Forum - community, help and support

hello have vps service http://www.nuthost.com , in service i´m hosting 200 joomla sites, of them joomla 1.0.11. 3 of them have real heavy traffic, , 1 of 3 sites have 3000 visits per day. the vps characteristics: pentium d 2.80ghz 256mb ram hdd 20gb eide the sites characteristics: joomla 1.0.11 or 1.0.8, mambo 4.5.3.1 the real traffic sites joomla 1.0.11 seo enabled , opensef installed in 200 sites the components installed: akobook performs or artforms zoom media gallery opensef , 404sef the real traffic sites: www.cooperadoras.com.ar www.escolares.com.ar www.cooperadorasciudad.com.ar the problem quite simple...the server crashes , hosting provider saying joomla... please, apperciate advise on this.. thanks lot!! 1. 404 sef resource hog - if need have sef urls other joomla core use opensef 2. if it's not enough use core sef only 3. optimise each , every site 4. enable caching everywhere 5. use php oo accelerator 6. tweak database caching optimum performance Boa

PI 2 Startup LEDs? - Raspberry Pi Forums

hi folks. got pi2 yesterday. flashed snappy ubuntu card, wanted start up. realized don't have hdmi monitor cable (nor free monitor) have vga can use. bought hdmi->vga adapter. set up, plugged in. nothing. there flashing leds need watch? i'm reflashing card now, i'd know if should watching anything. monitor says no signal. nothing happening. please let me know mess around thing. cheers p.s. waiting freebsd installers. heh. see here: http://www.raspberrypi.org/forums/viewt ... 91&t=83446 raspberrypi

Thread: MP3 handling disabled from FFMPEG

when installed updates, mp3 handling feature of ffmpeg got disabled. how repair bug? kindly help. you need enable encoders ubuntu disabled default. unfortunate decision ubuntu in opinion , causes many problems users. however, easy problem fix: howto: enable mp3, mpeg4, aac, , other restricted encoding in ffmpeg Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] MP3 handling disabled from FFMPEG Ubuntu

Design View in Dreamweaver 8

the design view in dreamweaver 8 of webpages looks nothing webpages online. example, website has black background in design view white. can make changes , when page goes online looks ok able work on page viewed online , not in &quot;black , white&quot; version. have used dreamweaver while no problems, after bought new computer , installed dreamweaver , loaded in website, haven't been able figure out how design view pages online. sorry if not explaining problem in technical terms, guess if able solve own problems. can take time me or figure out problem matter. my first guess there external css file that's present on remote site not locally. or there scripting involved in making link to css file. if check links on page, there broken link .css file? -- alan adobe community expert, dreamweaver http://www.adobe.com/communities/experts/ More discussions in Dreamweaver support forum adobe

pdf - Joomla! Forum - community, help and support

Image
hi! i've made new component joomla!, i'm trying put pdf, mail, print icons, i've read api http://help.joomla.org/index.php?option ... &itemid=60 but i've copy example doesn't work  someone can me?? thanks. hello, one thing need keep in mind when implementing these features need make them "do" something; there isn't default action of them. however, can @ code com_content idea of how implement them component. or having troubles getting icons display in first place? Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Joomla! 1.0 Coding

Raspberry Pi 2 et Android ? - Raspberry Pi Forums

bonjour à tous, il y beaucoup de carte inspirés de la raspberry pi, elles sortent avec une prise en charge incroyable de système d'exploitation disponible directement à partir des sites constructeur. par exemple : odroid c1, banana pi, orange pi, ces cartes proposent toute android 4.4.2. la communauté de la raspberry pi est beaucoup plus importante mais je n'ai pas trouvé de portage de android 4.4.2 pour la raspberry pi 2. savez vous si il existe un projet de android 4.4.2 pour la raspberry pi 2 ou autre version de android ? merci à tous sabrina wrote: bonjour à tous, il y beaucoup de carte inspirés de la raspberry pi, elles sortent avec une prise en charge incroyable de système d'exploitation disponible directement à partir des sites constructeur. par exemple : odroid c1, banana pi, orange pi, ces cartes proposent toute android 4.4.2. la communauté de la raspberry pi est beaucoup plus importante mais je n'ai pas trouvé de portage de android 4.4.2 pour

Data type correct for some records, not for others

hello~ i adding records table append query in access. column names , types same. however, when @ query results on web page (how outputting data), page displays older records present in table, not work new records append table. seems hanging on particular number field, practicetypeid, similar other fields in table come before it, , seem pulling fine! have attached error , query, big question is, why records work , others not? please help! thanks! semi star gazer wrote: > have attached error , query, big question is, > why records work , others not? there number of potential problems queries. 1) "practicetypeid" column have value? empty or null values cause syntax error in second query. 2) column named "id" exists in both mentors , practicetype table. because using select mentors.*, (ie select columns), query results contain 2 columns same name: "id". may cause issues. use column list instead, , eliminate duplicate column names using aliase

Thread: Who quoted me thread!

Image
would possible add "who quoted me" option can notified when quotes post? i see taking moderate amount of space, sound idea. Forum The Ubuntu Forum Community Ubuntu Community Discussions Forum Feedback & Help Who quoted me thread! Ubuntu

Thread: ubuntu hangs during installation

Image
hello, attempting install ubuntu 9.04 on windows pc. during installation process, black screen ubunto logo , progress bar, when progress bar completes, orange background looking screen , nothing else. non responsive. (can't caps-lock light on keyboard) forced hard-reset. hardware: -motherboard: ecs pm89ot-m -processor: x86 family 15 model 4 stepping 3 genuinintel ~3182 mhz -ram: 4 gb ddr2 -hard drive 1 (original windows drive): western digital 250gb sata drive -default xp main+recovery partitions -hard drive 2 (going os drive): western digital 250gb sata drive -patitioned 3 149 gb primary partitions, blank , unused. -also contains 1 18.75 gb secondary partition later use paging file + mbr, blank. process: -downloaded iso image 9.04 official site. -ran .iso chach checksum utility on .iso image, checked out okay. -burned standard 700 mg cd-r -reset computer, booted cd, ran on-disk checking utility, checked out okay

[SOLVED] Help with "dynamic" statement with string and pin state

here code: code: [select] else if (txtmsg.compareto("status") == 0)  {     string statustxt = "";     pinstate = digitalread(pin);     if (pinstate == 1){     sms.remotenumber(remotenumber, 10);     sms.beginsms(remotenumber);     sms.print(statustxt);     sms.endsms();     }  } i need complete code next (my pseudo code) if txt message status next: if pinstatus == 1     sting is: relay 'pin' on else string is: relay 'pin' off sms.remotenumber(remotenumber, 10);     sms.beginsms(remotenumber);     sms.print(string);     sms.endsms(); my brain stuck, mean stuck @ how create 1 string 2 states. quote my brain stuck, mean stuck @ how create 1 string 2 states. probably because isn't want do. want create string (or string) 1 of 2 different states. code: [select] char stg[32]; if(i == 27)    strcpy(stg, "the value 27"); else    strcpy(stg, "the value not 27");   random                      

Poor graphics resolution

i using framemaker many years , need convert user manual ms winhelp format. many years have used webworks pro software , have downloaded robohelp evaluation version. seems work fine generated graphics resolution in jpg, gif or bmp low , lower obtained ww. moreover, arrows added framemaker on graphic become line in bad resolution. possible increase images resolution on robohelp output ? i have searched everywhere in menus, ... , no answer. best regards More discussions in RoboHelp adobe

code problem

hi people im having bit of trouble complying code arduino. have built 2 codes peltier  1 controlling if hot , 1 controlling cold. im wondering if way can combine 2 , have function allow me switch  tow codes rather me uploading them @ different times. code: [select] //peltier hot float tempc; int temppin = 0; // temp output plugged analogue 0 int peltier = 9; // pwm pin 9 connected base of transistor int fan = 3;// small fan connected pin 5 void setup() { serial.begin(9600); pinmode(peltier, output); pinmode(fan, output); } // write loop tell arduino temp feed back void loop() { serial.print(" temperature= "); tempc = analogread(temppin); // obtaining temp pin reading , setting equal temp c varialble tempc = (5.0*tempc*100)/1024.0; // convert analog input temperature in celcius serial.print((byte)tempc); // output converted temperatur pc. if (tempc >45) { digitalwrite(fan, high); digitalwrite(peltier, low); { delay (500); } } else { digitalwrite(fan, low); digital

Ritardo nella lettura del sensore

Image
salve, stasera vi porto un altro mio problema, grazie della pazienza  nel mio progetto utilizzo un sensore dht11 (temperatura e umidità) leggo dati tramite l'apposita libreria "dht" il problema è che il tempo impiegato per la lettura varia tra 1 e 3 secondi ritardando il resto dei processi. un esempio pratico è l'orario che visualizzo su un display, nella funzione loop aggiorno questo orario prendendolo da un modulo rtc esterno una volta al secondo, quando leggo il sensore l'orario salta direttamente 2 o 3 secondi per il tempo impiegato nella lettura. se mi trovassi su altre piattaforme la prima cosa che farei è inserire la funzione di lettura del sensore su un thread secondario  che andrebbe ad aggiornarmi la variabile che poi stampo sull'lcd, però ho visto che processi simultanei sono abbastanza macchinosi con arduino, ci sono alternative? grazie tutti, buona serata. posso immaginare che la libreria dht comunichi con il sensore

Interrupt questions

i'm trying out interrupts first time. i've read them . want use them run program displays information on glcd while using delay function. want interrupt activate on button press perform function , go beginning of void loop(). know interrupts stop delay function fro working 'm using delaymicroseconds function.  problem code below program doesn't respond every button push , when respond led 13 switches state immediately. hardware debouncing switch. main questions 1: have why led 13 switching sometimes. 2: why not respond @ sometimes 3: how go beginning of void loop interrupt function. code: [select] int pin = 13; volatile int state = low; void setup() {   pinmode(pin, output);   attachinterrupt(0, blink, rising); } void loop() {   digitalwrite(pin, state);   delaymicroseconds(10000); } void blink() {   state = !state; } an interrupt interferes timing while interrupt active. interrupt routine commendably short won't have effect on timing.

Bewegungssteuerung soll Leds faden

hallo, bin arduino -anfänger. habe mittels photodiode und infrarot led einen bewegungsschalter gebaut. damit soll einmal in der küche eine led-unterbaubeleuchtung bedient werden. die schaltzustände für eine led (testbetrieb) funktionieren, aber ich würde gerne noch eine fadefunktion beim ein-und ausschalten hinzufügen. ab hier geht es einfach nicht weiter. hier der code code: [select] // test küchenzeilenbeleuchtung // photodiode und infrarot led als bewegungsschalter // pin 8 geht über 1k widerstand int0 int inputpin = 0;      // input für photodiode int outputpin = 8;   // output für schaltsignal int val = 0;         // int ledpin = 10;        // output für led volatile int state = low;    // status schaltzustand schaltsignal void setup() {  pinmode(outputpin, output);      serial.begin(9600);  pinmode(ledpin, output);  digitalwrite(2, low);     // int0 auf low  attachinterrupt(0, toggle, rising); // isr auf int0 } void loop() {  digitalwrite(outputpin, low);    // ou

Come collegare un dislay 20x4 ad arduino

Image
salve ragazzi. oggi mi è arrivato un bellissimo display 20x4. vorrei collegarlo al mio arduino uno. il diplay ha 4 connessioni, vcc, gnd, sda,scl. ho visto un collegamento che oltre collegare il vcc e il gnd diceva di collegare il sda e il scl alle porte analogiche a5 e a4. però non sò altro...... nel programma che ho creato ora c'è collagato un display 16x2. cosa devo modificare? grazie per l'aiuto! devi cercare la libreria liquidcrystal per i2c, è tutto un po' differente ora perché prima lo comandavi con 4+3 porte digitali, ora te ne basteranno 2 perché hai preso uno schermo che ha un piccolo controllore che trasmette ad arduino via i2c cerca quella libreria che tra l'altro ho visto linkata poco tempo fa nel forum quindi cercando gli ultimi post in giro dovresti trovarla Arduino Forum > International > Italiano >

??? Drop down Menue / Unterpunkte verlinken ??? - Joomla! Forum - community, help and support

servus alle! wieder einmal ich, ich entschuldige mcih gleich im vorhinaus wegen denn gleich kommenden dummen fragen! :) "sorry" frage1: also mein prob. ist ich hab in meinem static content item -> produkte und das schaut ca. aus % produktname: produkt1 produkt2 produkt3 ??? wie kann ich ein drop down menu machen !ß damit wenn cih profuktname: die darunter angeführten produkte 1-3 nach unten klappt?!  ??? frage2: *sehr dumme frage aber hab ein blackout* wie kann ich wenn ich ein "drop down menü" habe oder nicht. unter der überschrift des "produktsnamen" die unteren produkte1-3 auf das jeweiliche produkt verlinken !? ich hab in content items alle produkte, in static content manager die übergrp "produkte", in section manager auch "produkte" und in category manager auch wieder alle produkte1-3. nun kenn ich micht mehr aus :p und irre in joomla die ganze zeit herum und hab keine anhung mehr... tut mir leid falls sich werd das anschaut un

Installing and Running Games in the Terminal - Raspberry Pi Forums

how install , play conway's game of life in terminal? sudo apt-get install conway's game of life? can't access desktop , need in terminal. want install , run pacman in terminal. i little confused. want play text based version conway's game of life? there x11 based program called golly in raspbian repository. code: select all sudo apt-get install golly otherwise if want text based version of conway's game of life quick google found this python code raspberrypi

Modules and Compiled CSS

i having serious problem compiled styles in modules: i've reduced problem following simple case. forenote, not want use runtime stylesheets. lets have module following mxml: <mx:module xmlns:mx=" http://www.adobe.com/2006/mxml"> <mx:style source="assets/style.css" /> </mx:module> the problem want able load , unload module , want styles removed application. however, have tried unload module styles , styles persist indefinitely in application. in fact, compiled styles, unable module unload. must because compiled styles creates references prevent gc. without compiled styles, module unloads fine. anyone have ideas? More discussions in Flex (Read Only) adobe

Raspberry Pi Forums - Login

username: password: i forgot password resend activation email remember me hide online status session   register in order login must registered. registering takes few moments gives increased capabilities. board administrator may grant additional permissions registered users. before register please ensure familiar our terms of use , related policies. please ensure read forum rules navigate around board. terms of use | privacy policy register raspberrypi

Analog clock MC -- how to produce accurate results?

i'm using flash 8. i trying program analog clock movieclip -- if of have seen uk game show "countdown", it's replica of countdown clock. it's 30-second clock , second hand runs top ("12") bottom ("6"). my first crack @ has been timeline-based. i've used motion tween animate hand moving top bottom. movie set run @ 12fps, it's running @ ~11.3fps. though it's slight deviation, causes clock run 32 seconds instead of 30. note during animation, cpu usage isn't exceeding 4%. i understand can't depend on flash player run @ particular framerate. so changed logic behind clock use setinterval(). unfortunately, intervals aren't firing @ exact rate need to. i've set interval 100ms, appears firing @ 110ms or so. changing intervals higher number (200ms, 500ms) don't produce exact results. any ideas or suggestions on how can make work? thanks, curt More discussions in Adobe Animate CC - General adobe

Encoder gesucht

hallo, gibt es eine gute und nicht alzu kostspielige alternative zu den alps drehencodern? ich habe von diesen encodern einige sehr günstig bei ebay geschossen. problem aber, diese prellen sehr stark auch bei software entprellung mittels greycode (war ein sketch von jurs). das problem ist, dass die Übergänge sehr hart sind, soll heißen, wenn ich in den nächsten punkt nicht einraste, fällt dieser leicht zurück und gibt ein neues signal aus. was ich suche, ist ein leichtgängiger encoder mit taster. solche sind meist bei av-tuner o.ä. zu finden. vom handling fühlen sich diese an, als ob nur ein poti angetrieben wird, jedoch ist hier auch ein Überschlag ohne probleme möglich, somit kein poti. poti soll für eine menüführung sein. hallo, möglicher weise sind diese optischen encoder das du suchst: http://de.farnell.com/bourns/em14a0d-c24-l032n/encoder-dreh-optik-14mm/dp/1470246 aber der preis ist schon ganz schön heftig. gruß, ralf

16 X 2 LCD with PCF 8574 (without using I2C library)

Image
hello friends, here using lcd 8574 without lcd library . address of 8574 set 32 (0x20) . p0 connected en of lcd , p1 rs , p2-p5 connected d4-d7 of lcd . code have written (which bit lengthy ) not getting output. contrast moderate that's not problem sure. can guys me out of it...... :~ quote #include< wire .h> int add=32; int x=1; byte command,data; byte string[13]={ 'a' , 'w' , 'e' , 's' , 'o' , 'm' , 'e' , ' ' , 'r' , 'a' , 'h' , 'u' , 'l' }; void setup () { wire . begin (); wire . begintransmission (add); lcd_initialise(); } void loop () {  if (x) // wanted run once   {      for ( int i=0;i<=11;i++)     lcd_display(string );   } x=0; } void lcd_initialise() {   command=0x38; //init lcd 2 line 5x7 matrix   lcd_command(command);   command=0x0e; //lcd on cursor on   lcd_command(command);   command=0x01; //clear lcd   lcd_command(command);   command=0x06