Posts

Showing posts from September, 2014

Help with Serial.Read() getting string.

int dword; void setup(){  serial.begin(9600);  serial.write("power on"); } void loop(){ dword=serial.read(); if(dword=='1'){  serial.write("\nmotor 1 -> selected\n"); } if(dword=='2'){  serial.write("\nmotor 2 -> selected\n"); } /*if*dword=="m1"){ //do..... }*/ } how can can type strings? instead of single chars, there couple of ways go it. you read byte (that's serial.read returns; not int), , make decision based on character, read again. or, read available data, , store in array of characters. code: [select] char indata[20]; // allocate space string char inchar; // store character read byte index = 0; // index array; store character void loop() {   while(serial.available() > 0) // don't read unless                                    ...

Thread: How to join 2 partitions on the same drive?

i have upgraded hard drive , copied existing ubuntu setup on it. copy process created 1 partition on new drive of same size old drive , created empty partition remainder space. how can join these 2 partitions create 1 large partition? thank help! 1) data backed up? 2) how big partitions? 3) why not use other 1 home partition, data separate os? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] How to join 2 partitions on the same drive? Ubuntu

random numbers to make simple bingo game

hi folks. i making simple bingo game in director. 1. generate random number 75; number=random(75) 2. check if number on list 3. if not number valid , code executed display "bingo ball" 4. add number list and repeat. is valid? there problems approach, ie. numbers called, random number generated has more likelihood of being on list speed take hit? or there way this? thanks in advance the issue approach evident when you've removed bunch of numbers already. see number of times have repeat step 2 grow each time draw bing ball number of balls drawn increases. how approach in reverse... 1. create list of numbers 1 75, procedurally @ beginning: bingolist = [] repeat witih j = 1 75 bingolist.add(j) end repeat -- gives list containing numbers 1 75. 2. now, have generate random number based off number of items in list , remove item list: listcount = bingolist.count bingoballposition = random(listcount) -- bingo ball value @ position in list: bingoball = bingolist[bin...

Instantiate array after declaration

hello all, i'm new c/c++, might trivial question, haven't been able find proper solution. how instantiate (and declare length) array after having declared before that? have create global array, gets instantiated in constructor. also, length of array depends on parameter of constructor, don't know length when declaring. this code: motor.h code: [select] #ifndef motor_h #define motor_h #include "wprogram.h" #include <servo.h> class motor {      public:            motor(int ports[]);            void setspeed(int speed);                        int count;            servo motor[]; }; #endif motor.cpp code: [select] #include "wprogram.h" #include "motor.h" motor::motor(int ports[]) {            // instantiate motors     ...

OneWire Library / DS1990A

Image
<note: had bunch of links in make easier reference, apparently have have 1 post before can add links...  :-? i'll try add them in reply.> hi, all. i'm reasonably new arduino, , i'm having smidge of trouble onewire library. i've grabbed recent copy of jim studt's onewire library , dumped in ./hardware/libraries/ directory. comes fine in arduino. i attached button reader pin 10 specified 4.7k pull-up resistor, , ground pin (duh) arduino ground. i copied first example playground's onewire page, verified, , uploaded it. should note commented out following line didn't spammed badly: code: [select]      serial.print("no more addresses.\n"); i started serial monitor, , greeted lovely piece of work: code: [select] r=0 0 0 0 0 0 0 40 crc not valid! r=0 0 0 0 0 0 0 c0 crc not valid! r=0 0 0 0 0 0 0 40 crc not valid! r=0 0 0 0 0 0 0 c0 crc not valid! r=0 0 0 0 0 0 0 40 crc not valid! r=0 0 0 0 0 0 0 c0 crc not valid! r=0 0 0 0 0 0 0 40 crc no...

Strange ISR timing

hello guys, i've set isr routine, , wanted measure time elapsed between 2 consecutive isrs. i've written program code: [select] void setup(){  //set pwm: fastpwm, oc2a top, oc2b sets @ bottom, clears on compare  //com2b1=1 sets pwm active on pin3, com2b1=0 disables it  serial.begin(9600);  pinmode(3, output);  pinmode(11, output);  tccr2a = _bv(com2a0) | _bv(wgm21) | _bv(wgm20);  tccr2b = _bv(wgm22) | _bv(cs21);  ocr2a = 49; // gives 20khz pwm on pin11  ocr2b = 24; // gives 40khz pwm on pin3  timsk2 |= _bv(toie2); //activate interrupt on overflow (on counter = ocr2a)   } [other stuff here] isr(timer2_ovf_vect){   timer++;   = micros();   if(timer==2){     serial.println(now-previous);     timer=0;     }   previous = now; } curious results code: [select] 20 12 20 12 24 20 12 20 12 24 20 12 20 12 24 it looks 20,12,20,12,24 repeated many times, , have no idea why. a simpler code such one: code: [select] isr(timer...

Multiple Flash forms per Page

Image
hey all, i'm having issue coldfusion flash forms need with. i've looked on solution, or @ least same issue, have had no luck.... here goes.... i have flash form needs populated fields database. the database may return more 1 row of data, , if does, form needs repeat containing data. i have query working ok (lets brings 4 rows), appears creates 1 instance of flash form (containing data last row in query resultset) , places in 4 instances. the query result data appears correct before , after each instance of form rendered, data in 4 instances of form last row query results. if click here can see image detailing issue form if desciption doesn't make sense. the numbers marked green circles ids particular row in database , correct, if @ numbers marked red circle in flash form, you'll notice equal id last row. i have given each of these forms unique name, , have tried multiple ways of implementing short of going iframes (i don't want go route). direction p...

Envio a espeña - Raspberry Pi Forums

hola. les escribo porque hice un pedido en junio y todavia no lo recibido. en rs no recibo respuesta. ¿es normal el tiempo de espera o me preocupo? sabeis como contactar con ellos. gracias de antemano. supongo que lo pediste rs, mira ver si este calendario de envíos te ayuda: http://www.raspberrypi.org/phpbb3/downl ... hp?id=1586 mas informacion en este post: http://www.raspberrypi.org/phpbb3/viewt ... 23&t=22508 raspberrypi

dpkg Error - Raspberry Pi Forums

Image
hallo bei dem versuch ein sudo apt-get upgrade auszuführen ... nach einem mpd-mpc installationsversuch, bekomme ich diese meldung ! preconfiguring packages ... dpkg: error: parsing file '/var/lib/dpkg/status' near line 13255 package 'libblas3': multiple non-coinstallable package instances present e: sub-process /usr/bin/dpkg returned error code (2) als nicht linux-specialist gibt es da eine möglichkeit das zu korrigieren oder gleich neu aufsetzen ? hints ?? danke ! hat sich erledigt ! raspberrypi

Iptables restore - Raspberry Pi Forums

Image
hi, turned raspberry pi open-vpn server . had add 2 rules in iptables thing. everytime reboot rasberry pi, need create 2 rules again. wont auto-load when rasperry pi starts. how can that? , have 512 mb version (4g) , running 2012-10-28-wheezy-raspbian, have automatic 512 mb ram, or must trick 512 mb instead of 256? just put 2 iptables commands /etc/rc.local , run @ end of boot process. use ubuntu system firewall extensive iptables rules ( couple hundred or so) created firewall script gets run init process , reads of setting config files make easier modify. option, if 2 rules , won't change, put them in rc.local raspberrypi

Trouble with PWM pins

Image
hello , thank in advance may give. bellow mycode. problem myservo.attach(10) causes 1 of 2 motors not turn. long don't include in code have no problems either motor. can't pwm function on pins 3, 5, , 6 work; not motors or servos. doing wrong? code: [select] #include <servo.h> int lmotord_pin = 8;   int rmotord_pin = 12; int rmotorpwm_pin = 9; int lmotorpwm_pin = 11; servo myservo; void setup() {    pinmode(lmotord_pin, output);  pinmode(rmotord_pin, output);    myservo.attach(10);  myservo.write(5);  delay(2000); } void loop() {   digitalwrite(rmotord_pin, high);   digitalwrite(lmotord_pin, high);   analogwrite(lmotorpwm_pin, 100);   analogwrite(rmotorpwm_pin, 100); } read http://arduino.cc/en/reference/servo Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs ...

for loop to index arrays

i can't seem index array using index of loop. the following code works fine, printing "65" serial: code: [select] void setup() {  serial.begin(9600); } void loop() {  int test[480];  for(int i=0; i<480; i++)  {    for(int j=0; j<57; j++)    {      test[479] = 65;   // line 13    }  }  serial.println(test[479]); } however if change line 13 code: [select] test[i] = 65; no longer on serial. what wrong? edit: nevermind. appears working fine now, @ least in test case. not sure wrong before. i'll leave in case there this... you have run out of memory! test array consumes 960 bytes , arduino doesn't have available. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs ...

Dynamic FLV content path

i'm displaying flash video (instance name = vid) through movie clip (instance name = top) in fla actionscript: top.vid.contentpath = "0207.flv"; it works fine. need figure out how make content path dynamic. variable added swf's parent html file this: <param name="movie" value="test.swf?videodate=0207" /> the goal make swf file can play flv file based on value of videodate variable. if videodate=0207, swf play 0207.flv. if videodate=0307, swf play 0307.flv. , on. i can see how should work, i'm not enough of actionscript badass know how code it. in plain english, think need this: videoarray = value of videodate variable html + .flv extension top.vid.contentpath = videoarray any really appreciated. videoarray = videodate + ".flv"; More discussions in ActionScript 1 and 2 adobe

Powering the RPi from the GPIO port - Raspberry Pi Forums

i'm building turtle, , want set free. requires 2 things - wireless tcp connection turtle controller (another rpi - phase complete barring code), , other step self power. plan use li ion battery. single cell churns out 3.7v, , i've found low drop-out regulator make magic 3.3 power rpi. choice of li ion down having drive stepper motors draw amp each, hence 4ah battery. anyway plot... have 1 question, if connect gpio pin 1 3.3v regulated supply, according schematics, should "all work" tm since upstream of rpi 3.3v regulator (np1117-3.3) capacitors/ zeners etc protect rpi usb flaws. have on powered rpi gpio pin 1? (and pin 6 gnd of course!!). ta, andy hove wrote: i have 1 question, if connect gpio pin 1 3.3v regulated supply, according schematics, should "all work" tm since upstream of rpi 3.3v regulator (np1117-3.3) capacitors/ zeners etc protect rpi usb flaws. looking @ schematic 5v line connected pins on bcm2835 labelled "vddbatt"...

weird Serial.print() problem

hello all, i plugged 12 switches in arduino controller , need know on , off.  i sending info using serial.print()  now, don't want hog serial port , send data continuously because make program receiving data freak out.  so created variables each switch, , check whether or not value changes @ every loop() iteration , if does, send new value.  here code: code: [select] int rpin = 0; int apin = 2; int bpin = 3; int cpin = 4; int dpin = 5; int hpin = 6; int epin = 7; int spin = 8; int opin = 9; int gpin = 10; int napin = 11; int nbpin = 12; int ncpin = 13; // variables int alock = 0; int block = 0; int clock = 0; int dlock = 0; int htoggle = 0; int etoggle = 0; int stoggle = 0; int otoggle = 0; int gtoggle = 0; int nselect = 0; int val = 0; void setup() {  pinmode(rpin, input);    pinmode(apin, input);  pinmode(bpin, input);  pinmode(cpin, input);  pinmode(dpin, input);    pinmode(hpin, input);  pinmode(epin, input);  pinmode(spin, input);  pinmode(opin, input); ...

lap counter project

hi, meanwhile somehow semi-experienced arduino user, want next level: lapcounter project motor sport system hardware car/ kart: arduino mini ir led sending coed signal pc: arduino duemilanove ir receiver sending data via usb to completed want create software @ pc: - receiving laptimes several vehicles signal coding - saving them file , call file later analysis (maybe ascii file) - showing measured data on pc here question: software should use create (windows) pc software. ideally want have exe file run , thing works...my experience on arduino only...  :-/ hi, i'm writing similar slot cars. i use microsoft visual basic 2008 express edition, free download msdn.microsoft.com pc program. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > lap counter project a...

Mega + XBee

greetings, ok, have mega , xbee. believe know how hard wire rx, tx arduino xbeea power. what simplest way read on internal webpage (192.168.a.b) status of digital ports ? i have seen few libraries , api functions floating around, nothing along do. many help, marian for web site able access arduino, need ethernet shield. if want local application able access arduino, has connected serial port (the same when uploading sketches). local application reads from/writes serial port on 1 end, , arduino reads from/writes serial port on other end. one xbee no good. having 1 having 1 shoe. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Mega + XBee arduino

Could not find valid replication peer

we getting "could not find valid replication peer - assuming server first server running in replication group." in our /opt/jrun4/logs/[instance-name]-event.log log file. we setting cluster environment our cf enterprise 7.02 servers running on rh enterprise apache 2.0.52. have hardware load balancer setup 2 physical servers each running single instance of cfmx. these 2 cf instances setup cf cluster. also, our servers dual honed (two network cards) , connect our cb cluster on different connection http , cf requests use. enabled j2ee session variables , enable session replication in cluster admin. problem we're seeing sessions not being replicated. that's when found above error. what causing this? the servers in cluster must have unique names. see "server clustering" in http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18193 . ted zimmerman More discussions in ColdFusion Server Administration adobe

Raspberry ca-Pi-talization - Raspberry Pi Forums

i reflect on couple statements taken directly faqs: what’s raspberry pi? raspberry pi credit-card sized computer plugs tv , keyboard. it’s capable little pc can used many of things desktop pc does, spreadsheets, word-processing , games. plays high-definition video. we want see being used kids on world learn programming. can buy one? can buy raspberry pi through premier farnell/element 14 , rs components . both distributors sell on world. allow me submit revisions these faq topics: what’s raspberry pi? raspberry pi credit-card sized computer plugs tv , keyboard. it’s capable little pc can used many of things desktop pc does, spreadsheets, word-processing , games. plays high-definition video. want see being used kids on world learn programming. we seeing being bought out , used retailers , resellers on world make profit instead (see can buy one?), making difficult students acquire 1 $35 price point got of our attentions for. can buy one? can buy raspberry pi on ebay mor...

Port conflict with max/msp

hello. i trying communicate arduino max/msp. just sending pin number message sent from. i using simplemessagesystem library. i did many times, don't know happen arduino diecimila. when launch max , set right port, arduino quit , stop working.... so quit max, re-plug arduino , launch max same thing happen. it's there port conflict between both of them. any idea, can come from? thank you Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Port conflict with max/msp arduino

Erweiterete Newskomponente? Quellen Angabe - Joomla! Forum - community, help and support

Image
hallo wenn ich news poste, dann muss ich desöfteren auch quellen angaben tätigen. gibt es da evtl. für joomla, wo man newsbeiträgen "quellen" mit angeben kann? genügt es dir nicht, die quelle als link in den newstext einzubauen? ansonsten müsstest du mal schreiben, wie du dir das vorstellst, dann könnte man eine der erweiterungen erweitern Board index Joomla! International Language Support International Zone German Forum Archiv Joomla! 1.0 Komponenten, Module, Mambots 1.0.x

Publishing file to a disc

i doing project need put on disc , make self contained. file needs work on both pc , mac. have learned publish using projector part in publishing, having problem publishing file work on pc. made 2 files 1 mac , other pc, mac 1 works fine on mac's have tryed on pc version doesn't work on computer have put disc in. have suggestions of doing wrong? thanks donny g i should using flash 8 pro. might important information. thanks again donny g More discussions in Adobe Animate CC - General adobe

Reference variable with string

hi all, i have program contains many variables standard format: int songnamenotes[] & int songnamebeats[] eg: happybirthdaynotes & happybirthdaybeats i able define variable used based on string contains song name. so example, have: code: [select] char songname[] = "happybirthday" and able address correct song's note , beat variables what simplest way of doing this? many thanks so you'd write things like: code: [select] songnamenotes[songname] songnamebeats[songname] this not supported c. arrays can addressed integer indexes, not string indexes. you example use #define associate song names "song indexes": code: [select] #define song_happybirthday 0 #define song_iloverocknroll 1 #define song_yoursong 2 and on. then can write things like: code: [select] songnamenotes[song_happybirthday] songnamebeats[song_happybirthday] (you must careful when assigning values arrays, of course). if song name entered user, e.g. via serial p...

Arduino and C# GUI

hi everyone! i have 5 botooms(1st bottom-move forward,2nd-move back,3d-turn right,4th-turn left,5th-stop moving) when user presses e.x. 1st bottom ,then robot moving forwad , when user presses 2nd robot moving , on ... when stopbottom pressed - robot stops i'm interesting in developing application ,which implements logic. i've wrote simple code , think doest work properly. code: [select] using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.windows.forms; namespace arduinoproject {    public partial class myform : form    {        public int cyclenumber;        void sendcommands(string commandname)        {            mytextbox.text += commandname;        }        private void selectsycle(...

Major Problem: SEF, Mambelfish, 404-Page - Joomla! Forum - community, help and support

hope right board. i have strange, urgent problem. had site mambo 4.5.2 ,sef turned on , custom 404 page running. fine. lot of links in google. now after changed joomla 1.04 mambelfish running sef not working anymore. read in threads on different forums. 1 part of problem, , if one, live it, 404 functionality on our server (hosted webspace) more strange. i try explain behaviour examples. our website http://www.xxxxxx-xxxxx.de/cms one no-sef link http://www.xxxxxx-xxxxx.de/cms/index.ph ... &itemid=73 no try provoke 404-error , type: http://www.bartels-logistic.de/press/in ... &itemid=73 i custom 404-page: http://www.xxxxxx-xxxxx.de/cms/index.ph ... &error=404 when type: http://www.xxxxxx-xxxxx.de/cmms/index.p ... &itemid=73 the wrong subdirectory (cmms) change right on (cms) , on correct page. but, , thats major problem, when url 1 of prior sef-generated (links still @ google) http://www.xxxxxx-xxxxx.de/cms/content/view/49/118/ i plain hoster default 404-page. when link i...

C++ overloading operators

yesterday skimmed large fraction of c++ book. through book use << iostreams. say, operator overloading syntactic sugar. anyway, last night occurred me interesting try in liquidcrystal add kind of syntax. seems me worthwhile, i'd setcursor. so thought i'd try implement syntactic sugar: lcd<<"hello expresso machine"; lcd(8,3)<<"bye, now"; this mean overloading << tying print rather iostreams and overloading () , tying setcursor. i thought << both want return 'this' write: lcd(0,0)<<"upper left"<<" "<<x; i pared away trying compile , changed type of fcn void. i realize need several overloaded versions of <<, mimicking in 'print', 1 seemed place start. have code: [select] void liquidcrystal::operator<< (const char str[]) {  //there half dozen overloaded versions of print  liquidcrystal::print(str); //  return this;  }   //void liquidcrystal:oper...

Simultaneous two Speaker Output

hello, i wanted know how able output tones 2 speakers, playing different notes simultaneously. as of can play tones out of 2 speakers @ different times. how make them simultaneous. this code have code: [select] void setup() {  pinmode (4, output); } void fourfunction() {    buzz(4, 1567, 250);    buzz(4, 1479, 250);      buzz(4, 1318, 250);      buzz(4, 1318, 250);      buzz(4, 1479, 750);        delay(500); } void loop() {  fourfunction(); } void buzz(int targetpin, long frequency, long length) {    long delayvalue = 1000000/frequency/2;    long numcycles = frequency * length/ 1000;    for (long i=0; < numcycles; i++){        digitalwrite(targetpin,high);        delaymicroseconds(delayvalue);        digitalwrite(targetpin,low);        delaymicroseconds(delayvalue);    } } this method blocking, since delay time depends on frequency. have @ tone library, non-blocking. ...

Ažuriran prevod - Joomla! Forum - community, help and support

urađena je nova verzija prevoda koja rešava neke probleme koji su bili prijavljeni. ukoliko naiđete na još koju grešku obavestite nas kako bismo što pre ispravili. novu kopiju prevoda možete preuzeti odavde . rešen je problem sa listanjem vesti. skinuo sam prevod instalirao ali sada imam problema sa prikazom č,ć,š,đ,ž jel treba jos nesto da se izmeni u podesavanjima ili da se edituje fajl sa prevodom? unapred hvala na odgovoru. Board index Joomla! International Language Support International Zone Serbian/Montenegrin Forum Prevod i dokumentacija

Index page references in RH to Word

when convert rh printed documentation (word), rh index points wrong pages in situation: the table of contents organized books, and "start each topic on new page" not selected. in other words, within book, topics run on. both index , toc show incorrect page numbers when first @ output. toc corrected refresh page numbers function, index set. offset between correct reference , wrong 1 same toc errors. when set "start new chapters on odd pages" on advanced dialog (button @ bottom of first setup screen), happens way. when option not selected, , topics run on within books, offset more pronounced.. a given index: reference is supposed point first page of topic in keyword appears. (i know, seems point correct page, that's because rh loses track of topic's first page in books runon topics.) probably should point out using rh default stylemapping.dot style sheet. else can run against *.dot, , i'd surprised if made difference. suppose have toc book starts ...

How to validate field that is not required

i have form im trying complete before pilot.... its field not required complete form, need contain numbers. since not required.. how can validate if completed, contains numbers? -- using asp, sql2005 , dw8 which dw? if cs3, believe can use spry validation on field check invalid input though it's not required. - form validation should server-side. -- murray --- icq 71997575 adobe community expert (if *must* email me, don't laugh when so!) ================== http://www.dreamweavermx-templates.com - template triage! http://www.projectseven.com/go - dw faqs, tutorials & resources http://www.dwfaq.com - dw faqs, tutorials & resources http://www.macromedia.com/support/search/ - macromedia (mm) technotes ================== "daniel" <dan_c@h.com> wrote in message news:f2k8vu$5ia$1@forums.macromedia.com... >i have form im trying complete before pilot.... > field not required complete form, need > contain numbers. > > sin...

Feature request/usage suggestion for moving threads [done] - Raspberry Pi Forums

Image
i see lot of posts in wrong sub-forum, troubleshooting in general discussion, robotics questions in raspbian sub-forum, etc. not care in least if makes mistake, kind of bummer folks posting if not question/idea/tutorial/etc in front of right audience. on other forums have seen "report post" dialog have 1 of "reasons" be, "please move proper forum" type reason. add option? mods hate if more people asked threads moved right location? use current "other category" choice , put in comment box sub-forum think post should moved to? bgirardot wrote: i see lot of posts in wrong sub-forum, troubleshooting in general discussion, robotics questions in raspbian sub-forum, etc. not care in least if makes mistake, kind of bummer folks posting if not question/idea/tutorial/etc in front of right audience. on other forums have seen "report post" dialog have 1 of "reasons" be, "please move proper forum" type reason. a...

Help with timer structure

hello friends! i newbie, have arduino , have following problem: science don't use delay function timming, use more real-time functions, plc's have. what tried create timer structure, following members: en-enable (active long conditions true) tt-timer timing (active long timer counting, not reached preset value) dn - done (active when condition on , accumulated value reached preset value). i try calculate accumulated value registering time before , after acc value calculation, this:      start_time = micros();      timer1_acc = timer1_acc + start_time - end_time;      end_time = micros(); seems work, result not accurate @ all. 4 times bigger shoult be,probably becouse can return me multimples of 4 , scan seen being microsec, counts 4. don't know bahaviour on bigger programs. did of try similar? can implemented in library? best regards! you mean library http://www.arduino.cc/playground/code/eventfuse ? ...

Thread: Staff baits with inaccurate information - user penalized

in reference post: http://ubuntuforums.org/showpost.php...0&postcount=28 , post made exposes inaccuracy has vanished. keep hard work guys. not sure want here. can please expand. Forum The Ubuntu Forum Community Ubuntu Community Discussions Resolution Centre Staff baits with inaccurate information - user penalized Ubuntu

Serial.read() -- can i read a single bit?

hej, i trying sync synth project gameboy color running lsdj, using serial communication on infrared light. gameboy has ir port, due low processing power of gameboy, quite hard generate required 38khz carrier wave required, let alone generate the required 2400 baud serial bytes. a solution sync problem blink ir led on every step of gameboy sequencer... is there way blinks accepted bits ir receiver, , read serial.read()?? example of ir setup here: http://tthheessiiss.wordpress.com/2009/08/05/dirt-cheap-wireless/ datasheet of ir receiver here: http://www.alldatasheet.com/datasheet-pdf/pdf/168770/everlight/irm-3638n3.html best, jacob i wouldn't use serial classes that.   i monitor ir sensor manually through digitalread/analogread , time data in.  however, prone interference, sunlight or lamp without carrier. Arduino Forum > Forum 2005-2010 (read only) > Soft...

Raspberry Pi as a Touch screen Kiosk - Raspberry Pi Forums

Image
raspberry pi touchscreen kiosk dell-pi.jpg (59.44 kib) viewed 15345 times i've setup dedicated raspberry pi in sturdy box large touch screen attached in school foyer display school website. idea useful other schools, or in other contexts, stand alone wifi enabled touch screen required. long website not demanding raspberry pi copes reasonably, , screen bright, clear , responsive. used recent debian image (2012-10-28-wheezy-raspbian) , configured using raspi-config gpu memory of 128mb. didn't overclock because may bit warm in sealed box. ensure enable ssh can login pi remotely. also, enable start desktop on boot. wifi first of all, selected wifi dongle on verified list http://elinux.org/rpi_verifiedperiphera ... i_adapters . mine ralink 802.11n device. edited config file /etc/network/interfaces directly set in simple way. commented out lines: code: select all #allow-hotplug wlan0 #iface wlan0 inet manual #wpa-roam /e...

Dreamweaver CS3

Image
i need know if can use photoshop 7.x newest dreamweaver cs3? don't want upgrade photoshop cs3 version. haven't purchased dw cs3 yet. depends on whether work photoshop 7. if not, may purchase dw version 8. thanks why not cs3 trial of dw , see if workflow supported? -- murray --- icq 71997575 adobe community expert (if *must* email me, don't laugh when so!) ================== http://www.dreamweavermx-templates.com - template triage! http://www.projectseven.com/go - dw faqs, tutorials & resources http://www.dwfaq.com - dw faqs, tutorials & resources http://www.macromedia.com/support/search/ - macromedia (mm) technotes ================== "tigger6425" <webforumsuser@macromedia.com> wrote in message news:f2hsmd$8dh$1@forums.macromedia.com... >i need know if can use photoshop 7.x newest dreamweaver cs3? >i > don't want upgrade photoshop cs3 version. haven't > purchased > dw cs3 yet. depends on whether work photoshop ...

Urgent question...can anyone help? - Joomla! Forum - community, help and support

Image
i want style individual pages.....how do it?.... what know far: -you have give page want style page class suffix. (is number, word...what represent?) -you have give page kind of css code. how do this? and, begin? any answers appreciated.... thanks do mean subtle css changes or different , feel. different , feel on each page yo8 want consider template assigning. can have many templates tweaked how want them , assign them page in template manager. d Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Not booting - Raspberry Pi Forums

my raspberry pi has been working fine since bought in july. has taken several goes start up. when plug in power red light comes on , green light flashes 5 times, stops second , repeats. pi original model b running berryboot great corrupted card. try move start.elf onto card image file. http://elinux.org/r-pi_troubleshooting# ... ic_pattern raspberrypi

Thread: E-mails not sent to outward server

Image
hello, having big e-mail problem 1 of clients hosted on server. website hosted on our server, e-mails hosted somewhere else. mx configured , there no problem. when send him e-mail through normal e-mail program (client), arrives @ other server fine. problem is, when script on website (php - contact form) sends results e-mail, server somehow looks e-mail present on servers (it not go through external mx). have checked everything, can't seem find solution. here know problem might be? thank help. can please me here, have no idea how solve problem or start looking Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] E-mails not sent to outward server Ubuntu

Jelly Bean speech recognition - Raspberry Pi Forums

hi, when jelly bean released, 1 of features offline voice dictation through built-in speech recognition engine (srec nuance software). release in jelly bean means it's under apache license. i've downloaded android source , extracted speech recognition engine acoustic model (us english) github repository https://github.com/arthurv/srec . i've been meaning port debian (raspbian) i've noticed uses java interface (jni) interface microphone apps use it, , being unfamiliar android system architecture, wondering if there's in these forums can in porting system plain linux? documentation available github repo, i've been reading while don't have time nor android dev experience accomplish this. if android knowledge gets involved, can out. afaik, jni bridge bridge raw driver on /dev/ raspberrypi

glow led -- Using GPIO - Raspberry Pi Forums

Image
please suggest. suppose want blink led after every 10msec on target in while loop. need code in target root file system. runs onto target . how have user space code : code: select all code: #include <stdio.h> #include <string.h> #include <fcntl.h> #include <sys/ioctl.h> #define samsung_led_writereg 0 #define samsung_led_readreg 1 int main(int argc,char **argv) { int fd=open("/dev/samsungled",o_rdwr); int arg; if(argc==1) arg=0x00; else if(argc==2) { arg=atoi(argv[1]); } if(arg>15) arg=0; printf("d\n",arg); printf("=============test begin=============\n"); if(fd == -1) { printf("open file error\n"); exit(0); } if(ioctl(fd,arg,0)==-1) { printf("ioctl error\n"); exit(0); } printf("==============test end===============\n"); ...

Thread: Anything new, or problems to take note of in U-Studio Jaunty (9.04)?

hello all, running ubuntu studio version 8.04 , have been having issues jack, overall minor. main worry upgrading newer version system stop working (due updates). have noticed there problems intrepid , never bothered update version. however, don't think there ubuntu-studio version of intrepid begin with. notice there version 9.04 (jaunty) release. curious updates made. know if jack has ffado support , if using usb audio devices have improved. these big issues version 8.04. curious hear have tried out ubuntu studio 9.04. thank you, geo Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu_studio] Anything new, or problems to take note of in U-Studio Jaunty (9.04)? Ubuntu

Sampled sound function

i created function play low quality sampled sound out speaker attached arduino. it plays 4000 1 bit per sample sound through digital pin. maximum 50 seconds in atmega 328 memory. it stores data bit packed in array. it enough play short sounds @ low quality. here function: code: [select] #include <avr/pgmspace.h> void playsound(prog_uchar input[], long len, int soundpin){    long arrayc=0;    while(arrayc < len){        unsigned char s = pgm_read_byte_near(array + arrayc);        for(unsigned char bs = 1;bs < 128;bs *= 2){            digitalwrite(soundpin, s & bs);            delaymicroseconds(250);        }    arrayc++;    } } syntax: code: [select] void playsound(prog_uchar input, long len, int sound) where input bit packed program space array of samples played. len length of array in bytes soundpin pin play sound out the following program converts...

Display accented characters MX7

i'm in process of transferring site cf5 mx7 (running on solaris 10) , have hit problem display of accented characters, appear little boxes. have tried <cfcontent type="text/html; charset=utf-8"> <cfprocessingdirective pageencoding="utf-8"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> all made no difference. i thought may retrieval of data form database (oracle 8.1.7), boxes appear hardcoded text within template e.g. <cfif session.lang 'eng'> <a href="frame.cfm?lang=fre" target="_top">français</a><br> <a href="frame.cfm?lang=spa" target="_top">español</a><br> a square box appears instead of ç in français , instead of ñ in español any assistance extremely welcome ! question: storing characters in db html entities or actual characters? http://www.w3schools.com/tags/ref_entities.asp the url above opens ht...

If Statement HELP!

to measure distance. and i'd add , if statement, can following. if (value of pin 7 < 50cm) { output pin 6 = high } . how can above in arduino? bassam quote if (value of pin 7 < 50cm) { output pin 6 = high } try this: code: [select] if (analogread(7) < 50) { digitalwrite(6, high); } lefty Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > If Statement HELP! arduino

How to make a RS latch?

Image
hi everybody, i've spent years program plcs , have discovered arduino. want learn , understand how make own programs , not copy , paste has been done others. i start small , easy programs , try increase difficulty slowly. i'm stuck. here want do: i have 3 inputs connected 3 switches. each input controls own output (a led), plus output common 3 inputs , last input reset common output. when 1 input high, corresponding led blink , common led inputs blink. when input going low, both led off. for working, succeeded it. don't know if it's correct way works. now , when common led blinking, want switch off pressing button , led stay off when button released. and if input goes high, output led on common led reset press button, , on. with plc easy using rs latches, here, i'm lost. here code: code: [select] void loop(){ loop1(); loop2(); loop3(); loop4(); }   void loop1(){    input1state = digitalread(input1);  if (input1state == high) {        unsigned lon...