Posts

Showing posts from September, 2012

Forums Avatar problem - Raspberry Pi Forums

i have had trouble getting aviator work every image try on size limit , if shrunk image size limit pixely , horrible quality. how show image along username? there 2 images may appear along username when viewing posts. 1 of them may image associated rank, in form of stars, blocks or dots, indicating how many posts have made or status on board. another, larger image, known avatar , unique or personal each user. board administrator enable avatars , choose way in avatars can made available. if unable use avatars, contact board administrator , ask them reasons. checked out faq , figured best if asked impressive. heard 3 magic number. raspberrypi

How to manage with Captive Network Assistant + NodeJs + Rasp - Raspberry Pi Forums

hello, i'm working on installation based on node js server in raspberry pi model b+. first, i've turned rpi wifi access point, redirect requests web app iptables , dns. want user connects wifi access point smartphone, have find simplest way access web app. so, want user arrives on validation page in captive network access, , when validated, close cna , launch the default web browser of smartphone. possible, or i'm on wrong way ? raspberrypi

Co2 Controller

ok let me start off saying know little bit programming arduino. have built temperature controller , build co2 controller. willing pay this. temp controller have built: here code: code: [select] #include <eeprom.h> #include <liquidcrystal.h>// include library code int temppin = a0;  // make variables// thermistor @ a0 int led =13; // led @ pin float temp;  // make variable called temp float settemp; // make variable called temp int swtu = 7;  // switch @ pin 7 int swtd = 6;   // switch down @ pin 6 liquidcrystal lcd(12, 11, 5, 4, 3, 2); // lcd @ 12,11,5,4,3,2 void setup() {   pinmode (led,1);  // make led or pin13 output   serial.begin (9600); // set serial monitor tx , rx speed   lcd.begin(16, 2); // set "blocks" on display   lcd.setcursor(0,0); // set cursor colum 0 row 0   lcd.print("welcome"); // display welcome 1 second   lcd.clear(); // clear lcd   eeprom.read (1); // make eeprom or atmega328 memory address 1 } void loop() {   int tvalue =

Arduino DUE vs Arduino Mega ADK Rev3

Image
ciao, sicuramente mi direte: "l'ennesima domanda su questo?", ebbene sì, ho cercato molto in giro, in italiano ed in inglese, e ho guadagnato soltanto una gran confusione ed informazioni contrastanti. ho creato il mio primo robottino, tramite arduino uno + l293 (ponte h) + ln42 (modulo bluetooth) gira per la stanza ricevendo istruzioni dal tablet. non padroneggio ancora bene la comunicazione bt, ma questo è un altro discorso. 6 porte occupate per il controllo motori, 2 per la comunicazione bluetooth, ora che ci voglio aggiungere un display 16x2 sono in crisi col numero di pin, è ora dell'upgrade, ed il passo immediatamente successivo è embeddare un vecchio smartphone che porta con sé accelerometro, gps, bussola, potenza di calcolo, wlan! la scelta ricade in un primo momento su arduino mega adk, con abbondanza di pin e con porta usb dedicata ad android.  andando vedere meglio scopro però che arduino due monta un processore arm e che, in qualche modo, si riesc

Storing Data permanently

hi all, i controlling relays module arduino, need store user selection/inputs permanently... i.e when switch power on/off arduino values entered user prior power off,  remembered processor, until over-written..... i think may have found solution problem... answer on board eeprom... can read , write data no worry of power on/off..... correct if wrong guys.... Arduino Forum > Using Arduino > Programming Questions > Storing Data permanently arduino

servo case structure issue

hello, i have created fsm servo. has 2 states. using switch/case structure motor getting 'stuck' in first case , im not sure why. code: code: [select] #include <servo.h> #define 1 1 #define 2 2 servo myservo1; //projector platform servo unsigned long timer1; //define timer variable state 1 if statement void setup() {   myservo1.attach(9); } void loop(){     static int state = one; // initial state one.     switch(state)   {     case one:     myservo1.writemicroseconds(1374); // servo moving cw     delay(5000);     myservo1.writemicroseconds(1474); // servo stationary     timer1 = millis();     if (millis() - timer1 > 5000)     {       state = two;     } break;     case two:     for(int speedv1 = 0; speedv1 <= 100; speedv1 += 2) // loop ramp speed of servos     {       myservo1.writemicroseconds(1474 + speedv1); // speed increase 2 each iteration (servo 1) until servo reaches fullspeed (acw)       delay(40); // delay between loop iterations     }     delay(

LOW power HALT, battery and supplys.

i have heard can put arduino "sleep mode makes low power consumption. being am, thought have power saving mode , have small battery keep alive. the rtc has alarm output pin can use "wake up" arduino, , turn on main power. then output of power supply go through 7805 re-charge battery , power arduino, , rest of circuit. well, battery on output of 7805, need have diode on output stop battery feeding 7805. alas there problem there 5 v become 3.8 volts (or ever is.) thinking back, around problem put diode (same 1 after output) between gnd pin of 7805 , gnd offset drop. right? quote ..have small battery keep alive.. alas there problem there 5 v become 3.8 volts (or ever is.) thinking back, around problem put diode (same 1 after output) between gnd pin of 7805 , gnd offset drop. not good.  you drop voltage more, 5v - 2x diode_drop. the best way put small battery (what mean small?) @ 7805 input (btw, there better voltage regulators today) of 2 diod

Empfehlung Provider für Joomla 1.5 !? - Joomla! Forum - community, help and support

Image
hallo, ich habe joomla 1.5beta zuerst auf dem webspace von strato (powerweb s) installiert. leider funktionierte die seite nicht (siehe unter http://www.versuchskaninchen.de/derma ). als ich dann das gleiche paket auf dem webspace von providerweb(webhosting standard) installiert habe, hat alles geklappt ( http://www.doktorandenboerse.info/ermuth ). gibt es irgendwo einen thread mit weiteren erfahrungsberichten, welcher provider joomla-tauglich ist und welcher nicht? gruß thies p.s.: ich betone, dass ich weder für strato noch für providerweb arbeite, sondern nur meine erfahrung weitergeben möchte! ich habe hier http://www.joomlaportal.de/tipps-tricks ... -mode.html mal einige infos zusammengetragen (ist ne z'fassung aus einem anderen thread dessen link du ebenfalls dort findest) Board index Joomla! International Language Support International Zone German Forum Archiv Joomla! 1.0

How do I alternate labeling tickmarks on a linechart?

i want x-axis have tickmark labels every 3 tickmarks this: _60____63____66____69____72____75____78_ what default this: __60_61_62_63_64_65_66_67_68_69_70_71_72_73_74_75_76_77_78 any appreciated tony interval=4 <?xml version="1.0"?> <mx:application xmlns:mx=" http://www.adobe.com/2006/mxml"> <mx:script><![cdata[ import mx.collections.arraycollection; [bindable] public var ac:arraycollection = new arraycollection([ {year:2000, profit:2100}, {year:2001, profit:2020}, {year:2002, profit:2300}, {year:2003, profit:2040}, {year:2004, profit:2500}, {year:2005, profit:2600}, {year:2006, profit:2770}, {year:2007, profit:2800}, {year:2008, profit:2900}, {year:2009, profit:2990} ]); ]]></mx:script> <mx:panel title="line chart"> <mx:linechart id="lc" dataprovider="{ac}"> <mx:horizontalaxis> <mx:linearaxis baseatzero="false" interval="2"/> </mx:hor

Thread: Asus G50VT Enhanced vs Compatible: GRUB

hi, have asus g50vt laptop 2 hard drives. first of them contains windows vista 64, , second 1 used have ubuntu 9.04. used load grub , fine. well, not everything. see, thing specific laptop linux doesn't default bios configuration , doesn't work unless set setting "advanced-> ide configurtion->sata operation mode [compatible]" (as opposed "advanced-> ide configurtion->sata operation mode [enhanced]", windows needs). now, used make work switching between enhanced , compatible when wanted boot windows. started experiencing hard drive problems. had re-install ubuntu couple of times. works little while, , after 4 or 5 boots checks disk because of errors, works. next time fails. , have run fsck manually , has fix many inodes , whatnots. fails. hard drive failing. isn't point. think it's hard-drive problem, because @ boot, if set "enhanced", bios doesn't detect second hard drive (it used to).

tinyMCE is missing and sometimes undefined - Joomla! Forum - community, help and support

hi i haven't been able find post quite same problem.  1 person mentioned same issue, there no reply. this issue on localhost.  running php on windows build database version:  4.1.14-nt  php version:  4.4.4  web server:  apache/2.0.54 (win32) php/4.4.4  webserver php interface:  apache2handler  joomla! version:  joomla! 1.0.10 stable [ sundown ] 26 june 2006 00:00 utc  when going in edit content not see tinymce editor.  have unpublished no wysiwyg editors , republished tinymce no avail.  have confirmed $mosconfig_live_site matches how accessing site. i ocassionaly recieve following error on page: line: 217 char: 3 error: ´tinymce´ undefined code: 0 url: http:// ... does have ideas? thanks i have same problem 1.0.11.  love know answer. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x WYSIWYG Editors - 1.0.x

Thread: Nueva ley de control en internet

hola amigos del team chile !!! me tendrán que perdonar por publicar esta claves de noticia en el foro pero me párese que es algo muy importante y aun estamos tiempo para hacer algo solamente quedan algunas cuantas horas. nueva ley que será debatida en el senado el día martes 29 de este mes en el cual nos van bloquear todas las paginas de internet de descarga libre http://www.adictos.cl/foros/staff-ad...-internet.html en ese link esta el video que no fue mostrado en televisión y en el cual ud's se registran en esta pagina para poder enviarles correo los diputados de todas las regiones para evitar que se apruebe esta ley no lo podemos permitir que nos restrinjan el uso de internet cuyo nosotros pagamos por el servicio no al proyecto de ley necesitamos la mayor cantidad de gente que le envíen los diputados por favor no es broma es cierto y lo pueden ver en el video queda poco tiempo. necesitamos organizar un junta para salir protestar para impedir el comien

floats to ints for temperature reading

i have digital thermometer sparkfun: tmp102. used example code linked on product page values thing. have issue there. want take value given , print (strobe) them 4x7 segment display. issue getting float of unknown length 4 integers. let's value read 70.68. need that: a=7 b=0 c=7 (because rounded up) or if value 101.56: a=1 b=0 c=2 (because rounds up) the purpose of fourth digit determine if third gets rounded. 3 digits printed display. i've got: code: [select] //arduino 1.0+ only //arduino 1.0+ only ////////////////////////////////////////////////////////////////// //©2011 bildr //released under mit license - please reuse change , share //simple code tmp102, prints temperature via serial ////////////////////////////////////////////////////////////////// // sda on analog pin 4, , scl on analog pin 5 #include <wire.h> int tmp102address = 0x48; const int numbers[] = {0b11111100,0b01100000,0b11011010,0b11110010,0b01100110,0b10110110,0b01111010,0b11100000,0b11111110,

AC adapter failed - Raspberry Pi Forums

i bought pi kit vilros , after 2 weeks looks ac adapter has failed. rapid blinking green light on pi , that's all. pi off. know it's power supply problem because when used phone charger, pi became alive again. while i'm waiting backup adapter shipped, want ask if should use phone adapter. it's 1a , "factory" pi adapter 2a. ok power lower amperage? there connected pi, it's wifi adapter , external hdd has it's own power supply. your 1 amp supply should ok present needs provided can deliver 1 amp @ 5 volts claims. raspberrypi

Calibrating Nawrath's "FreqCounter.h"

greetings, i using nawrath's "freqcounter.h" using following demo code: code: [select] // frequency counter lib example /*   martin nawrath khm lab3   kunsthochschule f¸r medien kˆln   academy of media arts   http://www.khm.de   http://interface.khm.de/index.php/labor/experimente/ */ #include <freqcounter.h> unsigned long frq; int cnt; int pinled=13; void setup() {   pinmode(pinled, output);   serial.begin(115200);        // connect serial port   serial.println("frequency counter"); } void loop() {   // wait if serial going on   freqcounter::f_comp=10;   // cal value / calibrate professional freq counter   freqcounter::start(100);  // 100 ms gate time   while (freqcounter::f_ready == 0)   frq=freqcounter::f_freq;   serial.print(cnt++);   serial.print("  freq: ");   serial.println(frq);   delay(100);  //original delay delay(20);   digitalwrite(pinled,!digitalread(pinled));  // blink led }  which example. when put 280 hz in reading of

How do you make a Flash file 'searchable' to browsers?

i've heard ywith flash can create html wrapper , create style hidden attributes meta info can seen browsers. browsers looking content. how done? there tutorials show process? there 3rd party plug-ins allow add searchable data swf file placed in html page? any direction or links info on appreciated, ken on wed, 26 mar 2008 18:45:39 +0000 (utc), "ken nielsen" <webforumsuser@macromedia.com> wrote: >i've heard ywith flash can create html wrapper , create style >with hidden attributes meta info can seen browsers. browsers >looking content. > how done? offtopic. read html headers, not flash. try search in google. should tons of info. flash not visible for search engines. More discussions in Adobe Animate CC - General adobe

Neuer IC reagiert nicht

hallo zusammen, nachdem ich gestern den ersten ic sowas bekommen hab, dass er die basis kann, ich will, wollte ich jetzt mal einen zweiten dazu bringen, das selbe zu tun, um in anschluss eine kommunikation zwischen den beiden herzustellen. gesagt, getan: ic ausgewechselt, sketch aufgespielt, blöd geschaut. beim ersten kommt jeden zweiten upload-versuch die fehlermeldung, ich hatte den falschen µc angegeben. beim nächsten versuch gehts wieder. na gut soweit. sketch ist drauf. serial-Überwachung usb-konverter leuchtet dauerhaft. wtf? der soll nur daten schicken/empfangen auf befehl, welchen ich nicht gegeben hab. serial monitor öffnen, steht nichts drin. na gut, vielleicht ist der kaputt, nächsten. ausgetauscht, aufgespielt, gewartet. hat der eine andere taktung? beim aller ersten ic war bei delay(1000); 1 sekunde warten angesagt. bei dem sind's auf einmal 10 sekunden?! na ja, dann mal weiter. drück ich den taster, wartet er ewig und schickt dann eine leere nachricht den pc

Thread: Is there a Program that can convert jpegs into vector images?

Image
i used use freehand trace jpegs , convert them vector images on xp machine. there way of doing this? tried installing freehand using wine , didn't work. inkscape can trace bitmaps vectors, , nice vector editor anyway should give try. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [all variants] Is there a Program that can convert jpegs into vector images? Ubuntu

IR receiver doesn't receive anything - Raspberry Pi Forums

i didn't buy flirc, adafruit thing. following instructions given , careful plug: pin 3 on receiver pin 1 on gpio, assuming pin 1 on gpio 1 near "j8" marking on pcb pin 2 on receiver 3rd pin on right on gpio (pin 6) pin 1 on receiver 3rd pin bellow (pin 12) according what i've read (in few places), have run "irw" command line , stdout should display commands ir remotes. well, i've tried few remotes , far i've got nothing. and, of course, can't tell if it's electrical problem (i don't see how have made mistake there) or if there's i'm not doing in software. have raspberry pi b+ , latest stable openelec. piscope show activity on gpios. raspberrypi

issue calibrating the RGB order for my led strip

ey!! i bought cheap , unusual ws2811 in ebay. http://www.ebay.com/itm/5m-30-pixel-ws2811-ic-150-smd-5050-rgb-magic-color-led-strip-dc12v-waterproof/281261795832?_trksid=p2050601.m2372&_trkparms=aid%3d111000%26algo%3drec.current%26ao%3d1%26asc%3d207%26meid%3d5412214385873098353%26pid%3d100085%26prg%3d1112%26rk%3d1%26rkt%3d4%26sd%3d281261795832%26%26clkid%3d5412216028195577415&_qi=rtm1562569 the strip works 12v, , using 1200ma power supply far, seems enough far. i´ve tried strandtest.ino sketch, rgbcalibrate "fastled" library, , own sketch. also strip not addressable. color controllable in groups of 3 leds. now facing following problem: using "rgbcalibrate" sketch "fastled" library, , have identified right order leds display colours correctly "brg", when try change in sketch, uses "adafruit_neopixel.h" library, ide tells me "ws2811:59: error: 'neo_brg' not declared in scope". apparently configuration no

Movian (previously Showtime) now runs on RPi 2 - Raspberry Pi Forums

hi 2 things, i've decided rename showtime movian (read more why here: https://movian.tv/news/56 ). secondly, movian runs fine on raspberry pi 2 sd card image downloads can found here: https://movian.tv/downloads/stos . what it? (when first saw this, assumed movie channel known showtime had renamed else. imagine that...) raspberrypi

[RESOLU]problème d'installation du pilote arduino sous seven.

bonjour, j'ai essayé d'installer le pilote arduino "arduino1.0.5.r2" sous windows 7 mais j'ai beau spécifier le répertoire :  c:\program files (x86)\arduino-1.0.5-r2\drivers\ftdi usb drivers\ ainsi que celui correspond à mon processeur et il n'y rien faire, le système m'indique qu'il n'y pas de pilote dans ces emplacements. que dois-je faire s'il vous plait ? merci part avance. trivoli il faut se mettre dans le répertoire c:\program files (x86)\arduino-1.0.5-r2\drivers\ et non celui cité précédament. Arduino Forum > International > Français (Moderators: jfs, Snootlab) > [RESOLU]problème d'installation du pilote arduino sous seven. arduino

How to change colors and arduino logo?

hi, i change colors, text , arduino logo default wifi default page users can setup yun wireless network. do know can found files , how edit it? best regards! http://forum.arduino.cc/index.php?topic=208908.msg1606818#msg1606818 Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > How to change colors and arduino logo? arduino

Code size + data size from compiler?

is there way compiler in ide 1.0.5 report declared data storage size code size? i hand of course, that's pain when making incremental changes architecture. no, think new beta 1.5.6 has that: http://arduino.cc/en/main/software#toc3 however, data size estimate. have tried this: http://playground.arduino.cc/code/availablememory Arduino Forum > Using Arduino > Programming Questions > Code size + data size from compiler? arduino

Official TFT LCD screen - expected or damaged?

Image
hi. note: question tft lcd screen goes esprola. know it's not right subforum figured people owning esprola own same screen know. if i'm way out of line posting here, don't hesitate let me know. i've ordered esprola , tft lcd screen featured on featured on web site. unfortunately, esprola damaged during shipping , i'm trying figure out whether screen has been (slightly) damaged, too. while works, 3 of corners not attached board. normal or 2 of corners supposed elevated? cheers, bogdan even mine have display not fixed @ corner. maybe mine it's different your, mine it's esplora, esprola!!!  Arduino Forum > Products > Arduino Esplora (Moderator: fabioc84) > Official TFT LCD screen - expected or damaged? arduino

Trouble with mini servo motor

i new world of arduino , electronics. trying control mini servo 2 pushbuttons, 1 turn left , 1 right. want motor arm increment/decrement 10 degrees according button pressed. problem having arm swings way 0 or 180, rather going 10s. tried fix several times in code , i'm pretty sure wired correctly. code posted below. appreciated. code: [select] #include <servo.h>  // servo library servo servo1; const int buttonlpin = 2; const int buttonrpin = 3; int buttonlstate; int buttonrstate; const int ledpin = 13; void setup() {  servo1.attach(9);    pinmode(buttonlpin, input);  pinmode(buttonrpin, input);    pinmode(13, output);  servo1.write(90); } void loop() {  int position = servo1.read();    int buttonlstate;  int buttonrstate;  buttonlstate = digitalread(buttonlpin);  buttonrstate = digitalread(buttonrpin);      if((buttonlstate == low) && (buttonrstate == high))    {      servo1.write(position + 10);    }        if((buttonrstate == low) &

Modificar datos GPS

hola todos, estoy realizando un pequeño proyecto con un gps que debe mostrar una serie de valores por pantalla, como por ejemplo la fecha, hora, latitud y longitud. el problema es que en el caso de la fecha y la hora, el gps muestra los datos de esta manera por defecto: fecha:  03032014 hora: 173445.35 me gustaría modificar esos valores para que sean más "vistosos" y facilitar su lectura en pantalla, por ejemplo: fecha: 03/03/2014 hora: 17:34:45 ¿es esto posible? adjunto el código que estoy usando: code: [select] #include <geniearduino.h>  //incluye la librería de la pantalla #include <softwareserial.h>  //incluye la librería del gps softwareserial gpsserial(10, 11); // tx, rx (rx not used) const int sentencesize = 80; char sentence[sentencesize]; int curso; void setup() {   geniebegin (genie_serial, 9600);  //serial0 comunicación con la pantalla   gpsserial.begin(9600);  //comunicación con el gps } void loop() {   static int = 0;   if (gpsserial.availab

Power off ALL the way - Raspberry Pi Forums

hi! have raspberry pi model b running raspbian linux. bought rechargeable usb battery mobile. battery has on/off button , ssh able control headless pi using android phone. shutdown pi cleanly have been issuing command: sudo init 0 once green lights stop blinking press power button on battery. however, red power light on pi remains lit. thought there must capacitor in pi turn off after couple minutes no, light stays lit till disconnect battery. there way shutdown pi turn light off? marty no... there no way power off without adding external circuitry. power button on battery not appear working or it's not power on/off switch.... else? instructions say? raspberrypi

Comparing frequencies with FFT

hi, i want use fft library on arduino uno compare incoming sound interval of [1000hz..5000hz] , have no idea how so. i used code loop found on forum make reading of fft data easier (i had troubles monitor showing me random characters) : code: [select] /* fft_adc.pde guest openmusiclabs.com 8.18.12 example sketch testing fft library. it takes in data on adc0 (analog0) , processes them with fft. data sent out on serial port @ 115.2kb.  there pure data patch for visualizing data. */ #define log_out 1 // use log output function #define fft_n 256 // set 256 point fft #include <fft.h> // include library void setup() {   serial.begin(115200); // use serial port   timsk0 = 0; // turn off timer0 lower jitter   adcsra = 0xe5; // set adc free running mode   admux = 0x40; // use adc0   didr0 = 0x01; // turn off digital input adc0 } void loop() {   while(1) { // reduces jitter     cli();  // udre interrupt slows way down on arduino1.0     (int = 0 ; < 512 ; += 2) { // save 256 sa

default browser bug?

my default browser firefox(confirmed clicking on html , asking firefox check if default). when debug or run opens ie. if run through profiler after adding firefox prefrences browser use profiling, still uses ie. bug? i guess trying app flex development perspective. have change browser settings under preferences--&gt; general--&gt; web browser section , select firefox launch firefox. let know if doesn't work. thanks, gaurav jain flex sdk team More discussions in Flex (Read Only) adobe

Blitting a video to screen ? - Raspberry Pi Forums

hi all, need play hd video full screen, while running pi3d application. there way blit video on screen? or maybe sample frames , push them pi3d textures? perhaps launch video player ? how hack such thing ? thanks. hi, want video run full screen in background 3d model in front of it? might able start video player 3d rendering using transparent background. pi3d uses similar code generating drawing surfaces examples in /opt/vc/src/hello_pi/ , i've found seem place in front of previous ones. (apart wayland/weston desktop seems in front of them) nice able render video texture in pi3d , done, per /opt/vc/src/hello_pi/hello_teapot/ example. don't think reasonable convert video.c python , messy make modified version shared object imported (though feasible route). possible stream frames video image files (i think ffmpeg this) process of loading large images in pi3d quite slow. if needed few frames load them @ start , changed @ animation speed. hd full screen going mor

Leopard MySQL help

hi folks, after upgrading mac osx 10.5 (leopard) discovered no longer connect mysql. searched web fix , found few different posts offering solutions. no doubt due own lack of knowledge terminal on other 'black arts' encouraged delve along way, every post followed failed solve problem. i'm sure it's messed behind scenes i've dipped kinds of things trying fix mysql. result when try connect through cocoa mysql tool of choice on osx10.4 following message: "unable connect host localhost. be sure address correct , have necessary privileges. mysql said: can't connect local mysql server through socket '/private/tmp/mysql.sock' (2)" i tried mamp seemed connect through phpmyadmin on first try following message: " #2002 - server not responding (or local mysql server's socket not correctly configured) " i hate ask have tried on past month (over , on again) , seem have run out of options. has time me find solution? cheers dave davech

Thread: Google Sidewiki

what opinions on this? http://lifehacker.com/5365996/google...em-for-the-web people comment whores love this, meh, comments @ lot of sites complete rubbish. youtube anyone? Forum The Ubuntu Forum Community Ubuntu Community Discussions The Cafe Google Sidewiki Ubuntu

Real time graph plotting - Raspberry Pi Forums

i have done temperature , humidity logging using dht11 sensor. have database in sqlite3 format. want plot run time graph of temperature vs time , humidity vs time. have following code giving indentation error. code: code: select all import matplotlib.pyplot plt import sqlite3,sys,time datetime import datetime,tzinfo,timedelta matplotlib import animation import random fig = plt.figure() ax = plt.axes(xlim=(0,1000000),ylim=(10,100)) line, = ax.plot([],[],lw=2) def init(): line.set_data([],[]) return line, def update_line(): ynew = [] l in y: ynew.append(random.randint(20,100)) line.set_data(x,ynew) database_location = "database3.db" con = sqlite3.connect(database_location,detect_types=sqlite3.parse_decltypes|sqlite3.parse_colnames) x=[] y =[] class utc(tzinfo): def utcoffset(self,dt): return timedelta(0) def tzname(self,dt): return "utc" def dst(self,dt): return timedelta(0) con: cur

Image spacing - Joomla! Forum - community, help and support

hi, when view site in ie7, there nice space between images inserted in page , text. however, when use mozilla firefox, there no space between image , text , looks ugly. i using {mosimage} is there need insert text doesn't go right image border when viewing in mozilla firefox? thanks in advance. (i've searched answer on , failed, apologies in advance if there thread dealing this.) david joomla inserted images output horizontal spacing in image code e.g. hspace="6" alt="image" title="image" border="0" which should rendered browser there not vertical spacing done default ie seem add couple of pixels between images if have whitespace between image tags e.g.   not have space between but will lead spaces between images, because tags not on same line of code i see more ie bug trying acheive effect accross browsers... more advanced editors (which can install add on - see extensions directory) allow individual horizontal , vertical spacing speci

Issue with Resizing Project

Image
please help! everytime re-size captivate project, lose lots of image quality. why re-sizing? reason becuase i'm taking pretty big screen shots off web-based application ... when view project, captivate toolbar @ bottom of screen (the 1 lets play/pause/etc.) can accessed if scroll down mouse, (of course) impacts presentation. my solution re-size project did not need scroll in fashion... i'm getting feedback client "the resolution poor." what can do?! hi westcoastchris there few different ways might handle this. of course, have used 1 of them. record @ full size, resize afterwards make dimensions smaller. have seen, results in loss of quality. here approach may wish take or consider. there actual need user see entire screen? not. might have intro slide or 2 grounds them, describe different features, perhaps use zoom area object zoom 1 quadrant of screen. screen capture quadrant @ full size, should crystal clear. use image zoom , background after zoom completes.

Resising a shape

hi everyone, i made lshape looking forward long time!! l shape has 6 handles defining it's corners. when click on 1 corner, line connecting handle other being dragged , other handle remains in place. what do, resize shape when click on handle itself, or on line itself, without changing shape (it has remain l). lot in advance - richard animation example code sounds want scale design, correct? More discussions in ActionScript 1 and 2 adobe

Thread: I got xammp. . .

however, when try view .php file in localhost, instead of outputting result of script, asks me download .php file! thing is, lot of own php can't view in ubuntu, when it's hosted on different servers freehostia. . .but can view them in windows fine. know what's it? use ubuntu 9.04 firefox 3.0.14. thanks. this lamp server, see if helps: http://https://help.ubuntu.com/community/apachemysqlphp#troubleshooting%20php%205 Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] I got xammp. . . Ubuntu

Need help joining colour sorting code and servos code. Help truly appreciated

hi all. my name jeff , i'm new here. for school project need build colour sorting robot can separate colour of balls. moment, use of arduino uno , tcs 3200 colour sensor  i had managed programme arduino in such way can read , recognise rgb value. of n object with code this code: [select] #include <timerone.h> #define s0     6 #define s1     5 #define s2     4 #define s3     3 #define out    2 int   g_count = 0;    // count frequecy int   g_array[3];     // store rgb value int   g_flag = 0;     // filter of rgb queue float g_sf[3];        // save rgb scale factor // init tsc230 , setting frequency. void tsc_init() {  pinmode(s0, output);  pinmode(s1, output);  pinmode(s2, output);  pinmode(s3, output);  pinmode(out, input);  digitalwrite(s0, low);  // output frequency scaling 2%  digitalwrite(s1, high); } // select filter color void tsc_filtercolor(int level01, int level02) {  if(level01 != 0)    level01 = high;  if(level02 != 0)    level02 = high;

External harddrive is constantly spinning - Raspberry Pi Forums

good evening all, recently, switched harddrive on ntfs ext4 filesystem, variety of reasons (biggest being performance). before did this, had drive mounted using ntfs-3g , worked flawlessly, pi didn't handle stress , cpu bottleneck exposed. so, ntfs drive spun , spun down fine , wasn't continuously spinning, however, - drive spinning regardless of activity (when using ext4 fs) guys assist me in working out issue, , resolving it? if there additional details assist, please let me know. i use 2 drives in setup , mirror main drive second drive backup. use hdparm put backup drive in stand state. http://linux.die.net/man/8/hdparm raspberrypi

Flex and Calendar

can please tell me how can create calendar in flex builder 3. want able display information database onto calendar. possible or not? help! thank you. there scheduling component available in flexlib components (google). might extendable calendar display. otherwise, should able make own calendar control using tile component. can @ datechooser component source ideas on how populate calendar. More discussions in Flex (Read Only) adobe

Empty "create link" box - Joomla! Forum - community, help and support

hello, some (not all) users have trouble when editing page. if click "create link" button (the 1 looks couple of links in chain), little popup window, it's empty. using updated firefox. any ideas how solve this? thanks, april springthistle wrote: hello, some (not all) users have trouble when editing page. if click "create link" button (the 1 looks couple of links in chain), little popup window, it's empty. using updated firefox. any ideas how solve this? thanks, april another useful topic faqs forum http://forum.joomla.org/index.php/topic,336.0.html regards dave Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

Thread: Stuck on Where Are You? when loading from CD

im complete noob. figured i'd give ubuntu thing shot on old pc, instead of reloading xp (boring!!!!) went through lot of problems far, got start installing. after choosing language (english) received error (which don't remember @ moment) indicated couldn't locate language. continued on anyway, because gave me option. when allowed me choose location , time zone, proceed, clicked forward , pc began process. however, processed 16 hours, before decided shut down. know i'll need post exact errors, , pc specs. read lead me believe maybe didn't have enought memory. have advice total ubunt-noob? boot cd , use check cd defects menu item check cd defects. suggest running memtest on live cd, ran in similar problem past weekend , turned out bad ram stick. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu

Trouble designing 2D/3D LiDAR scanner

**overview of lidar project** three of attempting build 2d lidar (light detection , ranging) system scan indoor area or tunnel system. data used reconstruct 2d image. if 2d accomplished within our timeline proceed in designing 3d system. our end goal integrate obstacle avoidance system our timeline short accomplish our focus on developing 2d/3d mapping system. **questions of concern me** 1.) which strategy in using laser better in generating data produce reconstructed image "map". such as.... do invert laser beam it's line reflects off objects/corners process data through edge-detection algorithm reconstruct map? https://www.youtube.com/watch?v=mz5z_xab9i8 . do use single beam scan multiple points using "time of flight" strategy calculate distance create point cloud map. https://www.youtube.com/watch?v=mu9r_ucq2ck 2.) 3d lidar scanners extremely expensive , project requirements state 70% of project needs built. in other words cannot go out , buy scanni

PHPmyAdmin Help! - Joomla! Forum - community, help and support

  if visit site you'll message: db function failed error number 1146 table 'db140717301.jos_session' doesn't exist sql=select session_id jos_session session_id = md5( '5c583685847b6d884088933d2c014386' ) sql = select session_id jos_session session_id = md5( '5c583685847b6d884088933d2c014386' ) i've been told try , repair table sessions or that, , done in phpmyadmin, however, when go phpmyadmin, can't find tables or sessions anywhere! i've attached pic of page found that's prob place anything! please me solve problem! i've worked on site 4 years , don't want lose now!!!   thanks! Τhe screenshot have attached after click  on export tab. you have select db , click on operations tab. there find repair button. Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

FileReference: Upload never makes request on Mac

i have strange filereference upload bug popping on mac (flash player build 9,0,115,0 debugger) popping in app (built using flex builder 3 pro). works on windows machines. fails on mac's , not depend on browser (same results in safari , ff 2 , 3 beta). i have 2 chunks of code, 1 uploading mp3's , other uploading images. code uploading mp3s not have problem @ all. code uploading image dies silently , request never makes server. has run in type of problem before? said, exact same code works fine mp3s. images breaking. kind of weird security or headers thing going on? have workaround mean time opens new window html form upload image if problem pops up, i'd find long term solution entire app can standalone , can ditch html form. any appreciated. thanks, lucas can post 2 sets of code can take closer @ it? i ran filereference bugs macs in past, adobe player bug , had wait adobe release newer version in order fix. art More discussions in Flex (Read Only) adobe

Thread: NV and 720p problems

hi i'm trying use ubuntu mi tv, using hdmi 720p. when install nv's last drivers, 1.9, appears overscan. have tried edit /etc/x11/xorg.conf there isn't information screen size. how can put resolution 1200x668 in ubuntu? (i know resolution because mythtv has overscan aplication) /etc/x11/xorg.conf thanks!!! ----------------- # nvidia-xconfig: x configuration file generated nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder63) wed sep 2 03:50:51 pdt 2009 section "serverlayout" identifier "layout0" screen 0 "screen0" inputdevice "keyboard0" "corekeyboard" inputdevice "mouse0" "corepointer" endsection section "files" endsection section "inputdevice" # generated default identifier "mouse0" driver "mouse"

Aiuto arduino motor driver HW-01

Image
salve, sono nuovo del forum quindi scusate se posto in una sezione sbagliata, ho da poco comprato il driver motori hw-01 http://thumbs2.ebaystatic.com/m/m020xgs0fg6egvep4pl-b8w/140.jpg il problema è che non riesco capirealcune cose: -come si utilizzano gli enabler? perchè all' inizio ero sicuro che bastasse lasciare il cappuccio che tiene collegati due pin ma poi guardando sotto ho notato che in tutti e tre uno dei due non è collegato nessuna pista...  :~ -a cosa serve l' enable 5v? -come si utilizza l'alimentazione esterna? ho visto che ci sono due entrate 5v e 12 v , ma se io volessi collegare una pila da 9.6 v del mangiastrada del gig nikko non posso? -ci sono altre precauzioni che dovrei prendere per evitare di bruciare la scheda o ancora peggio l'arduino?  vi ringrazio in anticipo per sopportare la mia nobbezza  xd e' tutto scritto nel ds del l298, studialo!: se metti il ponticello su enable lo porti 1 quindi abiliti sempre il pon