Posts

Whats wrong with this?

i found code on youtube, in video system seems work really well. heres code supplied when compile error: sketch_jan26a:145: error: stray '\' in program sketch_jan26a:145: error: expected constructor, destructor, or type conversion @ end of input i know simple , i'll embarrassed when find it! code: [select] #include <ethernet.h> #include <spi.h> byte mac[] = { 0xde, 0xad, 0xbe, 0xef, 0xfe, 0xed }; byte ip[] = { 192, 168, 0, 177 }; byte gateway[] = { 192, 168, 1, 1 }; byte subnet[] = { 255, 255, 255, 0 }; string instring = string(35); string channel; string name[] = {"null","kitchen","living room","hall","closet","bedroom","office"}; //pins 10, 11, 12 , 13 reserved ethernet module. int old[] = {00,0,0,0,0,0,0};//old switch value int swch[] = {00,a0,a1,a2,a3,a4,a5};//switch input pins int arm = 8;//away armed input pin int armed =0;//value of 1 when armed int ...

Simple web server with WiFly Shield - HTTP response problems (solved)

i'm trying make rgb led light using web page called wifly shield mounted onto arduino uno r3. arduino connected hp laptop running ubuntu 14.04. web page shows seen in figure 1 . however, http response on serial monitor turns complete gibberish. @ figure 2 see http response. finally, i've attached 1 last figure, figure 3 , shows correct response should getting. below code used wifly server i've built. got sparkfun website. code: [select] #include <spi.h> #include "wifly.h" //include wifly experimental library char msg[128];//variables reading in html responses int lettercount = 0; int redpin = 3; int greenpin = 5; int bluepin = 6; wiflyserver server(80);// set manually line needed initialize server()                   //port 80 default http port /////////////////////////////////////////////////////////////////// void setup() {   pinmode(redpin, output);  //set rgb pins outputs   pinmode(gre...

Pi 3 è ufficiale! - Raspberry Pi Forums

Image
quanto segreto da settimana scorsa evviva! https://www.raspberrypi.org/blog/raspbe ... 3-on-sale/ azz questo lo possiamo comprare noi italiani? raspberrypi

A general multiprocessor system.

what doesn't fit on 1 processor might fit on more one. for me that's meant communication coordination , build fit app when there. i've gotten coding state machines , asynch event driven code , it's run situations jobs ended on mega2560's dues "won't fit" on uno. so looked bags of tricks, old , new, , have idea split tasks between avr's more knew before. i figure hang of chips on 2 serial buses of chips able read 1 time , write other in turn. 1 master chip write read channel , read write channel. other comms can used generic use two. the project code spread amongst avr's tasks triggered commands , parameters passed on read channel if cases in state machine switch-case except not have on same avr , no state task setting next state needs know located. needs know command run it. that's sticks wall far anyway. moves program/hardware limits out has fit on 1 chip and/or runs speed limits. should make tasking , bigger code easier. can thi...

Acrobat (from InDesign) crash when cursor rolls over URLs

i exporting document indesign cs3 (v5.0.2) pdf. there multiple urls in doc. when roll cursor on links in either acrobat pro or reader (8.1.2) arbitrarily occuring crash--the same link won't crash it, 1 of them will. links work when clicked though. another strange (related?) issue: when export indesign pdf doesn't matter whether or not check "include hyperlinks" checkbox. either way includes hyperlinks. can't choose leave them out if want. the same crashes happening on client's computer. my system: dual 2 ghz powerpc g5; os 10.4.9 >when export indesign pdf doesn't matter whether or not check "include hyperlinks" checkbox indesign isn't leaving links in. if start http:// or www. reader , acrobat automatically recognizing them. can disable in preferences way viewers of pdf unless have turned off. More discussions in Acrobat Macintosh (read-only) adobe

Metodo di programmazione

ragazzi sto iniziando con arduino e vorrei un consiglio su come procedere con la programmazione. devo gestire alcuni ingressi che mi attivano delle uscite temporizzate, come faccio procedere col programma quando parte una temporizzazione? esempio: il pulsante 1 attiva l' uscita 2 per un minuto, ma se attivo e faccio delay 60000, come faccio nel frattempo leggere il pulsante 3 che attiva l' uscita 4? grazie. non usi la delay (che è bloccante) ma usi la millis(). vedi l'esempio blink e poi confrontalo con blinkwithoutdelay leggiti poi anche questo: http://www.leonardomiliani.com/2013/programmiamo-i-compiti-con-millis/ Arduino Forum > International > Italiano > Software (Moderator: leo72) > Metodo di programmazione arduino

Acrobat 8.1.2 - PDF Printer still not working & Distiller crashes on startup!!!

hello, when 8.1.2 update released hopes great i'm realy disappointed!!! after 3 times reinstalling cs3 suite (incl. clean cs) , updateing hours nothing seems fixed! oh, well, bouncing icon seems maybe because i'm not using acrobat more... here's summary of specs , problems have: osx 10.5.2 on intel 8-core mac pro w. 4 gb ram suitcase fusion (also system fonts) cs3 premium w. latest update(s) xpress 7 + love bundle country settings: lang. german, country austria installed hardware: superdrive ati radeon graphic card mighty mouse wireless + new wireless apple keyboard 24" dell tft monitor 2 x 500 gb hdd's the main problem have create print pdfs xpress doc's wich impossible without distiller! the 8.1.2 update seems fix "pausing pdf printer problem", pdf printer sends ps file distiller wich crashes! here's distiller crash log (looong): process: distiller [1022] path: /applications/adobe acrobat 8 professional/acrobat distiller.app/contents/mac...