Posts

Showing posts from April, 2011

Mambo OR - Joomla! Forum - community, help and support

i have complicated system in place: joomla! amember (with joomla login mod) mambo0r what want have site membership, user gains membership can upload property info, amember working fine, mambor. mamboor, user registers site , there info duplicated on mamboor database have access too. however, using different login module , wondering if can me add sync. functionaility new login module. i'm no php guru, far from, can tell, there sql script runs when user registers regular joomla! registration form, sql script tells or copy info there, need apply amember registration. thanks lee i have found following file userintegration.class.php, think may code reading joomla user database , duplicating, there way of editing can read amember login? thanks. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

x * 1000L - what does the L do

hi, 1st post. i have been working through arduio code , have hope basic question. in code below works 'duration' multiplied 1000l. why l @ end? what mean. code: [select] void playtone(int tone, int duration) {  for (long = 0; < duration *1000l; += tone *2) {    digitalwrite(speakerpin, high);    delaymicroseconds(tone);    digitalwrite(speakerpin, low);    delaymicroseconds(tone);  } } i'm tryingt o understand when multiply 1000 , when multiply 1000l. i tried removing l code failed, important. any info appreciated. albert. quote why l @ end? mean. the l declares value long. without l, value of duration * 1000 interpreted int, can hold maximum value of 32,767, limiting duration maximum of 32. with l, duration * 1000l treated long, can hold larger value. Arduino Forum > Forum 2005-2010 (read only) > Software > ...

MAX232 RS-232 communication to hyperterminal

hi, i started experimenting today interfacing arduino computers com-port using max232 chip. my code comes out of tutorial: arduinosoftwarers232 (i'm not able include hyperlink first message on forum -the tutorial can found on website) hardware set in tutorial, chip different , i'm using pin 7 , 10 tx/rx i open hyperterminal , set 9600 baud, 8 databits, no parity, 1 stop bit, described in tutorial. when start typing in character, return me character, not right one. by comparing binary values in ascii table able tell decimal difference between typed , returned character 128. figured somehow there problem 8th bit. when set hyperterminal settings to: "9600, 7databits, no parity, 1 stop bit" problem seems solved. when type in "a", character "a" returns. also, debugging start message "hi", appears "45" , non-displayable character. basically, problems have: -why "hi" doesn't display? -why have set hyperterminal ...

mosToolbar::help issues - Joomla! Forum - community, help and support

Image
i'm trying add pretty little icon component's pages links page url @ home of application. doing allow maintain documents without disturbing local installation. creating sub-domain @ project's main site similar , linking print popups of content items, similar how help.joomla.org deals joomla's screens. note - why force function only @ global site or locally confused there...but we've figured out how override global input named "config_helpurl" set in admin component com_config on our component's pages. the problem links created &keyref=index.php @ end of url. there way around this? help! sure nice have working in 1.0 release. in advance help. for component, i've included local files named each ($table.$task) -- ie "session.edit.html".  use meta http-equiv redirect point of these local files other local files (since joomla thinks "new" , "edit" different screens share same file).  i'm sure include bunch of lo...

Translate into Arduino?

it's extension bsp. to long post, please see link. posted @ pastebin.com there gps library arduino , if differs how data retrieved , parsed.  take here: http://www.arduino.cc/playground/main/generalcodelibrary cheers, eric Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Translate into Arduino? arduino

Alternating Pattern and user input in memory game

i have been trying create memory game (kind of simon) on arduino, using 3x3 led grid , corresponding grid of switches. problem code. have been able create code generate random pattern of 5 leds player copy, have been able create code translate player's inputs led flashes on grid, , i'm (pretty sure) have created code remember generated pattern , player's inputs , compare them check success or failure. but the program 1 function or other. the sequence of events should be: 1. program generates 5 random led flashes, , remembers them 2. waits player input 3. player presses 5 buttons, i.e lights 5 leds in attempt copy pattern 4. program checks generated pattern against user input 5. program indicates if user correct or not,  (i.e. via flash of leds or that, or playing new pattern. specific behavior not important) the problem step 2 never seems happen; code either generates patterns, or if try rearrange things, allows input. i have never programmed before, , pretty firs...

Corrupt perl-base_5.14.2-14+rpi1_armhf.deb - Raspberry Pi Forums

seems problem perl deb file. preparing replace perl-modules 5.14.2-12+rpi2 (using .../perl-modules_5.14.2-14+rpi1_all.deb) ... unpacking replacement perl-modules ... dpkg: error processing /var/cache/apt/archives/perl-modules_5.14.2-14+rpi1_all.deb (--unpack): corrupted filesystem tarfile - corrupted package archive if package corrupt in archive think have noticed , if corrupted mirror apt have rejected it. seems explanation got corrupted on end between apt downloading , dpkg trying install it. can try whatever doing again, think apt should re-download when do. raspberrypi

using delay function to pause movement

i using built-in delay function temporarily pause couple motors. code after delay not implemented, if program freezes entirely. here code \/ void reverse(int x)  {    if (forwarddrive == true)    {    halt(); <-delay(400);---------------------------------------------------------->    }    controlrightfront(low,high,x);    controlrightrear(low,high,x);    controlleftfront(low,high,x);    controlleftrear(low,high,x);  } that halt(); looks suspicious character when looking freeze suspects. what's do? lefty Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > using delay function to pause movement arduino

Pneumatik Regelung mit Arduino

hallo zusammen, ich hab schon ein wenig mit der arduino baugruppe rumgespielt und es hat bis jetzt alles sehr gut funktioniert. (timer programmieren, pwm selber erzeugen etc...) mein vorhaben ist jetzt eine regelung für einen nicht linearen pneumatik zylinder herzustellen. die kraft die der pneumatikzylinder liefert wird über einen sensor gemessen. dieser wert soll ziemlich genau (+/-0,2n) einer vorgegebenen kurve folgen. z.b. nach 0,1sec 5n nach 0,2sec 10n usw. geregelt wird der zylinder über ein druckventil welches über ein analoges spannungssignal angesprochen wird. die kraftwerte werden zusammen mit ihren erwünschten zeitpunkten (5n bei t=0,1s usw) in den speicher des arduino geschrieben. jetzt stellt sich mir die frage wie ich das geschicktesten programmiere ohne große regelungstechnik. was habt ihr dazu für lösungsvorschläge das zu regeln ohne großes aufschwingen zu erzeugen und doch möglichst genau zu arbeiten? lg, cle Arduino Forum ...

Wifi troubles - Raspberry Pi Forums

hi! im having issues getting decent speed wireless connection. after searching , tinkering rpi narrowed problem down encryption. if connect open network "full" speed, 2-3mb/s. if connect regular network wpa2-aes or wpa-tkip security 3-500kb/s slow hd streaming. appreciate on this.. dongle or cpu encryption? oh , checked power supply rpi steady @ 4.8v on tp1 , tp2. thanks! oh forgot.. wifi dongle use is: d-link dwa-131 raspberrypi

New Villa Rental Site - Joomla! Forum - community, help and support

hi folks, this new site i've completed client. content has still loaded client it's pretty barre bones @ moment. the site using joomla 1.0.4 with: 1. customised contact page fileds gather info visitors. 2. jomres component 3. zoom media gallery (albiet limited functionality until upcoming joomla fix release) 4. mamblefish mamblefish extender geraint - site's in english , french 5. simple rotating header image 6. mgm joomla gallery manager - inline galleries 7. mathew shultz's josquote mambot i've got phpshop installed although client isn't using yet. have , let me know think: www.villa-al-diwan.com ps if fancies cheap holiday in egypt let me know lol hey, nice site!  neat , easy follow. question:  version of joomla using (1.0.4) and, mambelfish?  still waiting joomfish, not sure if can wait longer.  see you've got working on site. Board index Joomla! Official Sites & Infrastructure Sites & Infrastruc...

Serial out multiple hex

hello, i can send out string of text using software serial.... myserial.print("some text") but how send out string of hex? @ moment using. myserial.print(0x00); myserial.print(0x00); myserial.print(0x00); myserial.print(0x00); which works prefer have on 1 line. thanks yeah kidding myself there needed following,  driveserial.print("@");  driveserial.print("a");  driveserial.print(0,hex);  driveserial.print(0,hex);  driveserial.print(0,hex);  driveserial.print(0,hex); still, have them on same line. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Serial out multiple hex arduino

FORBIDDEN You don't have permission...

site has been uploaded server when trying view in explorer, firefox, etc. receive message forbidden don't have permission access on server apache/1.3.27 is can fix?? using dreamweaver cs3. thanks > site has been uploaded server when trying view > in > explorer, firefox, etc. receive message > forbidden don't have permission access on server > apache/1.3.27 > can fix?? using dreamweaver cs3. sounds need set permissions on folders your site in. More discussions in Dreamweaver support forum adobe

Serial/MIDI problem

i have big midi converter program doesn't work quite right. this stripped down code has same problem: code: [select] int ledpin =  13; int trigger = 3; void setup()   {                  pinmode(ledpin, output);  pinmode(trigger, output);  digitalwrite(trigger, high);  // serial port midi  serial.begin(31250); } void loop()                     {  while (serial.available() > 0)  {    byte in = serial.read();      if (in == 0x90)  // 90 = keydown midi channel 1    {          dotrigger();    }  } } void dotrigger() {  digitalwrite(ledpin, high);  digitalwrite(trigger, low);  delay(1);  digitalwrite(ledpin, low);  digitalwrite(trigger, high); } wait key down , flip pin , led 1ms. it works if hit keys on midi keyboard slow normal, speeding little, not anywhere near fast, doesn't trigger. i looked @ midi sent in midi-monitor, nothing strange there. any suggestions? /frax btw: not see led blin...

اريد تفعيل امكانية اضافة الزوار لموقع في د&#1 - Joomla! Forum - community, help and support

السلام عليكم اخواني بارك الله فيكم على مجهودكم الطيب شباب اريد ان افعل خاصية اضافة الزوار لموقع جديد في دليل المواقع بدل من ان يكون اضافة الموقع يحتاج للتسجيل ؟ ماهي الطريقة بارك الله فيكم مع السلامه أخي العزيز بعد السلام أعلم أن إضافة المواقع  الجديدة موجودة  في  قاءمة المستعمل المسجل فما عليك إلا أن تنقلها و تضعها في قائمة الموقع العامة المهم هذا مشيرها: index.php?option=com_weblinks&task=new و رابطها يكون من نوع link و صلاحيتها تكوم من نوع عام-public- أرجو انك فهمت الطريقة أخوك الحلم Board index Joomla! International Language Support International Zone Arabic Forum الأرشيف

Interfacing arduino duemilanove with bascom-avr

hi . i wondering if use bascom-avr arduino duemilanove , how , if have change bootloader want know if can change first bootloader had arduino'w one. i think vast majority of people here use arduino arduino ide. may use avr studio. which microcontroller has duemilanove got atmega168 or atmega328? i'd suggest google "bascom-avr arduino" , appropriate atmega, maybe try duemilanove. you might ask vendor of bascom-avr. if bascom-avr support mictocontroller, next question whether arduino's usb interface critical use of bascom-avr or not. serial i/o on usb work, if bascom-avr supports microcontroller, , uses usart, developers of bascom-avr give definite answer. i have no idea other facilities bascom-avr requires on board, developers of bascom-avr give definitive answer. if overwrite arduino bootloader, then, providing chip undamaged, bootloader can rewritten using in-circuit-serial-programmer, or using arduino , arduinoisp/megaisp (in playg...

Serial monitor question

i have question. first have: 1x arduino mega 1x ping 1x macbook pro mac os 10.6 arduino ide serial monitor. eclipse c/c++ , java (no libs/plugins whatever installed) ______ what want following: i want read sensors value on laptop, can done serial monitor. however, cant data far. i know do: - make connection eclipse arduino. read raw data usb port, serial port. - play there on. but haven't got clue how should fix this. know have import libraryu or plugin. cant find data this. ______ what looking for? someone tells me how setup eclipse (or other ide) can run software , read data arduino. i have looked rxtx.org website when put .jar files in extensions folder, cant upload files arduino anymore. i really, really! need this. when thing setup can manage on own, im not in setting ide new hardware platform without tutorials xd any welcome! just leave comment tip or question. it'd me (: with kind regards machiel veldkamp student. i have found something: ht...

Thread: City of heroes - bad installation?

ok, decided try 14 day trial. had torrent site, because official 1 stopped downloading @ 1.2gb. torrented 1 worked fine, except 1 thing. download, applying, , verification complete, when run updater, shows me screen, saying next, below verify files button. press next, whole thing freezes. tried running cohupdater(something).exe -project coh , showed loading bar, these errors came saying couldn't find files, downloaded whole thing fine, , patched. then, @ end of errors, says bad installation. installation went fine! wine didn't help, need suggestions. Forum The Ubuntu Forum Community Ubuntu Specialised Support Wine City of heroes - bad installation? Ubuntu

Mega serial reading...itself?

Image
hello, using arduino board controll 4 power supplies used operate underwater rov (remotely operated vehicle). supplies controlled via rs485 network (very similar rs232), , have max13086eepd tranciever connected mega serial2 rx , tx. data transmission works fine, can activate , de-activate supplies' output change voltage levels without problem. however, when send comand stt?, tells supply send of it's status information, listen on serial2 , stt? back. @ first thought supplies echoing, discovered serial2.read() returned sent when rx+ , rx- lines supply disconnected transciever. i know fact supplies trying talk back, can see digital data coming osciloscope. none of seems read software however. i'll post code here, either doing dumb, or known issue. when code get's loop, says supply adress 7: mv? (what's voltage?) , listens response, should 5 character string, instead mv? code: [select] void setup(){  serial2.begin(19200);  serial.begin(19200);  serial.prin...

Any hope for finding cheap Flash MX?

Image
i bought template create website girlfriend. it's source .fla . have mac osx 10.3.9 , template vendor says can 'make do' flash mx-6 . guess that's studio 2004 (of need flash portion). unable find reasonably priced solution. c'mon... should *really* have shell out $500 studio product , turn around , upgrade operating system $125? template cost $64 what flash have now? More discussions in Adobe Animate CC - General adobe

Uploading from IDE via Sheevaplug?

hi, i have found post on how upload sketches arduino sheevaplug: [sorry weird reason not allowed post links here because first message] but wondering if possible create kind of tunnel or pipe linux desktop pc sheevaplug. if possible, if having arduino plugged pc. anyone knows if possible, , how? regards, martin if lucky, here link: http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1255121021/2 Arduino Forum > Forum 2005-2010 (read only) > Software > Development > Uploading from IDE via Sheevaplug? arduino

Thread: Uninstall XP Guest in VirtualBox under Jaunty

i have been running xp pro guest in virtualbox under ubuntu jaunty. ready rid of xp on machine want uninstall xp in way free activation key use on windows pc install. can't figure out how uninstall xp in way msft know key no longer being used. (plus, i'd cleanest uninstall possible.) uninstall virtual wouldn't leave kinds of xp traces behind? ( have/own original xp cd there no "legal" issues here.) tia, bill how "uninstall" standalone xp ? can't .. 1 , way reformatting partitions ! virtualbox - remove & delete virtual hdd's. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Uninstall XP Guest in VirtualBox under Jaunty Ubuntu

external instance not working

hi, i declaring instance of own traces class : code: [select] /*   traces.cpp traces output.   copyright (c) nicolas valentin 2010   12 oct 2010  - first version   2010 nov. 20 adding special features writing direction   */ #include "wprogram.h" #include "traces.h" #include "time.h" #include <wire.h> #include <utils.h> #include <ds1307.h> #include <liquidcrystal.h> //============================================================================= //============================================================================= traces tracer = traces(); /* set fdm=marker */ code: [select] /*  traces.h - low level traces functions */ #ifndef _traces_h #define _traces_h #include "wprogram.h" #include <inttypes.h> #include <liquidcrystal.h> #include "time.h" // #include <queuelist.h> class traces {  public: //===================================...

advmame blurry/fuzzy? - Raspberry Pi Forums

i'm running advmame console (outside of x) , looks little blurry or fuzzy. when take @ in x windows, it's nice , crisp - it's slow. i'd stick console because of speed , because hacked menu based on pygame menu system. using hmdi output. ideas on how advmame sharp outside of x? nraygun first things first, check video clock setting hdmi ouput - device_video_clock 5 - 50 / 15.62 / 50 ; 5 - 50 / 15.73 / 60 secondly, comparing same game in advmame when making comparison? think it’s due advmame.rc settings of - advmame.rc, display_color, advmame.rc, display_mode , display_resizeeffect instance, due default settings donkey kong/galaxian displayed sharply, whereas, ghouls n' ghosts/rainbow islands looks “fuzzy” due filters/display modes being applied it! indication can gleaned rom/game, rom legal warning/information screens if filters being applied (the latter of indicate "display mode" game running in), these look, say, "fuzzy" . did mis...

GPS coördinates

hi, i'm building copy of frustromantic box http://newbrightidea.com/?p=15 i have 1 question gps location in code. this part of code code: [select] #define earth_radius 6378.1f #define deg_to_rad 0.0174532925f #define tofino_lat 49.122444f #define tofino_lon 125.900871f #define xxxx_lat 0.0f #define xxxx_lon 0.0f #define home_lat 64.0f #define home_lon 128.0f i understand earth_radius , deg_to_rad fixed values. tofino_lat , tofino_lon destination coördinates but xxx_lat , xxxx_lon mean? and same home_lat , home_lon? did try this? code: [select] #define xxxx_lat 50.985991f #define xxxx_lon 5.359998f and way, if use arduino floating point functions, you're going lose precision. expect small variations read on gps-receiver. korman Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs ...

Led Fading sketch crashes after a few loops

Image
i've had few people @ code now, , cant figure out why program seems crash after few loops through program.  i'm running ardweeny off usb power.  with code below, runs pattern 12 times or so, , stops.   code: [select] // data definitions #define max_color 255 // defined make math easier later can changed if need arises struct patterns // defines pattern state {  int red;  int green;  int blue;  int time;  int steps; }; enum state  // defines current led run state {  run,  done,  ptrn }; //  order in led run through patterns before looping //byte led1pattern[] = {0,1,2,3,1,1,4,4,5,6,5,5,6,6,4,4,4,1,1,254}; //const byte led1pattern[] = {1,1,4,4,4,4,4,4,5,254}; const byte led1pattern[] = {4,4,4,4,4,4,4,4,4,254}; // pattern data // available patterns run // ,{0,0,0,0,40}  is termination value, indicating end of pattern const patterns patternmain[][7] = {  {      {255,0,0,2000,8},    {0,2...

Create Input button - Raspberry Pi Forums

is there way create 'esc' button? have switch between 3.3v , gpio17, make send signal equal escape button, can exit game... i'm trying python-uinput far no luck, tips? got slice of code code: select all import rpi.gpio gpio import uinput gpio.setmode(gpio.bcm) gpio.setup(17, gpio.in) def main(): events = ( uinput.key_esc, ) device = uinput.device(events) device.emit(uinput.key_esc, 1) # press. device.emit(uinput.key_esc, 0) # release. while 1: if gpio.input(17)==true: #don't think '==true' part necessary main() switch faulty... raspberrypi

wii joystick

so if read last post sentry gun, they'd know have no idea i'm doing.  i decided didn't performance getting wii nunchuck accelerometer, , decided disregard , use joystick instead.  what need know how use joystick control servo, possibly modification of code posted here .  also, i'm going need use c , z buttons, can figure 1 out. doesn't normal wii chuck library servo sketch work joystick holding z button? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > wii joystick arduino

Thread: nividia driver error

hello all, i'm using nvidia 7300le 256mb video card , have installed driver, i'm getting error: not appear using nvidia x driver. please edit x configuration file (just run `nvidia-xconfig` root), , restart x server. i've searched around, , can't seem find explanation on various posts matches mine past point. when sudo nvidia-xconfig entered, following appears using x configuration file: "/etc/x11/xorg.conf". backed file '/etc/x11/xorg.conf' '/etc/x11/xorg.conf.backup' new x configuration file written '/etc/x11/xorg.conf' here, don't know - i'm not entirely versed ubuntu. which version of ubuntu running? have tried restarting x or rebooting? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] nividia driver error Ubuntu

Blog - Content Category Description - Joomla! Forum - community, help and support

Image
dear ones, i have someproblem regarding category description not showing in blog content category page, of course have set show related control on "edit menu item :: blog - content category" page, nothing seems change. can me, please? version 1.0.3. regards, savdevito i apologize    i've found answer in topic missed in last search.... bye Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Need help with building custom classes in AS3

hi. i'm relativelly new as3, buto not as2. in as2 used write classes hard-coded links(calling methods instead of dispatching events), but want build classes flexible possible, reused in various ways.. hope understand want achieve. for example: jeroen wijering 's classes great example of flexibility. thanks in advace! mloncaric More discussions in ActionScript 1 and 2 adobe

Sharing SD cards between different Pi models - Raspberry Pi Forums

so, i've got 256mb revision 1.0 (maybe 1.1, i'm not sure) raspberry pi, , i'm considering purchasing second one, of course have 512mb of ram. understand it, cpu/gpu memory split changed using different kernel image. (please correct me if i'm wrong, i'd love have better understanding.) so, mean can't randomly plug sd card 256mb pi 512mb one, or vice versa? having have 2 cards each distribution want use annoying. thanks. thankfully that's been covered in latest firmware updates. see http://elinux.org/rpiconfig#memory raspberrypi

LDAP with open directory? - Joomla! Forum - community, help and support

hello all, i have been trying ldap hack joomla 1.0.4 , have not had luck. keep getting rejected usernames , passwords. have ldap hack working 1.0.4 , open directory or os-x (10.3) server? or have joomla 1.1 using ldap bot working open direcotry or os-x (10.3) server?  curious people using base_dn , such have tried every combination can think of , still not work. have php program authenticating off ldap server , have tried match settings no luck.  information , have tried both hack available in forums ldap working 1.0.4.  here have tried connection information: host: ldap://myservername.edu   or myservername.edu ldapv3: checked tls: unchecked follow referrals: unchecked base_dn: cn=users,dc=subdomain,dc=domain,dc=edu or dc=subdomain,dc=domain,dc=edu (subdomain , domain replaced actual values) connection string: tried 3 options thanks marc hello all, alright fixed issue combining 2 ldap hacks. first patch created jamoukha , posted @ following thread instructions on how patch fresh joom...

Connecting Nokia S60 Device + ArduinoBT directly

hi folks, i'm trying connect nokia 6120c mobile phone directly arduinobt. used erich berger's tutorial ( http://www.arduino.cc/playground/code/symbians60python ), doesn't work should: 1 - arduino-code seems ok. @ least can send character "1" board via serial-port mac (using arduino-api) , led on pin 13 blinks once. 2 - guess there's wrong python code. unfortunately don't have clue exactly. when running code on phone, nothing happens led on pin 13. serial window on mac (terminal) doesn't show anything. my phone seems okay, because there standard text displayed in terminal when launching python bluetooth console. to make sure didn't make mistakes while copying , adapting erich's code, paste code i'm using: *arduino* // arduinobt s60 mobile phone // (cleft)erich berger 2007 int = 0; //counter int led = 13; // pin led int reset = 7; //reset pin bluetooth int val = 0; // serial port data int track[61]; void ledblink() {  digitalwrite(...

Real-time recording with narration

greetings, i trying real-time recording voice-over narration first time. have selected "record actions in real time" , "record narration" in recording options dialogue. when play project however, captivate puts typing wants to, , no longer lines narration. clarify: i'm talking appearance of characters being typed on screen, not typing sounds. also, tries put large chunks of typing on 1 slide, compounds problem. there way can tell captivate end slide during recording process? tried "capture" , doesn't work. is there way record demo in real time--for real? using cap. 2 thanks. More discussions in Adobe Captivate adobe

Serial library RTS/CTS control

hi, is possible control rts/cts pin of pc serial port using processing language interface max485 chip? else need communicate atmega328p. the hardware serial library (arduino/hardware/arduino/cores/arduino/hardwareserial.cpp) has no support form of hand shaking , control lines. this isn't surprising, given hardware interfacing 2 wires connected rx , tx. if use usual 6 contact connector, dtr connected reset pin.  this way, software can reset board after uploading software, play havoc application if else plays around signal. if need control lines, have connect them on own. max485 can connect -re , de random digital pin. arduino version of writing byte waits byte finish being written , not use interrupts, can do: digitalwrite(writeenable, high); serial.println ("tweedledee"); digitalwrite(writeenable, low); where writeenable digital output pin of choice connected both -re , de on max458. (to allow that, -re has been given negative logic maxim) i...

Ardunio Wierdness going on:

i try boil down.  i have identical programs on arduinomega , arduino nove units.  when compile them , try run them on each it's own version of compile, 1 of them worked.  i found if setup on diferent pin, each program work. wierd. also, had needed use pin9 assigned right servo on else , piezo speaker on pin 11 else. now, won't let me simple beep! on diferent pin. thought through software use pin long digital , analog used on same type , defined software. wondering now, whether have blown of ports. :-? i know pretty basic question, changing board 'tools > board' menu each time upload 1 of 2 boards? you may doing that, since "... on each it's own version of compile, ..." need every time upload other board, , results describe if forgot each time. Arduino Forum > Forum 2005-2010 (read only) > Software >...

RPI Remote Control Rover - Raspberry Pi Forums

here video month ago of rpi powered xr10 remote control rock crawler. https://www.youtube.com/watch?v=qwoz10m8mwc had more bulky version pandaboard , hd fpv control setup, top heavy. again have move off of r'pi fpv, because usb system not reliable. unless r'pi crew want send me prototype camera. (hint hint) source code remote control protocol here: https://github.com/krad-radio/krad_radi ... ls/krad_rc -ok- now, , don't recommend touching unless real code ninja. -david raspberrypi

Google earth and Arduino

Image
hi guys! thks great forum! it's helpful! i came here ask me school project. have hard time in class! there little people started! all right, let me explain project you. i want use arduino , processing able create hardware control google earth. i want hardware go up, down, right , left on map, zoom in , out 2 buttons. i using joystick old playstation: like u see here in picture. i use 2 buttons  from old logitech joystick. buttons: i used buttons, seen on picture. could u tell me how add buttons , make them work on processing ? please? i wonder if there way make hardware work google earth , if of u knows how please answer post.   the code used make jostick work on processing on of etch sketch. put pic google earth , slide , down, left right.  still have no idea how make buttons work. i need can give, important project, need finish after 24th of march. thks sonia i can t wait answers! these pictures: joystick: http://www.soniamcangel.net/joy.j...

Calculating distance between two points accurately

i want calculate distance between 2 points. have latitude , longitude of each of points string formatted dddmmmmm (i.e. degrees, minutes , decimal fractions of minutes). step 1 convert latitude , longitude string decimal number of degrees. step 2 calculate distance between 2 points using 1 of various mathematical formula available on net. (this 1 cribbed http://williams.best.vwh.net/avform.htm#dist) quote the great circle distance d between 2 points coordinates {lat1,lon1} , {lat2,lon2} given by: d=acos(sin(lat1)*sin(lat2)+cos(lat1)*cos(lat2)*cos(lon1-lon2)) before start on i'm not sure if it's going possible reasonable degree of accuracy. need able convert string latitude , longitude number. best data type seems float, on arduino reference pages i've found following.... quote floats have 6-7 decimal digits of precision. means total number of digits, not number right of decimal point. i need have lat , long degrees @ least 6 decimal places. seems float isn'...

Thread: High memory usage or faulty memory?

i've noticed significant slow-down in laptop's performance lately , believe it's due high memory usage and, consequently, swap usage which, combined slow hard-drive, makes laptop, @ times, unresponsive. investigated. have dell inspiron 6400 1 gb of ram. seems memory usage @ 95%+ (970-980 out of 993 mb), not running; also, high usage seems unaccounted for. looking @ top, amount memory used processes doesn't add up: opera uses 10-20%, xorg 6-7%, compiz 2% , rest 1% or less. rebooted , when getting gnome welcome screen, changed terminal , logged in cli session. when looking @ free , top, saw memory usage 850mb, no gui or programs running, usual services. have apache , mysql running in background, after stopping them, memory usage remained essentialy same. on other hand, on girlfriend's laptop, has 512mb of ram, when doing same thing, used memory 250mb, seems right. now. if made far: possible memory faulty or should memory leaks? ...

convert midi input to basic tones?

ive been toying midi while here using midi shield sparkfun electronics, , want use midi input jack take midi , transform tones on speaker. basic im not sure how change note on , off tone on , off, , right frequency tones played. thanks. use midi input code used in :- http://www.thebox.myzen.co.uk/hardware/glockenspiel.html then @ bit when fires solenoids replace commands ones tone(). Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > convert midi input to basic tones? arduino

PWM question

i using arduino control stepper , i'm having difficulties reaching speeds required. tried sort of doing manual pwm create step pulses: digitalwrite(steppin, high); delay(dly); digitalwrite(steppin,low); delay(dly); but can't seem attain frequency high enough (my steady state speed needs 1000 steps/s). through searching found possible change frequency of pwm arduino puts out. should able use create pules, however, haven't seen vary frequency within void loop love able create type of acceleration profile. know may not possible figured i'd ask see if has ideas. quote (my steady state speed needs 1000 steps/s so value in delay need 0.5ms, shortest can delay 1ms fastest speed can 500hz. it's slower in reality because write takes time well. quote i tried sort of doing manual pwm create step pulses: if feed pwm signals stepping motor not control it's speed. look @ arduino code in reprap project how accelerate stepping motor arduino. ...

Linux FreeBSD 6.0 Configuration

i have freebsd6.0 server running mysql5, php5 , apache2.1. flash works, example, have counter, calls php file, updates counter in file, , flash imports text file , displays it. when try run sql query passing of variables, nothing happens. suppose can write data text file, problem if more 1 user accessing, have problems keeping data separate. have put markers in php file see if being called flash, writing variables text file, , nothing. had write label text file, , see nothing. when click on submit button, message in brower keeps recycling. i have installed jre5 , jde5 freebds , have tried flex2 linux installed keep running display problem. not have room install x windows, (only have 6 gigs of space , x windows can take 4 gigs of space. have tried running xvfb , far before error, can not connect defined screen. has else have problem , how did solve it. appreciate suggestions. can email me @ martjj@sbcglobal.net. thanks it messy. have problems loadvars? More discussions in Actio...

TOTALLY TROUBLED With SQL Server 2005

hi i'm installed sql server 2005, i'm using coldfusion mx 7.0.2 hotfixes, , i'm still without datasource connected mssql2k5 i used traditional way create datasource using embeded driver of microsoft sql server put correct data on fields , message of error this: connection verification failed data source: recofoce21 java.sql.sqlexception: [macromedia][sqlserver jdbc driver]error establishing socket. connection refused: connect the root cause that: java.sql.sqlexception: [macromedia][sqlserver jdbc driver]error establishing socket. connection refused: connect then read microsoft released jdbc driver, installed onto de coldfusion has mentioned in tech note: enabled http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=ded4216b i create new datasource example showed , nothing: connection verification failed data source: redcofoce com.microsoft.sqlserver.jdbc.sqlserverexception: la conexión tcp/ip al host ha fallado. java.net.connectexception: connection refused: ...

I'd like to automatically connect to wifi if avalable - Raspberry Pi Forums

this first post, hi all! got pi in mail, , , running first time. plan on using on road on couple different wifi networks, , not want carry monitor in backpack. have coming in mail: http://www.ebay.com/itm/330646461862?ss ... 1497.l2649 (i read in thread few people successful product) solution this: wright script that, upon start-up: automatically connects ethernet network if available automatically connects known wifi network if available if ip address exists, wright ip address , network name serial port (a peripheral display it) way, when start device, connect, , have ip address ssh , whatever else need. i'm interested in using remote desktop. however, i'm rather new linux, , new networking. i'm not quite sure how make work, or if best solution "get on arbitrary network without display" problem. want point me in right direction? guys! welcome! aside lcd, popular linux distro rpi, raspbian, works out of box, no script required. have conf...