Posts

Showing posts from April, 2013

fullscreen restore

hi, "how can restore monitor resolution settings buddyapi" hard question let me tried more , more.. in next lines details of dir movie: movie 800x600px, has 2 buttons named "start" , "stop" in first frame put code: global gscrwdt , gscrhgt , gscrdepth on startmovie me gscrhgt = bascreeninfo( "height" ) gscrwdt = bascreeninfo( "width" ) gscrdepth = bascreeninfo( "depth" ) gscrrefresh = bascreeninfo( "refresh" ) end on stopmovie me ok = basetdisplay( gscrwdt , gscrhgt , gscrdepth , "perm" , false ) end in last frame put code looping: global gscrwdt , gscrhgt , gscrdepth on exitframe me go frame end if wish start on fullscreen well, put next code start button: global gscrwdt , gscrhgt , gscrdepth on mouseup me ok = basetdisplayex( 800 , 600 , 32 , 75 , "temp" , false ) (the stage).rect = (the desktoprectlist)[1] end to quit movie put code stop button: global gscrwdt , gscrhgt , gscrdepth ...

Running code on external flash

hi, i know can load code external flash , run , if how, if slow or simple code interested in knowing (only learning because think same doing on avr32 , want try before buy at32ap7000) because main feature of lunching small program computer , atmega328 flash bios. i found code loading small linux kernel on avr , looking @ see if can find how process byte received... may learn in big code..... Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Running code on external flash arduino

Thread: making a server (have extra desktop...)

hey, have desktop dont use anymore got laptop. dont want sit there , have lots of ideas not sure need do. thinking making server (i think thats correct term). want able store files on there, movies, etc. , able access them other computers on network (like laptop). thinking of hosting stuff such website (maybe heh). wondering if point me in right direction need do/consider go doing this. want learning experience if have ideas please let me know! thanks. http server (websites): apache 2 (s)ftp server (ftp storage): vsftpd media server ... (streaming stuff): vlc apparently can handle both music , video streaming (it can act server besides client/player). Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk making a server (have extra desktop...) Ubuntu

How to make good sound? (starter kit + speaker)

Image
i have piezo speakers (different sizes)+ lots of resistors +.. 1.   arduino 2009 duemilanove atmega168 board 2.   16x2 hd44780 white character & blue bl lcd   3.   400 points breadboard 4.   70 pcs breadboard wire 5.   24c16 - 2k i2c cmos serial eeprom 6.   ds1307 - 64 x 8, serial, i2c real-time clock 7.   32.768khz crystal ds1307 8.   74hc595  - 8-bit serial-in, serial or parallel-out shift register output latches 9.   lm324 -  low power quad operational amplifier 10. lm386 -  low voltage audio power amplifier 11. uln2003 - 7 channel high current darlington array 12. 3mm red led x 5,  green led x 5, yellow led x 5 13. 5 x red mini push button momentary switch 14. 5 x black mini push button momentary switch 15. proto & servo shield protoshield pcb arduino can make sound sounds piano key note example, or isn't pii pipi pii mm pii? (square wave sound mean) i'm quite ok in coding use c years, lack knowledge in electronics (all basics, know sound physics) if helps...

Thermostat314 - rPi/python powered Thermostat - Raspberry Pi Forums

Image
introduction : started project because of interest in pid algorithms , temperature control in general. first "program" have written, hoping feedback before finish , turns around advice results it being re-written. summary : thermostat controlled via gpio pins replace 24vac thermostat controls, heat/cool/fan in house. once finish basic functionality plan expand on it, including things like, 7 day schedule, automatic learning, automatic return schedule after x minutes @ override, multizone sensing, etc. completed parts/classes: get_temp (python, includes sanity check , avg value x readings, 10, using dht22) control (python, turns heat/cool/fan on off, includes safety/tracking logic stores data in sqlite) dbinstall (python, builds sqlite db, , populates starting data.) currently, holding 3 tables, settings[ hot,cold,off,fanauto, override, target, safetime ], live [ temp, humid ], states [ heat, cold, fan ] think covers basics of need functionality going un-complete...

if or modulo, what is fastest on AVR?

Image
i building binary alarm clock , wonder fastest use in code, modulo , divide or if's. i used same model here timekeeping: code: [select] current_millis_value = millis();  m += current_millis_value - previous_millis_value;  seconds += m / 1000;  m = m % 1000;  minutes += seconds / 60;  seconds = seconds % 60;  hours += minutes / 60;  minutes = minutes % 60;  hours = hours % 24;  previous_millis_value = current_millis_value; as can see uses lot's of % , /. because it's faster or because it's easier read? maybe it's slower modulo (and divides), according this post, modulo quite slow. for example, there big difference in clock cycles used these 2 examples saving end-time of 10min snooze-period (current time + 10 minutes)?: code: [select] //modulo alternative: if(buttonpressed) {                snoozehours = hours;    snoozehours += (minutes+10)/60; // if snooze minutes more 60 add 1 hours    snoozeminutes = (minutes+10)%60; // , substract 60 snooz...

Thread: Firefox problem

well, mounted firefox profile via tmpfs following instructions: http://blog.taragana.com/index.php/a...ly-with-tmpfs/ well, check every 5 minutes, packed.tar doesn't change. checked crontab , have line asked put down. think mounted though because looked down in file browser , says 200 free memory (i put down 256 rather given 128). remember though @ first trying apply script. said stuff file or directory not found when there. i'm not entirely sure went wrong. oh! while i'm on topic. how update firefox 3.5? i'm still new linux don't know file download on main page. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help Firefox problem Ubuntu

Multiple Bindings error

i have created multiple arraycollections seen in code below. public vars. use arraycollections bindable data datagrids , text fields throughout program. [bindable] public var categories:arraycollection=new arraycollection public var targetgriddata:arraycollection=new arraycollection public var targetgridarray:arraycollection=new arraycollection why binding work on var categories in above code (first var created)? thought bindable apply public var created below it? in addition, when try , add [bindable] below categories create next 1 bindable throws error "access of undefined property bindable" documentation see plenty of examples of using [bindable] multiple times in mxml file. thanks in advance help! having same problem. More discussions in Flex (Read Only) adobe

Need: Image Mambot and documentation for mos_images - Joomla! Forum - community, help and support

first off: looking for looking mambot replaces words can specify anywhere on page. i'm using community builder , idea if person writes e.g. *dog* in profile, string gets replaced image have provided previously. is possible handling mambot? now mos_image ... i have absolutly no idea how thing works. maybe can give me documentation? google provides me loads of sites offering "standard" joomla description ... thanks in advance =) sry *bounce* Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

Looking for a Language reference document

i've investigated arduino page , got html based manual. have printable language reference manual. does knows if there available? thanks. hi msesma, there nice little notebook here http://www.freeduino.org/files/arduino_notebook_v1-1.pdf  that covers arduino specific syntax , of used constructs of c language. arduino platform supports rich subset of  c , c++, when want beyond basics, book on c or c++  should help. but if want gory details on arduino compiler can do, delve compiler reference manuals:   http://www.gnu.org/software/gcc/onlinedocs/ http://www.linuxfocus.org/common/src2/article352/avr-libc-user-manual-1.0.4.pdf Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Looking for a Language reference document arduino

java applets :l - Raspberry Pi Forums

Image
hi name jona m second post. first: mc raspberry pi!!!!! asking of users consiter project, , leave comment or 2 can improve project thank you. project java applet project. herd users raspberry pi can not handle minecraft. (the downloaded version) degere think might right. think browser minecraft might work! asking if has gotten applets working plese give me link in posts below happy! although think raspberry comented in last post might under powerd. still trying dad downloaded minecraft working hold in tight users! jonas wrote: hi name jona m second post. first: mc raspberry pi!!!!! asking of users consiter project, , leave comment or 2 can improve project thank you. project java applet project. java applets in general work well: applets support in browser installing sudo apt-get install icedtea-7-plugin provide javaws jnlp launcher tool. jonas wrote: herd users raspberry pi can not handle minecraft. (the downloaded version) degere think might right. think b...

#define vs variables?

Image
i'm positive must have been discussed somewhere before, searches didn't turn up, apologies. i wondering why seems convention here use integers define pin mappings. wouldn't #define more space efficient, since pins presumably aren't changing? and, if there reason using variable, why not use smaller one, byte, rather int? that said, in general, why should 1 use #define on variable, , vice versa? thanks indulging newbie!   good questions. using #define little more efficient. in blink example sketch, replacing:   int ledpin = 13; with:  #define ledpin 13 actually reduces code size  8 bytes. but when need manipulate value variable (i.e. looping through pins in loop) declaring variable byte little more efficient int. i think int used in examples newbies don't confused seeing types not yet familiar with. there many factors take consideration when choosing #defines on variables. pre-processor can optimize constants @ compile time use them wh...

Serial.read() --> Serial.print()

i'm trying find out how take input serial.read() , print on serlcd serial.print(). know how lcd work, that's no problem. thing i'm having trouble on receiving string (i'm using char array) , printing back. i've gotten far enough can print letter, clear screen, , print next letter. clearing of screen necessary, because otherwise screen filled blank characters. need way check see if read through serial.read() isn't garbage, i've tried has failed. i'm starting out arduino, , need getting hang of it. thanks. hey did in playground wiki? there lots of example tutorials in there lcd's. d Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Serial.read() --> Serial.print() arduino

Why can't registered users submit content..... - Joomla! Forum - community, help and support

Image
well dunno heck now...cuz although have items set registered access, keeps saying not authorised view resource.....what gives??? in user menu >submit news, , submit reviews, have access levels registered still keep getting not authorised message.... ? why complicated of sudden when had running in temp directory ( no longer there sad ) any appreciated. thanks ps.... http://dm-concepts.net user - temp12 pass - temppass to access user menu.....thanks. they need authors submit content. 1 way around use mamblog. Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Unable to Get a lock with GPS unit

hi everyone, i'm working on creating reverse geocaching puzzle box 1 seen here ( arduiniana (dot) org /projects/the-reverse-geo-cache-puzzle/) girlfriend part of christmas present.  i have arduino uno hooked gps unit ( sparkfun (dot) com /products/465) via newsoftserial , tinygps libraries.  i seem unable sort of lock on after trying gps in different locations (right it's sitting on windowsill).  if run newsoftserialtest following: code: [select] $gprmc,141458.099,v,,,,,,,021106,,*26 $gpgga,141459.095,,,,,0,00,,,m,0.0,m,,0000*56 $gpgsa,a,1,,,,,,,,,,,,,,,*1e $gprmc,141459.095,v,,,,,,,021106,,*2b $gpgga,141500.097,,,,,0,00,,,m,0.0,m,,0000*59 $gpgsa,a,1,,,,,,,,,,,,,,,*1e $gprmc,141500.097,v,,,,,,,021106,,*24 $gpgga,141501.101,,,,,0,00,,,m,0.0,m,,0000*56 $gpgsa,a,1,,,,,,,,,,,,,,,*1e $gpgsv,3,1,12,20,00,000,,10,00,000,,31,00,000,,27,00,000,*7c $gpgsv,3,2,12,19,00,000,,07,00,000,,04,00,000,,24,00,000,*76 $gpgsv,3,3,12,16,00,000,,28,00,000,,26,00,000,,29,00,000,*78 $gprmc,14...

advance mame configuration - Raspberry Pi Forums

so far have been able advancemame working more or less playable, dropping frameskip in config file down 0.25. im getting noticeable slowdowns in sounds (like using wah-wah bar). has been able work without type of distortion , without having skip 75% of frames? games have been testing tempest, gauntlet 2 , marble madness. if haven't might want check http://blog.sheasilverman.com/ he's had bit of setback compiling seems gaming site follow this. unfortunately haven't checked out mame ever played gun smoke. rest sit on shelf gathering dust. raspberrypi

Problem faced using program X-CTU

i have configure settings both xbees series 1. 1 of them receiver, other transmitter. managed make both xbees communicate each other successfully. there problem whenever disconnect 1 of xbee , connect , test, experience problem said "unable communicate". then un-mount xbee , shield , upload simple program blink examples shown in arduino ide. after doing that, when mount xbee , shield , test on program x-ctu, working fine. can tell me whats problem? have tried changing buad rate, parity bit, still doesnt work. pls me, need solution urgently counter problem. when running x-ctu, configure xbee attached shield attached arduino, atmega328 (or 168 or whatever) chip supposed removed first. otherwise, arduino interferes data being sent x-ctu xbee. if chip laying on table, unpowered, not matter code loaded on it. Arduino Forum > Forum 2005-2010 (read only) > ...

How to convert char to unsigned char?

i have lcd display using st7920 controller , using dfrobot serial library available here --> http://www.dfrobot.com/image/data/fit0021/lcd12864rspi.rar i'm trying write number on lcd screen having little trouble function write text screen requires unsigned char. i can use following convert number string.     char millis_char[16];    unsigned long millis_ulong = millis();    sprintf(millis_char,"%d",millis_ulong); but don't know how convert string unsigned char. this use in lcda.displaystring function any ideas? char , unsigned char convert 1 other, no trouble there. to access single digit in array, index it. example pass digit 3 (the numbering starts 0) magic_display_function is: code: [select] magic_display_function (millis_char[3]); korman Arduino Forum > Forum 2005-2010 (read only) > Software > Synt...

Tile Transition Code Required

can please supply me code following. i trying use tile transition fade between images , when reaches last image move next frame continue flash document. what trying this. use tile transition play 20 - 30 images depending on preferred length of display each image, transition reaches last image e.g. number 30, tile transition stop , flash go next frame , continue rest of movie. can please supply me correct code work. can amend code (as in number of images etc). if can code tell jump frame on image x appreciated. i have tried add code jump next section can work wont loop images first. the code in component function nextimage() { clip.getnextimage(); } clip.getnextimage(); setinterval(nextimage, 6000); this makes images loop on continuing basis. able add in required (e.g. counter or & gotoandplay function) once x image reached moves on. unfortunately require asap deadline sunday 13th may 2007. if able assist on appreciated. is clip member of custom class? determines number ...

Thread: were there any updates avaliable today and yesterday?

i saw on pc of friend of mine updates avaliable him hadn't updates notification maybe hadn't set correctly notifications moment i'm curious if had updates @ all so..? well, depend on repositories have enabled, etc. can update software sources. prefer command prompt, though can done within gnome or w/e desktop you're using. commands follows in terminal window: - sudo aptitude update - sudo aptitude safe-upgrade tell needs upgraded, etc. , so. prefer aptitude on apt-get uninstall reasons, etc. can substitute apt-get in there if prefer. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] were there any updates avaliable today and yesterday? Ubuntu

4 input compare help

kind of new @ , i've run roadblock. anybody have ideas on how check status of 4 digital inputs , if 3 of them have gone high, set flag bit? basically i'm trying check 4 reed switches, , if 3 of them have been tripped set bit can use trigger rest of code in loop. (i want 3 out of 4 redundancy , fault tolerance. i thinking checking pins, , adding 1 bit if result true, , doing each input, if total >3 setting flag, keep adding if 1 switch tripped. or maybe large comparison statement? any ideas? thanks, maybe try (in psuedo) while((input1 + input2 + input3 + input4) < 3)                         ->do nothing Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > 4 input compare help arduino

HTML Help and Vista

Image
i created .chm file robohelp html works/displays fine on windows xp pro os. same file not display correctly on vista. wrapper , toc fine, actual html pages not display (receive "the address not valid" error). is else having problem? assumed since html pages display on os. thanks input!!! hi annietechwriter , welcome our community are running .chm off network drive in vista? if so, think same rules apply there other versions of windows. click here read more that. assuming aren't, have tried right clicking .chm , looking @ properties? maybe it's treating xp when download 1 web. if that, have right-click , @ properties , click button labeled "unblock". cheers... rick More discussions in RoboHelp HTML adobe

Thread: Cube Atlantis Setting In Compiz Config Settings Manager

hello everyone, have question concerning ccsm . there option "enable cube atlantis" assuming scene inside 3d cube how make cube transparent? ccsm > desktop cube > transparency tab > set opacity level. mine set 85 when rotating. asking? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] Cube Atlantis Setting In Compiz Config Settings Manager Ubuntu

HDMI to Toslink - Raspberry Pi Forums

Image
hi, of use device convert hdmi toslink? http://www.amazon.de/gp/product/b002caz ... 00_s00_i02 if yes, how experience? if not, use other converter hdmi toslink? hi i think hdmi handshake via tv, in case should stereo via toslink. if force edid audio (config.txt) raspberry passtrough anyway ac3,dts should out toslink. in experience tv in force edid audio mode passtrough not ac3 passtrough last watched tv tuner audio in my opnion should work. , anyway without risk won't success raspberrypi

problem with else command

hi guys, so have been trying last problem sorted out last few days no luck. i trying else command send midi message 1 time regardless of changes in "touchx". here section of sketch stuck on: code: [select] if(touchx > 127 && touchx != touchxold) {  touchxold = touchx;  midi.sendcontrolchange(92,0,1); } else [glow]  if(touchx < 127  && touchx != touchxold) {  touchxold = touchx;  midi.sendcontrolchange(92,127,1);[/glow] } it reads values of resistive touch screen, value of "touchx" comes from. basically need above highlighted part send midi message 1 time being resent every time there change in "touchx". i have tried can think of. is touchx stable? how move around? under circumstances? if keep touching screen, not moving, touchx remain constant, or vary slightly? what happen when touchx equal 127? have if test might true when touchx greater 127, , 1 might true when less 127, nothing...

Thread: DF Output Odd

i looking @ second ago , /dev/sda1 saying 211g available , 60g used adds 271g , not 285g df reports. how math work? df -h filesystem size used avail use% mounted on /dev/sda1 285g 60g 211g 23% / varrun 2.0g 52k 2.0g 1% /var/run varlock 2.0g 0 2.0g 0% /var/lock udev 2.0g 44k 2.0g 1% /dev devshm 2.0g 0 2.0g 0% /dev/shm you lose 5% default disk can never truely become full. sort of administrative buffer. can change setting using tune2fs... can't remember exact command. Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] DF Output Odd Ubuntu

It WONT STOOOP!

Image
hello! im trying rgb led strip light colour when press button 1. then should fade out and should wait me push button again but happens ... push button comes on! , doesnt turn off , keeps cycling though colours! code: [select] const int ledpinr = 9; const int ledping= 11; const int ledpinb = 10; const int buttonpin1 = 3; int buttonstate1 = 0; byte redpwr = 0; byte greenpwr = 0; byte bluepwr = 0; void setup() {  pinmode(ledpinr, output);  pinmode(ledping, output);  pinmode(ledpinb, output);  pinmode(buttonpin1, input);  buttonstate1 = digitalread(buttonpin1);  // serial debugging purposes only  serial.begin(9600); } void loop() {  buttonstate1 = digitalread(buttonpin1);  if (buttonstate1 == low){    redpwr = 255;    bluepwr = 125;    analogwrite(ledpinr, redpwr);    greenpwr = 100;    analogwrite(ledping, greenpwr);    analogwrite(ledpinb, bluepwr);    lightandfade3();  }  else { digitalwrite(ledpinr, low); digitalwrite(ledping, lo...

Small bootloader - Raspberry Pi Forums

i created tiny bootloader , thought i'd share class. small fits inside first 0x100 bytes (252 bytes exact, + 48 bytes of code handles relocation 0x0). preserves atags setup , register values, means can theoretically load linux kernel (not tested), though might take while @ 115.2kbps not use special protocol transfer means terminal can send raw file work. of course biggest weakness there no error checking or recovery. use uart0, larger fifo can reduce risks involved in not checking errors. kudos dwelch67 making example uart0 way. code made 1 single block of assembly, removes need stack management , frees couple of words. reserve space standard patchable vector table though. apart that, think breaks most, if not all, of "good programming practice" rules, hardcoding of values, no functions , writing null pointer. might notice bootloader not use ldr method initialize variables. avoids issue assembler place actual value outside region gets relocated. besides, need have m...

Promote AW

hi, on reflection.. in past seem agree macromedia never really promoted aw as other products , items. lived in 'hope'. that's small crater on far side of moon. should have done (and may have been done in places) promoted authorware ourselves. possibly have been busy promoting our own businesses, good - how if promote tool itself? now. people not aware of product - or amazing - becomes invisible them!! literally. the following extracted 'wikipedia' - how send this, or something know!! ----------------------------------------------------------- adobe authorware - overview authorware interpreted, flowchart based, graphical programming language. authorware used creating interactive programs can integrate range of multimedia content, particularly e-learning applications. flowchart model differentiates authorware other authoring tools, such flash , director rely on visual stage, timeline, , script structure. authorware produced authorware company founde...

microsecond timer between two events

hello i looking way of timing air rifle bullet on distance of 0.1 m. velocity in neighbourhood of 200 m/s, time 1/2000 sec. if resolution going 4 m/s @ speed, time 1/100 000 of sec. it possible? i going pin4 , 5 go high low , meassure time between that. output lcd. have working millis() http://www.arduino.cc/en/tutorial/stopwatch , need better timer. any help? to 10 resolution you're going need efficient programming.  i'd suggest write timing routine in assembly make optimally tight, , i'd suggest disable timer0 overflow interrupt drives millis() , delay() avoid having mess timing.  if did around 1 or 2 resolution, depending on response time of sensors. at rate, want using hardware timers on mega168 (see mega168 datasheet more information). - ben Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax ...

please help - merging 2 pieces of code

Image
hi there i hope can please me i have 2 pieces of code , need merge them , bit stuck. the first bit of code arduino2max code has been changed little reads values 6 distance sensors on wall chained repeatedly reads values sensors in loop , sends them arduino analogue pins i trying incorporate code pir sensor connected digital pin when pir sensor detects motion turns on sound in max msp , if no motion detected turns sound off.   hopefully solve problem having distance sensors give false readings when no 1 present , therefore make unwanted sounds this arduino2max code : code: [select] int x = 0;                              // place hold pin values int ledpin = 13; void setup() {  serial.begin(115200);               // 115200 default arduino bluetooth speed  digitalwrite(13,high);              ///startup blink  delay(600);  digitalwrite(13,low);  pinmode(13,input);  delay(500);  digitalwrite(12,high);              // part code send first pin in                         ...

Alternative method of powering a raspi - Raspberry Pi Forums

Image
hi, got raspberry pi , ordered proper micro usb 5v/1a power supply. ps ordered arrive in 3 weeks meanwhile i've been using smartphone p.s. it's 700ma , works part. i'm raspbmc freezing everynow , then. yesterday checked voltages on tp1 , tp2 , voltage drops 4.5v under heavy load. not good. question: there provision connecting external ps other microusb? i've got big enough ps made in college (long time ago) , solder couple of wires raspi if possible. thanks, tom \you can feed pi power through gpio pins 5v , gnd. buy female headers , don't need solder pi. http://elinux.org/rpi_low-level_peripherals#power_pins raspberrypi

getting local time over internet (NTP?)

hello, i've datalogger (mega2560 , ethernet/sd shield). i've been able sync arduino time ntp server. but ntp server gives utc time. , need local time. is there module/code convert utc local, based on timezone, keep in track summertime ? to write self nasty (summertime start @ last saturday of march , ends @ last saterday of oktober). thanks in advance, jeroen i using worldtimeengine local time: http://worldtimeengine.com Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > getting local time over internet (NTP?) arduino

interfacing with comupter programs

i want connect arduino computer record how long events take. want 2 stopwatch timers , want arduino start , stop time clocks. there way this. quote i want connect arduino computer record how long events take. want 2 stopwatch timers , want arduino start , stop time clocks. there way this. lots of ways. c, c++, c#, php, pyserial, etc. have ways data serial port. easier building guis for, seeing timers running, etc., others. make saving data file easier others. of course, arduino can time things, too. more details want time, , how want start , stop timers, , how want display results helpful. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > interfacing with comupter programs arduino

Computer camera tracking and serial data

Image
hey everyone, been googling while now, haven't found work me. does know of app (free or not, platform doesn't matter) basic motion capturing right kind of camera (usb camera in case), , when kind of action triggered, send serial data arduino via either com port or serproxy? my best bet propably find open source app basic motion capturing, implement serial connection myself, haven't found app extend. thanks in advance! http://www.roborealm.com/ Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Computer camera tracking and serial data arduino

Interfacing with netlab toolkit

i wanted use netlab toolkit seem simple way interface arduino card web page. i wanted know if it's possible use on internet. if change serverhupip setting can't use on local network nor internet, on serverhub computer. id have clue appreciate it. i'm not sure asking here, can tell basics of how netlab toolkit works. it allows flash client application design , construct netlab widgets communicate server application called netlab hub. hub can running on computer, not 1 on flash application running. communication between flash widgets , hub via sockets, ip address not blocked firewall possible. the computer on hub running can have arduino connected it, , flash application can sending , receiving data , arduino @ remote location. does answer question? information netlab can found here , on website. there video tutorials there show you, step-by-step, how connect arduino flash application. let me know if can answer other questions. .andy ...

Setup Eclipse - can't find AVR C++ Linker

i trying setup eclipse arduino.  i'm following instructions found here: http://www.chipkin.com/articles/using-eclipse-with-arduino-duemilanove step 11 says click on avr c++ linker but can't find avr c++ linker. here screenshot: http://www.flickr.com/photos/37101040@n00/5095481921/ is project, chance, static library?  if so, don't think shows linker tab... Arduino Forum > Forum 2005-2010 (read only) > Software > Development > Setup Eclipse - can't find AVR C++ Linker arduino

Thread: problem with a windows system that i want ubuntu system on

i want install ubuntu on friends system when right clicked on computer , on drop down menu clicked manage gave me this[img]/media/batunde/error.jpg[/img] error how wld solve problem? msg windows cannot access specified device,path or file. may not appropriate permission access file i need solution problem can add 1 person number of linux users. pls readers need solution badly Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades problem with a windows system that i want ubuntu system on Ubuntu

Class: Dont have a member called ...

hello, have made changes liquidcrystal library, made gedit in mi linux machine, hace put library arduino library folder , when try use function in code, gcc there no member called function name. i have added standar library: into liquidcrystal.h  virtual void write(uint8_t);  virtual void write(const char *str);  void autocenter(bool);  bool autocenter();  void clearline(uint8_t); into liquidcrystal.cpp void liquidcrystal::autocenter(bool autocenter) {  _autocenter = autocenter;  } bool liquidcrystal::autocenter(void) {  return(_autocenter);  } the problem comes when try use function of autocenter, there no method iun class , comparing others methods , equal... can post @ least part of sketch tries use autocenter member, , exact error message. Arduino Forum > Forum 2005-2010 (read only) > Sof...

parsing integers through serial

Image
i realise basic question, i've spent last couple of days trying figure out myself , have figured total lack of basic low-lvl programming telling me not skip on fundamentals. problem need parse integer value python on computer arduino diecimila through serial connection , i'm amazingly confused when i'm parsing strings, bits, bytes, integers , whatever other types there are. what need value between 700 , 2400 (pwm ms signal) , i'd parse 2 bytes instead of 4 character string containing numbers, can't seem figure out how convert integer in python 2 bytes can send arduino , convert them value again? i've missed obvious in case i'm sorry wasting time haven't been able find documentation make sense of. thanks in advance. cheers usually send 1 byte @ time on serial. what send on larger values this: to send: unsigned int value = 65535; byte databyte1 = value & b11111111; byte databyte2 = (value >> & b11111111; serial...

Accessing and sending text files over serial

hi, i working on driving oled display, , able read in , send data text file on serial line (actually, p1 pbm file ascii encoded). 1 option load pc, flash of arduino or (even better), send serially using console (or other software). does have ideas? thanks, rich sending serially easy. processing can open files, , contents can streamed serial port. the arduino can read serial port. typically, though, bitmap files large. whole file need in memory on arduino. intend file once it's on arduino? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Accessing and sending text files over serial arduino

Thread: Audio works fine, but then just stops after some time

so, audio , video stuff works fine while. after point, audio stops working. if try watch youtube video, there no audio , video plays couple seconds , stops , won't work more. if try use multimedia programs rhythmbox or totem movie player, start freak out (which means become unresponsive start up). problem goes away after reboot, not after logging out , in again. have never seen problem happen before switching users, think might have that. using ubuntu 8.10. other specifications think list doing lshw: code: *-multimedia description: audio device product: sbx00 azalia (intel hda) vendor: ati technologies inc physical id: 14.2 bus info: pci@0000:00:14.2 version: 00 width: 64 bits clock: 33mhz capabilities: pm bus_master cap_list configuration: driver=hda intel latency=64 module=snd_hda_intel ideas appreciated. ...

saved cast file much bigger than it should be

i'm importing png images cast file, , cast file size, after is saved, on twice size of sum of sizes of images. i've tried save , compact cast without change in size. pngs 32 bit alpha channels. compression setting "movie setting". there way pre-optimize pngs won't create such large casts? suggestions programs compress pngs? thanks, brian i'm pretty sure colin nailed on direct-l. omitted suggest try shockwave-compression on published castlib - should save filesize. More discussions in Director Lingo adobe

RoboHelp HTML &quot;Out of Memory&quot; error

hello everyone, i'm working on project directly off c drive, i'm using robohelp 5.02 , have .99 gb of memory last friday working on project , pressed "save" button , robohelp froze. robohelp froze 15 mins or gave me error message. error message out of memory, had click multiple times rid of message , gave run time error , cloesed robohelp on it's own. rebooted, re-opened project , said cpd file corrupted , delete , re-open project. i deleted cpd file, re-opened project , opened , froze again. thought suppose re-generate project files. after 15 mins or gave me "out of memory" error again , noticed computer slow. did control alt delete open task manager , noticed 2 robohelp projects open opened 1 project. so re-booted again, time didn't open else robohelp , task manager , robohelp trying open project , on task manager second robohelp project opened , again got "out of memory" error. can please provide solution or suggestion on how reso...

PROGMEM variable reference call!

hi there! trying create small arduino code can pull flash memory data based on variable reference string how define 1 of flash memory variable: code: [select] char h0[] progmem = "01000010"; char h1[] progmem = "01000010"; char h2[] progmem = "01000010"; char h3[] progmem = "01111110"; char h4[] progmem = "01000010"; char h5[] progmem = "01000010"; char h6[] progmem = "01000010"; char h7[] progmem = "01000010"; pgm_p h[8] progmem= {h0,h1,h2,h3,h4,h5,h6,h7}; //this string char string[ ] = "hhh"; now, trying load string variable data pgm_p h[8] array, instance when scan string, 3 characters of "h" , based on load h[8] variable flash memory, know simple way this? thanks in advance, , hope explication clear enough on trying achieve! ovidiu Arduino Forum > Forum 2005-2010 (read only) > ...

array push() + pop()?

so there seem no array functions push(). pop() splice(), etc. wondering how folks store data sets of unknown length @ runtime - , retrieve data in loop through eq. of myarray.length - 1? the idea comes mind right init array length large enough accommodate possible data set , keep separate index position of last stored value. am missing built in methods? thanks! --roy quote the idea comes mind right init array length large enough accommodate possible data set , keep separate index position of last stored value. i think that's pretty choice.  that'll how built-in stack operations end working internally anyway.  note microcontrollers avr used in arduino have quite limited amount of ram, have pretty careful how use. code: [select] mydatatype_t stack[maxstacksize]; int stackptr = 0; #define push(d) stack[stackptr++] = d #define pop stack[--stackptr] #define topofstack stack[stackptr - 1] error checking might idea :-) A...

Thread: Workspace switching disabled in 9.04 x64

Image
i've downloaded , installed ubuntu 9.04 x64 onto current gaming rig, dual booting vista hp 32-bit, , far i've managed working correctly (finding mp3 support pita though). i'm enjoying ubuntu's speed , flexibility, reason multiple workspaces has been disabled. ctrl+alt+(left/right) no longer works. workspace icon shows have 2 workspaces, wont let me switch! i've checked, , keyboard shortcuts enabled. tried disabling desktop cube effect in compiz, although know graphics card can run it. ideas why happening? liked cube , second desktop have got workspace switcher plugin enabled? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Workspace switching disabled in 9.04 x64 Ubuntu

Thread: Ubuntu 9.04 displays my home folder contents on my desktop

this unbelievable. did research , here have in ~/config/user-dirs.dirs code: # file written xdg-user-dirs-update # if want change or add directories, edit line you're # interested in. local changes retained on next run # format xdg_xxx_dir="$home/yyy", yyy shell-escaped # homedir-relative path, or xdg_xxx_dir="/yyy", /yyy # absolute path. no other format supported. # xdg_desktop_dir="$home/desktop" xdg_download_dir="$home/desktop" xdg_templates_dir="$home/templates" xdg_publicshare_dir="$home/public" xdg_music_dir="$home/music" xdg_pictures_dir="$home/pictures" xdg_videos_dir="$home/videos" xdg_documents_dir="$home/documents" restarted x 10 times , still have contents of home directory displayed (not linked) on desktop. have kde apps installed , last thing did before happened copied contents of backed-up ~/documents folder hardy install new ~/documents ...

Oscillator - Arduino style (C#)

hi, working on program arduino based oscillator, through analog pin reads voltage of specific point in circuit , transfers data through serial port through c# program working on. the program can draw graph according reading of analog pin. here example picture: http://img14.imageshack.us/my.php?image=oscf.png (it reading of circuit 555 chip in it) the problem is, not fast enough read accurately readings. knows how can make go faster? thanks which baudrate use? go high possible. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Oscillator - Arduino style (C#) arduino

Thread: C++ private string in class

hello, trying figure out how declare string private member of class can use in other member functions of class. here code: code: directory.cpp #include <iostream> #include <stdexcept> #include "directory.h" #include "unistd.h" #define maxpathlen 200 using namespace std; directory::directory() { char buf[maxpathlen]; if(getcwd(buf, maxpathlen)) get_path(buf); else throw domain_error("pathway not found"); } void directory::get_path(const char* s) { string path = s; cout << path << endl; } directory.h #ifndef directory_h #define directory_h class directory { private: string path; //here declare string public: directory(); void get_path(const char* s); }; #endif if declare string in directory want set buf in constructor function , able use in other member functions. not sure how this. ...

30 Second Timer + LED Display + Pager Motor HELP!!

hello members, firstly, mods wasn't sure sub-forum should open thread in. please move per necessary. description of project: our project consists of transmitting device (atmega128 mc) , receiving device (atmega168 [arduino mini]). the transmitter going send signals (characters/strings) on rf , receiver execute few commands. intro of sorts: the receiver have pager motor, 2 digit led display , led. led display countdown specific time , cause pager motor vibrate , reset countdown. simultaneously, receiver 'listening' commands transmitter , execute specific commands - vibrate pager motor and/or reset countdown. problem: i have managed code using serial library listens input. if press / receives 'a' activates pager motor 5000 ms  and if press / receives 'b' starts countdown. still need incorporate led display have segments turn on , off. i realized when using countdown, can't simultaneously execute other actions. read on interrupt commands, barely u...

very basic computer processing question

i'm interested in purchasing diecimila, haven't been able verify can want. basically want able wire push button switches, , when press buttons want launch apps or macros on pc. i've found can open serial connection diecimila, , monitor traffic, do it? if there faq somewhere covers appreciate if forward me it. thank you! edit: forgot mention wanted on windows pc. making arduino board read switches , send info pc easy. but need program on pc can monitor serial port on pc , launch applications depending on data reads port. this can done in programming languages / environments on pc. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > very basic computer processing question arduino

Thread: Typo in Community Market Section

hi, noticed typo in description of community market. reads: community market offer services related linux or ubuntu, or looking buy linux or ubuntu related products? post goods here, or ask products. please not spam or post same product or service more one. should not read: community market offer services related linux or ubuntu, or looking buy linux or ubuntu related products? post goods here, or ask products. please not spam or post same product or service more once. thanks -ash r please not spam or post same product or service more than once ? Forum The Ubuntu Forum Community Ubuntu Community Discussions Forum Feedback & Help Typo in Community Market Section Ubuntu