Posts

Showing posts from January, 2013

qt phonon black screen - Raspberry Pi Forums

Image
hello, got black screen on touch display while playing '.mov' file in pyside widget. have following: 1. widget uses pyside.phonon; works excellent on mac, code ok. 2. plays .mov files, every file has mime-type 'video/quicktime' , type in list of available backend mime types in raspbian 3. compiled , installed gstreamer v.1.2 base, good, ugly etc plugins. 4. when playing got black screen no error in output: code: select all root@raspberrypi:/home/pi/movi# display=":0.0" python qtmovie.py 1 qgtkstyle unable detect current gtk+ theme. setting new source new source: qurl( "file:///home/pi/movi/animation/xxx.mpg" ) transitioning state "playing" state change moving "null" 0 "ready" 1 , on. 5. hello_video, omxplayer play files on touchscreen using fbcp utility, mplayer plays well, programs visual bugs while touching screen during playback 6. no errors during 'gst-launch-1.0 filesrc location=pth_to_file ! de

[Java] Communiquer avec Arduino

bonjour, je me suis lancé depuis peu dans un projet demandant de pouvoir communiquer entre mon ordinateur et ma carte arduino uno. je désire réaliser le client en java. j'ai donc fait des recherches et suis tombé sur les bibliothèques suivantes:  javacomm et rxtx. cependant, aucune d'entre elles n'est trouvable ni fonctionnelle en ce moment, et ce depuis plusieurs mois. j'aimerais donc savoir quelles bibliothèques vouis utilisez afin de communiquer via la liaison série en java. merci d'avance pour vos réponse. spirine et ça: http://www.jcontrol.org/download/rxtx_en.html ? Arduino Forum > International > Français (Moderators: jfs, Snootlab) > [Java] Communiquer avec Arduino arduino

Thread: Restore GRUB after Windows 7 installation

hey, recover old grub menu after installing windows 7. had windows 7 , ubuntu 9.04 options, after reinstalling windows, has disappeared. i've spent past hour googling, , found lot of info how restore grub after windows reinstall, due linux knowledge (been using ubuntu 9.04 9 days) i'm not sure do, , ask here. have 4 partitions, ubuntu on thw 4th (hd0,3), windows 7 on primary 1 (hd0,0 = c: ). installed ubuntu after windows, , fine, today windows crashed , had reinstall it, , has deleted grub. tried easybcd, created neogrub bootloader, said menu file on c:\nst\menu.lst . have menu.lst backed up, overwrote old one, doesn't work. after selecting neogrub boot menu, see old boot menu, linux doesn't boot. tried adding linux aswell both options ('grub isn't installed on bootsector' ticked , unticked), doesn't work. sites it's simple , all, can't working , it's starting **** me off, since i'm not noob otherwise, dno lin

cfcalendar selecteddate

i trying use selected date on conditional basis , keep getting invalid date/time string error, missing? code: <cfcalendar name="senddate" endrange="#range#" selecteddate="<cfif isdefined('url.recordid')><cfoutput>#dateformat(getrecord.senddate, "mm/dd/yyyy")#</cfoutput></cfif>" > error: "10/04/2006" invalid date or time string. i've never put cfif statements in quotes of cf tag. legal? seem remember trying once while , getting error. new feature? make life lot easier me in couple of particular cases. i'll give whack. one thing know, don't need put cfoutput tags around cf tag render ## variable. More discussions in ColdFusion adobe

Raspberry PI 1920 x 1080 issues - Raspberry Pi Forums

hello everyone, thought create quick post may assist people in future. i've purchased new raspberry pi 2 , having issues screen resolution fixed @ 1318x736 no ability change (other auto did nothing). resolve issue did following: run following command: code: select all edidparser edid gave me lots of output looks quite overwhelming @ first there few lines needed solve problem. there many lines regarding hdmi:edid dmt mode , hdmi:edid cea mode. serching entry 1920x1080 lead me following lines. code: select all hdmi:edid cea mode (5) 1920x1080i @ 60 hz pixel clock 74 mhz has score of 2773832 hdmi:edid cea mode (20) 1920x1080i @ 50 hz pixel clock 74 mhz has score of 128680 hdmi:edid cea mode (31) 1920x1080p @ 50 hz pixel clock 148 mhz has score of 232360 hdmi:edid best score mode cea (16) 1920x1080p @ 60 hz pixel clock 148 mhz (score 5398248) above command has informed me believed best setting me use. 2 main bits of information need take away best scoring setting mode, in

Help with Javascript error - Joomla! Forum - community, help and support

i check iin in mental hospital. joomla site, using once joomlart template has started giving me bunch of javascript errors. i have admit js not cup of tea , wondering if me troubleshoot it. once page can check this: http://www.conticreative.com/services/services/the-web-design-process.html the link classified "specials" it's not live. on page have several jogadgets create own errors, them on other pages such as: code: select all "lenght" null or not object or code: select all unterminated string constant on page jogadgets errors accumulate try ue them. is there javascript expert willing me troubleshoot problem? my next step strt deactivating modules , mabots see problem lies. tia , free pop corn all update. apparently jogadget scripts work fine firefox 2.0 , in fact entire site has no javascript errors. only ie7 displays errors on every page , prevents jogadgets working @ all. anyone out there willing lend hand one? Board index

Flash button in a frameset

hi, i'm novice dreamweaver/webdeveloping. i have simple site 3 frame frameset. have flash buttons in leftframe openining links in mainframe. when test in browser (safari) button opens link in new window, not mainframe. if use hyperlinks work, open link in mainframe. ideas why is. another quick question, has had problems running under rosetta or @ all. when i'm in "insert flash button" screen when clicking on target drop down menu, program gets stuck , won't let me leave "insert flash button" screen. has happened twice only. best practice methods suggest a) use frames when have need use them, , b) not use flash navigation unless cannot accomplish purpose other methods, , unless provide plain-html redundant navigation. frames extract penalty on developer, , on site visitor, that neither of may interested in paying. being case, incumbent on developer make considered decision use them, not because seemed easier. find out many problems that come de

Comunicacion via laser.

buen día todos, quisiera saber como puedo entablar una comunicación entre dos arduino, donde el transmisor conste de un láser y el receptor conste de una foto-resistencia. que se comuniquen por puerto serial. donde el láser convierta el mensaje en pulsos de luz y la foto-resistencia los resiva y los ponga al hyperterminal conectado. espero me puedan ayudar. aquí les dejo un video, es exactamente lo que quiero hacer: https://www.youtube.com/watch?v=bwz8ckm0-ee muchas gracias. smiley-eek Arduino Forum > International > Español > Proyectos (Moderators: surbyte, Hector_A) > Comunicacion via laser. arduino

Multithreading GPIO - Raspberry Pi Forums

Image
hi everyone, i'm working on project need move 2 stepper motors @ same time different speeds. using raspberry pi 2 model b, , know if possible execute 2 functions @ same time. example have function movesteppera(int steps, int time) , movestepperb(int steps,int time). each function should create pulse on different pin. i'm new python if tell me how appreciate it! hello, use 'threading'. there many tutorials on net, e.g. http://pymotw.com/2/threading/ . keep in mind raspberry python have limits in pulse frequency generation. steppers require high pulse rates when running @ moderate rotation rates. 1 rotation per second, 200 steps, 4 patterns per step 800 hz , in millisecond-range timings not accurate. regards, gerhard raspberrypi

RPi2 ne démarre plus - Raspberry Pi Forums

bonsoir, mon rpi2, qui fonctionnait très bien sous raspbian jusqu'alors, s'est mis à booter puis afficher un écran noir ac tiret blanc clignotant. j'ai réinstallé raspbian et depuis le rpi2 ne boote plus, rien ne se passe... est-ce la carte sd (préinstallée ac noobs) qui est hs, ou le pb vient-il de la carte mère du rpi2? etant débutant, je fais appel à la populasse raspberrienne pr me venir en aide! david est-ce que la led verte clignote ? raspberrypi

&quot;Access Denied&quot; Error After Server Change

i have number of hosting clients use contribute. since upgraded hosting server, unable connect - or more accurately, can connect, if try edit page "access denied. file may not exist, or there may permission problem." error. did not occur during last server upgrade - contribute connections worked fine. all settings such username, password , server addresses remain same including ftp server settings. can create new connection scratch, key generated web developer out of luck. can send out these new keys i've created , seem work fine. what possibly cause error, , there other way correct issue beyond regenerating keys , sending them everybody? More discussions in Connection/Administration adobe

A question about Pin Change ISR.

i have project control heater , pump swimming pool. have had pcb fabricated , hardware works expected. code have far works also. i'm trying encapsulate parts of code related hardware devices libraries future use. i'm using ds3232 rtc time heater , pump on , off times , blackberry microtrackballer breakout board (from sparkfun) menu navigation. have library rtc , trackballer done , working [separately]. the thing trackballer uses pcint0 , rtc uses pcint0, pins 53 , 52 respectively (on mega). in original code isr global , written check pin had changed , handle accordingly. since rtc uses 1 interrupt , trackballer uses 5 interrupts (1 each direction , 1 button press) have put isrs in new trackball library. know far simpler put rtc on it's own pcint. however, i've fab'd pcb. original code it's not problem. it's problem trackball library if want use interrupt pins share same pin change interrupt. so, question is: is possible conditionally substitute pin

Is there a source code search script for Joomla? - Joomla! Forum - community, help and support

i looking script search source code of joomla installation find relevant snippets. work zen cart , have "developer's tools) script built in searches various areas of zen cart. sort of find same thing joomla or generic 1 install on server. one thing trying limit amount of code various components , modules insert before tag. use site showcase of joomla can do, have junk in tag pages huge. one strategy works change scripts insert css or javascript in head external files. have done on few , works great. it's strategy plug-ins have inline css. go in source code , change external css add template_css.css. any ideas? Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Thread: Codeblocks,C++, rand() was not declared.

Image
hopefully posted in right area (sorry if didnt). hey there. learning c++ c++ dummies all-in-one second edition teach codeblocks (the reason why bought it). ok, problem error such when building: code: error; 'rand' not declared in scope here's sourcode (slightly modified books version. added prototype function). rand() located in getsecretcode() function code: #include <iostream> #include <sstream> using namespace std; string *getsecretcode(); int main() { string *newcode; int index; ( index = 0; index < 10; index++ ) { newcode = getsecretcode(); cout << newcode << endl; } cout << "all done here" << endl; return 0; } string *getsecretcode() { string *code = new string; code->append("cr"); int randomnumber = rand(); ostringstream converter; converter << randomnu

Serial.println("Hello") does not work in comb. with TIMSK2 setting

dear all, i have following *.ino file running on uno rev. 3, see attachment. generates pulses @ 80khz , duty can adjusted via input a0. why command "serial.println("hello")" not work in file? when remove line; "timsk2 |= b00000010;     // set bits" serial.println() command working? however, interrupt not working. what happens here? kind regards, rtrab hello rtrab code: [select] isr(timer2_compa_vect) {  // isr @ ocr2a value   int val = analogread(a0); // 10 bits = 1024   val = val/4;   ocr2b = constrain(val,5,190); // adjust duty between 5...190 } // end isr that feels lot of code (i.e. lot of execution time) have in isr when, guess, serial port won't serviced. just testing, reduce isr this, example, , see if serial works. code: [select] isr(timer2_compa_vect) {  // isr @ ocr2a value   ocr2b = 100; // fixed value, testing } // end isr if help, try changing loop() uses "blink without delay" approach , move analog

Thread: zipit - a HIY $50 mini-smartbook?

Image
if don't know zipit @ linuxjournal vid: http://www.youtube.com/watch?v=ed4nytcirk4 cool, has arm , cheap!: $50 flashing it (even easier installing distro on eeepc), can doing cooler stuff picking mine asap hunterdavis doing fun work , sharing ya, saw too... looks nifty. idea wifi protocols hardware supports? wep? wpa2? unencrypted? i'd looking lot closer if wasn't quite satisfied netbook. Forum The Ubuntu Forum Community Ubuntu Community Discussions The Cafe zipit - a HIY $50 mini-smartbook? Ubuntu

Needhost AUTH code til domain flytning - Joomla! Forum - community, help and support

Image
hej, jeg sidder og fumler med en domain flytning fra needhost til en anden domain service. næste alt er pÃ¥ plads men jeg mangler en authorization code fra needhost og de har endnu ikke svaret (over 24 timer siden) pÃ¥ min support request. bruger needhost en standard kode eller kan jeg se den pÃ¥ mit kontrol panel hos needhost? - chr god fornøjelse  . jeg fik først bæredygtig kontakt med deres direktør, da jeg "hang dem ud" pÃ¥ min pæntoptimerede blog, nowi.dk jeg beskrev simpelthen mit forløb med dem. tjek denne søgning pÃ¥ needhost(nr 2): http://www.google.dk/search?hl=da&q=needhost&meta= sÃ¥ kunne de kontakte mig - træls sÃ¥dan noget skal være nødvendigt. har du mon hørt fra dem nu? Board index Joomla! International Language Support International Zone Danish Forum Diverse (Off topic)

Thread: Installing Multiple Dep's by One Code

is there way install multiple .deb file in same folder running 1 code? downloaded update files ubuntu form windows xp. have 250 deb files install, there terminal code or python code can install of these files @ single click? sudo dpkg -i *.deb Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Installing Multiple Dep's by One Code Ubuntu

Goddag alle sammen - Jeres Arduino erfaring?

goddag derude folkens. jeg har undersøgt en del om arduino pÃ¥ det sidste, og det er ogsÃ¥ det næste jeg kommer til @ give mig kast med. jeg har allerede et par idéer som jeg kunne tænke mig @ udføre.. er lidt nysgerrig angÃ¥ende jeres tid med arduino, sÃ¥ har lige 3 hurtige, standard spørgsmÃ¥l. 1. hvor længe har du arbejdet med arduino? 2. hvad fik dig igang med arduino? 3. hvilket projekter har du lavet indtil videre? og hvad skal du bruge informationen til? a) beslutte om arduino forumet er kvalificeret nok til dine spørgsmÃ¥l? b) dem der svarer skal hvert fald have et godt tilbud fra dig om dims d c) du vil bare have lidt selskab, og skabe lidt gang scandinavian forumet ;-) og sÃ¥ har du ikke udfyld nogen af dine "fakta" profilen (som lokation eller køn ...) men spørgsmÃ¥lene er uskyldige nok: 1) 4+ Ã¥r  2) jeg skulle bruge en mikrokontroller @ styre et par motorer med - se det skrinlagte projekt : http://iwanta3dprinter.wordpress.com/ 3) søg mit na

Assistance with String building

hi, new arduino , i'm working on temperature sensor project sends temps web server. i'm trying build "post" command strings, i'm finding aduino truncating string , i'm not sure why.  know there complexities string command , i'm hoping can help. declared @ beginning of program: code: [select] string outputstring; declared in setup: code: [select] outputstring = string(""); declared in loop function: code: [select]     outputstring = string(outputstring + "temp01=" + dtostrf(temperatures[1], 3, 1, buffer));     outputstring = string(outputstring + "&temp02=" + dtostrf(temperatures[2], 3, 1, buffer));     outputstring = string(outputstring + "&temp03=" + dtostrf(temperatures[3], 3, 1, buffer));     outputstring = string(outputstring + "&temp04=" + dtostrf(temperatures[4], 3, 1, buffer));     outputstring = string(outputstring + "&temp05=" + dtostrf(temperatures[5], 3, 1, buf

LED per Schalter Ein - Aus // Problem mit serieller Schnittstelle

hallo, ich bin noch sehr neu auf dem gebiet und habe nur "basic"-programmierkenntnisse. ich arbeite mit einem arduino uno r3 zur Ãœbung und für den einstieg wollte ich den beispielsketch "blink" etwas erweitern. die idee war pin13 und gnd eine led anzuschliessen und pin 10 einen taster, der nicht im losgelassenem zustand die led aus und im gedrückten zustand die led einschalten sollte, sondern pro druckaktion den zustand der led ändern soll. bisher habe ich das mit einer verschachtelten if-schleife gelöst, aber ich glaube es müsste doch hierfür auch eine kürzer methode geben um den zustand von pin13 bei einem knopfdruck ändern zu können? (das ist meine frage ;-) ) hier der code mit dem es bereits funktioniert: code: [select] void setup() {   ddrb = 0b00100000; // pin13 output, rest input   portb = 0b00000100; // pin13 auf low - pin10 pull-up aktiviert } void loop() { if ( !(pinb & (1<<pinb2)) ){ // wenn bit nr. 2 gesetzt             if(pinb &

Bauteil entwickeln und herstellen lassen?

mal eine wilde frage: hat von euch jemand erfahrung damit, einen chip designen/herstellen zu lassen? kostet etwas? ab welchen stückzahlen macht das sinn? wen wendet man sich mit einem wunsch? ich hätte gern leds in der bauform und mit dem clockless 1 draht interface eines ws2812b - aber mit der 12 bit pwm eines tlc5940 und der geschwindigkeit eines lpd6803 (clock bis 24mhz). ist das wahnsinn oder realisierbar? ich glaube, der markt dafür wäre riesig... grüße zur nacht helmuth hallo, den zahn kann ich dir gleich ziehen. wenn du das in auftrag geben würdest, könntest du das nicht bezahlen. selbst 1000 stück, viel erscheint, wäre ein witz. ab vielen 100k und mehr gehts los, besten noch pro jahr ...  1000 stück wären vielleicht zwei oder drei  8" wafer. das macht niemand nebenbei für privat. was du machen könntest, die idee einem chiphersteller geben und hoffen das es irgendwann mal auf den markt kommt. die großen bekannten lassen dich aber als privatper

Thread: no sound on Ubuntu 9.04. worked yesterday, not today???!

im running ubuntu 9.04 on acer aspire one. sound has worked. shut down system morning few hours. when turned on, couldn't hear anything. no sound anything! recieved lot of updates other day, , first time shut down system since updates installed. have sound not working, or need change settings different? have tried different settings, nothing... please help! need system mix music love, cannon same thing happened me upgraded 9.04 , sound wont work on dell xps m1530 laptop. dont know whats wrong sound worked in 8.10. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] no sound on Ubuntu 9.04. worked yesterday, not today???! Ubuntu

Using Dreamweaver 8 as the default HTML Editor in RoboHelp X5

i attended writersua conference in april 2006--one of presenters suggested switching html editor rh dreamweaver. has done this? has been experience? rh includes lots of unnecessary code... dreamweaver clean code justify making change? i'm looking instructions make change... know how make dreamweaver default html editor in rh i'm sure there's more changing editor. thanks. welcome forum. dw not clean code when open rh topic. have manually. don't believe there clean tools. dw have clean routines not touch rh's code. you need find alternatives of rh's features such drop down text. there ways of doing , use them on site not quick , easy rh method. if open topic in rh put them in, clean effort wasted. i think lot of hoping big improvements in editor in next version of rh , think includes clean routine old topics. if existing code ain't broke, why fix it? More discussions in HTML Help (CHMs) adobe

Thread: Can only connect to ubuntu server via SSH when logged in

i got ubuntu server 9.04 installed on headless machine , can establish ssh connection between macbook , server when i'm logged in on server. i'm using private-, publickey establish connection , no passphrase , no passwords. although when reboot server , not log in first (i don't want because everytime i've connect keyboard , monitor), can't connect via ssh. gives me following reason: ubuntu 9.04 permission denied (publickey). idea? if need more information please ask. p.s. funny thing when first connect macbook via afp-connection server, possible ssh server without logging in first. i had same problem recently. used work me, reboot server , in again using public key. had re-enable password authentication solution problem until find why happens. if have up-date i'll post it. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support

pixel font does't show on other computer

i use pixel font in flash website. on other machiene pixel font not showing instead of default fonts displays. also when restat computer , open website fla file in flash8 displays font missing dialog box. when check fonts font folder in windows,the pixel fonts deleted , not shows. i download pixel font "bestflashanimationsite" the font is: "fixed_v01" pls solve it. you must have been using device fonts .. need embedded / outline font. -- jeckyl More discussions in Adobe Animate CC - General adobe

I2C, Serial, Raspberry Arduino - Raspberry Pi Forums

hi ! in project have logiciel wich take in input serial peripherique. problem : serial , usb port in use. different capteur need logiciel connected arduino mega card , arduino connected raspberry using, thing spi or i2c pin. may create tty virtual write i2c or spi output transformed in nmea sentance. logiciel (opencpn) read tty serial port. think s possible ? thanks sorry bit of amateur don't understand of asking have (this weekend) connected rpi arduino nano via i2c. if still need let me k know. raspberrypi

LcdBarGraph V1.4 bar customization?

hello, i'm using lbg battery monitor project. but  how change , how displays? as default shows graph on top line start end. and bars full boxes. how make changes. example bar on second row , maybe shorter. lets last 5 "boxes". or how make bar segments grow towards end? 2px tall on low end , full "box" when on "full" state. so how can alter graph makes? please post code , schematic have far lot you Arduino Forum > Using Arduino > Displays > LcdBarGraph V1.4 bar customization? arduino

Creare un effetto di luccichio con photoshop - Joomla! Forum - community, help and support

ciao raga! vorrei mettere un pò posto il logo per il mio sito e mi è passata per la testa una cosetta che però non fare: considerato che il logo del mio sito sarà una tazza da caffè con effetto lucido vorrei creargli un effetto di luccichio che si muova lungo il bordo da sx dx... come se la sorgente luminosa si muovesse da un lato all'altro ed il riflesso della tazza lo seguisse. qualcuno di voi mi sa dire come lo si può fare? cosa serve: flash, photoshop, un montaggio di fotogrammi? beh... grazie! allora se usi flash , devi fare un flmatino , e quindi mettere un qualcosa che cariki il file flash nell'header , cmq in quel filmato puoi mettere cio ke vuoi ocio solo al peso del file , secondo me se non è troppo complesso , fai una bella gif animata e sei cavallo! photoshop/fireworks e sei ok! ciao Board index Joomla! International Language Support International Zone Italian Forum Template - Grafi

Thread: Instalar software que no puede ser autenticado

Image
hola gente, hoy se me abrió la ventana de actualizacion y en la ventana para aplicar los cambios dice: aviso esta punto de instalar software que no puede ser autenticado por supuesto no apliqué nada, uds. saben que se debe esto..? hasta donde se, es parte de la bateria de actualizaciones pre upgrade kk estos ultimos días actualice varias veces y las aplicaciones que veo en tu screen yo ya las tengo instaladas y todo bién... sin embargo mi no me notifico lo mismo que vos, puede tener que ver con los repos que tenes habilitados. saludos.... Forum The Ubuntu Forum Community Other Discussion and Support Ubuntu LoCo Team Forums Americas LoCo Teams Argentina Team Software [SOLVED] Instalar software que no puede ser autenticado Ubuntu

TRIAC dimmer with different codes

hi m here new have made alot of arduino lovli projects of open source there m stuck downloaded code of  triac dimmer instructable website fit when uploaded on bread board hardware flashes led second , never again took code of  website bristolwatch also not working found site , took there homedistiller.ru  so lovli , thing is working led of moc3020 not bulb attached circuitry correct checked alternate conditions correct not working want ask why code of instructable not working moc3020 series led thought correct same hardware working thiird website code please me m looking forward passion please i m uploading codes not own code.. hardware diagram same please reply someome m in need thank u Arduino Forum > Topics > Home Automation and Networked Objects > TRIAC dimmer with different codes arduino

Need someone who can Code... - Raspberry Pi Forums

it's bit of long shot, know. i'm in need of can code program needed run pi fulltime ecu. i'm not looking run afr , timing, efi system , monitor else comes with. has done yet? i'm more of automotive guy, rather electronics man. great. thank you! cynicalchris wrote: it's bit of long shot, know. i'm in need of can code program needed run pi fulltime ecu. i'm not looking run afr , timing, efi system , monitor else comes with. has done yet? i'm more of automotive guy, rather electronics man. great. thank you! call me cynical, don't think raspberry pi suitable ecu. you'd need 'proper' rtos, , lot of environment hardening (against emi , vibration, etc.). there's testing- how many engines can afford destroy until right? topic crops here occasionally, never seems gain traction, speak. raspberrypi

Pyaudio outputs slow/crackling/garbled audio - Raspberry Pi Forums

hello, i'm trying use pyaudio play wave files i'm having slow/crackling/garbled outputs. when play wave file described bellow, audio plays fine: $ wget http://www.freespecialeffects.co.uk/sou ... lice_s.wav $ aplay police_s.wav however, when open ' play_wave.py ' example /pyaudio/test , audio slow , garbled useless application. code: select all """pyaudio example: play wave file.""" import pyaudio import wave import sys chunk = 1024 #if len(sys.argv) < 2: # print("plays wave file.\n\nusage: %s filename.wav" % sys.argv[0]) # sys.exit(-1) wf = wave.open('police_s.wav', 'rb') # instantiate pyaudio (1) p = pyaudio.pyaudio() # open stream (2) stream = p.open(format=p.get_format_from_width(wf.getsampwidth()), channels=wf.getnchannels(), rate=wf.getframerate(), output=true) # read data data = wf.readframes(chunk) # play stream (3) while data != '

Thread: Boot Loader in USB Pendrive with 2 OS Installations

hello, everyone. have ubuntu installer in usb pendrive, in partition, ready insert in computer, boot , use/install, in case of panic. now, have 2 installers in usb pendrive, ubuntu , debian. insert pendrive in computer and, when on boot, asked 1 launch, when have installed in computer , asks 1 launch, asked installer launch. possible? thank in advance! search forum , you'll see couple of people trying same thing. haven't had success. recommendation be: use 2 pen drives. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [other] Boot Loader in USB Pendrive with 2 OS Installations Ubuntu

getting the response from a FileReference upload

Image
this question "upload" method of filereference class. is there way read http response after file upload complete? example, user uploads file server. server saves file , assigns id. server writes id http response. how client read response? glad asked - i'd know too! i suspect silence imlies there isn't though. More discussions in Flex (Read Only) adobe

Is ExtCalendar actively developed anymore? - Joomla! Forum - community, help and support

hello, looking around calendar components found link extcalendar. demo http://www.maroctour.com/cal/calendar.php looked cool enough me want try on site. however, when went sourceforge site http://sourceforge.net/project/showfiles.php?group_id=71902 latest file 2005 , it's beta version. i see lot of posts here extcalendar. there place more recent version of component? thanks! one more question extcalendar. notice install instructions ( http://sourceforge.net/docman/display_d ... p_id=71902 ) create brand new database. am reading right? need separate database? example, when tried eventcal used standard joomla database. thanks in advance help! Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

How do you reset an onboard timer??

Image
hi all, i'm having trouble resetting timer. there not interrupt or hardware of kind. tell me @ blinkwithoutdelay, it's not working quite way want to. let me attempt explain way want work. timer not in loop(). rather, started when sensor comes within distance of object. once within distance separate function called, starting timer. here sample timer in loop, no reset of timer code: [select] unsigned long prevtime=0; unsigned long curtime=0; const int valinter = 750; void setup()  {   serial.begin(9600); } void loop()  {   serial.println(curtime);   curtime=millis();   if( curtime > (prevtime + valinter) )  {     curtime=curtime-valinter;     return;   } } timer resets once , keeps going on diesel train second time. how keep resetting after 3/4 of second? i looking @ topics before posting, , @awol had interesting point made sense. talking 'offsetting' timer rather ' resetting ' per say. when setting millis() variable zero, read ze

Arduino irrigation system

i working on simple irrigation system: part1: http://youtu.be/ytkd1-c7usy http://www.youtube.com/watch?v=ytkd1-c7usy looks cool. using household plants? also, did find motor? had hard time trying find 1 that. it's self-priming right? Arduino Forum > Community > Exhibition / Gallery > Arduino irrigation system arduino

DW won't indent with spaces

i've configured dreamweaver version 8 indent tabs instead of spaces. (edit > preferences > code format:: indent [x] [2] [spaces]) however, whenever indent code via tab key, text > indent command, or ctrl + alt + ] shortcut, code still indented tabs. auto-indentation done tabs well. thing gets indented spaces blocks of new code inserted insert bar, etc. am missing something? intended behavior? i'm trying like dreamweaver, i'll have return html-kit if can't indent with spaces. thanks. - kevin given huge power of design have dreamweaver, surely shame give because can't indent code spaces. indented indented, how important can finished product? there chenges in settings can work with, stick , try , learn new tool. you'll happier in end. More discussions in Dreamweaver support forum adobe

DesignSpark PCB Vs Eagle Vs Fitzring Vs ....

Image
ciao tutti, sono rimasto affascinato dal mondo arduino e mi ci stò dedicando veramente pieno grazie questo meraviglioso forum. a tal riguardo vorrei fare le cose per bene e disegnare anche miei schemi o circuiti. che software consigliate? attualmente ho scaricato fitzring ma ho letto che molti si rifiutano addirittura di usarlo!? molti parlano di eagle ma nella versione free e' limitata 100x80 e mi sembra un pò piccolina come board. ho visto anche designspark ma non lo conosco affatto. ce ne sono altri? cosa mi consigliate? ovviamente free i prefer eagle. start 80x100, can place lot of parts in space. upgrade when larger size needed. lot of library parts available. Arduino Forum > International > Italiano > Software (Moderator: leo72) > DesignSpark PCB Vs Eagle Vs Fitzring Vs ....

PWM control of LCD brightness

Image
i'm planning use bjt ( http://www.farnell.com/datasheets/165939.pdf ) control brightness of conventional hd44780 lcd, means of pwm. i understand popular approach use common emiter configuration, with  collector resistor attached pin 16, vdd (5v) @ pin 15 , , base resistor between bjt , 1 pwm pin of arduino uno. my experience bjts rather limited, why i'm having rather trivial doubts. first off, right assume want operate in saturation (on , off @ pwm frequency)? second, how choose resistors? i  assuming need have 4.4v across base resistor, , somehow large resistor ensure collector @ lower potential base. datasheet i've read base-emitter voltage in saturation 2v! firstly need use transistor (since in npn transistor) low side switch .  identical using relay, you're using led , resistor instead. the base resistor pretty irrelevant , can pick value in region shown.  inclined add 10k? pull-down resistor base stop floating when arduino not powered

Upgrading to FP9 from 8 deployed w Group Policy

Image
after deploying flash player 8 throughout network using msi group policy assumed upgrade flash player 9 go smoothly. integrated flash player 9 group policy automatically realised upgrade flash player 8 (wow - impressed intuitive). however, while deploying on startup system hangs , goes no further. think changed group policy remove flash player 8 first. worse. users can no longer use systems hangs on removing flash player 8. driving me nuts!!! can't remove flash player 8 in safe mode... can't use windows installer. where to? has succesfully gone version 8 9 using gp method? i seem having similar problem, lowly end-user. when try uninstall 8 gives message need 'install_flash_player_active_x.msi' uninstall. appearently file has relation gp distributions not expert , have little understanding of these things. did search of adobe support file , few articles, undoubtably better understood you, seemed address problem 1 having. More discussions in Using Flash Player

Tanya Generator n xmlns nich? - Joomla! Forum - community, help and support

Image
saya minta bantuan nich. ketika web joomla di view source muncul codingnya dan saya ingin menghilangkan generatornya dan xmlns: dan juga gimana yach caranya biar nggak kelihatan generatornya & xmlns karena saya ngga' pengen orang tahu kalo saya pakek joomla tapi saya ngefun banget ama joomla? trims untuk jawabannya. kalo buat ngilangin atau nge ganti tulisan di buka aja \include\version.php. trus di situ ada var $product = 'joomla!'; hapus aja atau ganti 'joomla!' nya dengan kata lain. trus satu lagi, di situ ada var $copyright = "copyright (c) 2005 - 2006 open source matters. rights reserved."; hapus atau ganti kalimat yang ada di dalam tanda kutip dengan kalimat sendiri. tapi kalo emang suka sama joomla kenapa harus di ilangin? toh itu juga merupakan suatu bukti kalo kita menghargai hasil karya orang lain. udah untung ada orang yang berbaik hati seperti "mereka" yang mau membagi ilmu mereka dengan gratis. kita sebagai pengguna, mengucapk

problème avec virtuemart - Joomla! Forum - community, help and support

svp un coup de main ... lorsqu'on installe virtuemart et tout ce qui va avec (le package complet) qu'on publie le module virtuemart, joomla (le mien c'est le 1.0.11) se cale sur la verion anglaise et même quand on force pour revenir sur la version en français ca ne marche pas ! est-ce un bug ou est-ce que c'est explicable ? merci est-ce que le fichier french.php été ajouté dans le dossier /administrator/components/com_virtuemart/languages/ ? le pack de langues contenant la traduction française est téléchargeable sur le site de virtuemart : http://virtuemart.net/index.php?option= ... &itemid=66 ouly Board index Joomla! International Language Support International Zone French Forum J! 1.0.x - L'atelier! 1.0 - Extensions tierce partie

moteur sur shield qui ne veut pas tourner !

Image
bonjour à tous, je suis nouveau et le projet qui me paraissait simple s'avere plus compliqué que prevu ... j'essaye de faire tourner un moteur via un shield arduino uno semble repondre car l'exemple "basics" "blink" fonctionne j'ai trouvé un code sur le net que j'ai modifié : code: [select] int e1 = 3; //m1 speed control int m1 = 12; //m1 direction control int speed = 200; void run_motor() { analogwrite (e1, speed); digitalwrite(m1,high); } void setup(void) { int i; for(i=6;i<=9;i++) pinmode(i, output); serial.begin(19200); //set baud rate } void loop(void) { run_motor(); } rien ne se passe !!! je ne comprends pas, les entrées 3 et 12 semblent pourtant correspondrent la vitesse et au sens de rotation. ce qui est un peu obscur pour moi c'est la boucle 6 à 9 ..... pourquoi ces 2 valeurs ? bref je suis paumé !!! bonsoir, je ne vois pas à quoi sert cette boucle. enlève là la broche 12 devrait être programmée e

One Wire via DS2482-100 for .NET - Raspberry Pi Forums

Image
i have started converting home automation code have done in older linux based raspberry windows iot , big part of owfs replacement 1 wire support. have done library via i2c 1 wire chip ds2482-100 , share if else needs this, pretty straight forward use think http://github.com/rinsen/onewire hi, apologies if seems daft question, i'm still rather new wiring things rpi. provide insight how should connect ds18b20 rpi in order library work, pins circuit etc.? work in providing this paul raspberrypi

principiante - algo que no entiendo de la instalacion - Joomla! Forum - community, help and support

yo hice mi pagina completa en mi pc usando xampp. ahora quiero subirla al servidor por medio del ftp. ¿subo directamente los archivos del sitio que hice en mi pc? ¿o tengo q hacer una instalacion desde 0 copiando los archivos q vienen en el joomla_1.0.11-stable-full_package.zip y dsp subir los q corresponde mi sitio?. gracias! sube los archivos de tu pc. cambia los valores de configuration.php para que reflejen los del servidor remoto, no los de tu servidor local. importa los datos de tu base de datos local la del servidor remoto. Board index Joomla! International Language Support International Zone Spanish Forum Versiones de Joomla! obsoletas Joomla! 1.5

Support for IE 7.0 in WebHelp?

Image
with new version of internet explorer (ie 7.0) coming out windows vista , general public, there limitations functionality of webhelp, due way rh_showhelp makes calls browser. aware of update robohelp x5 or newer version coming out support webhelp on new vista os or new version of ie? we're working hack javascript in order keep ie 7.0 suppressing our context sensitive topic content on window load. basically, happens default topic gets loaded , topic requested not display until user clicks through security permissions result of ie. should noted problem issue when using airplane - , version local client pc (not on webserver). in essence, webhelp file loads under regular user permission, not enough of permission display file containing active content (admin permission required). anyone have information on issue? newer/updated version coming out anytime soon? we're in trouble our release (due go out door in january), we're looking more permanent/maintainable solution next rele

New: RFX Teensy 3.x dev board w/ shield breakout, prototyping area, nRF24L01+

Image
rfx teensy 3.x development board arduino shield breakout, prototyping area , nrf24l01+ headers. this uno-sized (7cmx5cm) carrier board pjrc teensy 3.0/3.1 convenient way add nrf24l01+ module , arduino shield compatibility teensy 3.x project, providing general breakout board prototyping area. note: new teensy 3.1 boards have 5v tolerant digital io pins , making arduino shield compatibility more straightforward. (note osh park have got killer deal on teensy 3.1 @ moment -- pjrc's official blessing.) team these guys rfxduino nrf24<->tcp/ip gateway , software, , wifi connected due-class board fraction of price of, well, due , wifi card! (with greater functionality, too, e.g., access https servers.) available bare pcb, kit, or assembled. through-hole components easy soldering kit. http://embeddedcoolness.com/shop/rfx-teensy3-x-nrf24l01-carrier-board-w-prototyping-area-kit/ ++ so little time play these nice thingies A

Display mySQL data

ok, first of beginner using dw, php, , mysql. ok, i've figured out how set connection , i'm using user authentication behaviour. works great.! but want able display data out of record of person has logged in. example, used username , password login. , want display name (out of database field) on "success" page after login. how accomplish this? thanks! you first need declare session variable in behaviors panel. need declare variable in form , on page. code on login page looks this: <form id="form1" name="form1" method="post" action=""> <p> <input name="username" type="text" id="username" /> </p> <p> <input name="password" type="text" id="password" /> <input type="submit" name="submit" value="submit" /> </p> </form> then declare session variables in behaviors panel, 1 named

Web variables

hi! i'm doing web page domotic home. need view temperature tmp36. possible?can post me code? ciao! sto facendo una pagina web per la mia casa domotica. ho bisogno di visualizzare la temperatura con il tmp36. e' possibile? mi potete postare il codice? quote is possible? of course is. quote can post me code? code what? read temperature tmp36? act web server? include temperature in html generated? what ethernet shield using? Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Web variables arduino

Will the changes to SEF in 1.5 be backported to 1.0.x? - Joomla! Forum - community, help and support

i improvements made sef last week...! done guys! urls alot better! i wondering though... backported 1.0.x @ all? think alot of 1.0.x users appreciate that.... //rey reyortsed wrote: i improvements made sef last week...! done guys! urls alot better! i wondering though... backported 1.0.x @ all? think alot of 1.0.x users appreciate that.... //rey i second compliment , question. much better. Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Joomla! 1.5 Coding

Thread: MBR messed up

Image
hey, want reinstall ubuntu on laptop dual boots messed-up ubuntu , windows. going install ubuntu when error messages started popping up. so, decided delete old, disfunctional ubuntu partiton , create new ext3 one. unfourtunatley, installer kept bugging. believe because instead of shutting down windows, put hibernation mode. now, can't boot windows because deleted old linux partition on witch grub installed, therefor grub gives me error 15. how can remove grub, or reinstall linux? tried perform fdisk freedos livecd, says fdisk doesn't exist. thug lyfe! i had prob 1 year ago too. think if u enter installation disk, won't erro15, because cd boot first, install ubuntu , grub installed well. if u enter cd , error15 think means first boot device hard disk , u have make 1st cd rom. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support

800 megs of animation assets

this post along lines of self-promotion, i'm hoping it's not unwelcome such, it's massive news flash animators. my company, smiley guy studios, has decided put torrent of flash assets used in our airing cartoon. can use them since offered under creative commons license. show called odd job jack , latest season started saturday on comedy network here in canada. the first episode's torrent 800 megs. download here (this torrent 100% legal): http://thepiratebay.org/details.php?id=3506503 we releasing 1 per week 13 weeks. can find out more 'freejack' , browse contents here: http://www.oddjobjack.com/freejack.php enjoy. More discussions in Adobe Animate CC - General adobe