Posts

Showing posts from May, 2015

Getting overscan settings right - Raspberry Pi Forums

ok haven't updated rpi since august. today went ahead , installed updates in raspbian repo , having major overscan issues. rpi had evenly spaced black bars around 4 sides of image on tv. default there giant black black down left 1/4 of tv , around 1/4 of picture missing off of right side of screen. resolved image going off right side of screen setting: overscan_right=135 in /boot/config.txt when try setting overscan_left value negative (to try , move image left instead of having black bar there) - image move left, covered black bar now! doing wrong? how can rid of black bar down left side of screen properly? ~jeff could post full config.txt settings perhaps there you've overlooked. richard s. raspberrypi

Get a peek at next version of Captivate and RoboHelp

Image
if planning attend stc conference in minneapolis may 13-16, have added incentive. there technology sneak peeks of features of next versions of adobe captivate, robohelp , framemaker. can catch "sneaks" @ presentations shown below. meanwhile, i'll have 2 presentations @ stc in minneapolis. if you're there, drop , hello! rick stone (the robowizard himself ) , rob houser there, too. here's post on adobe technical communication team blog adobe product management team technical communication attending stc conference @ minneapolis. monday may 14 tips , tricks adobe® robohelp® users 11:00 12:00 pm developing non-software-based elearning adobe captivate® 1:30 pm 3:00 pm making sense of framemaker , xml alphabet soup 1:30 pm 3:00 pm adobe robohelp 6 goes movies adobe captivate animations 3:30 pm 5:00 pm tuesday may 15 adobe framemaker® advanced template features 8:30 – 10:00 adobe framemaker: migrating unstructured structured content 10:30 12:00 pm adobe ro...

how to scrol only the lower line on 16x2 lcd

i want make message this first line fixed hello second line scrolling some text here how doo it? im using 16x2 lcd , liquidcrystal library if first try these, think figure out: * write fixed text somewhere on lcd * write contents of char array somewhere on lcd * write substring cut out char array somewhere on lcd Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > how to scrol only the lower line on 16x2 lcd arduino

Menu on LCD: strings, multi-dimensional arrays?

hey guys.  i've searched around bit before posting, wasn't sure for, forgive me if has been answered. what i'm looking accomplish following: have series of user-navigable menus drawn using liquidcrystal library. i've come pseudo-code want do, it's long enough i'll try , summarize have in mind. i'd have: int corresponding "menu" user in. int corresponding selected "item" in menu bool corresponding whether "editing" item's "value" array of names of "menu"s written screen user (id corresponds menu int.) array of names of "items" in each menu (again id's match "selected item" int) array of values each "item" in each "menu"   i'd ideally build in such way when i'm drawing menu can use these variables plugged same function no matter menu structure looks like.  this way, if need add items menu later it's no big deal -- adjust lengths of arra...

if elseif vs. switch

i got impression if else if chains seem produce smaller code switch statements. has explanation why case? curious. have expected switch statements produce shorter code. why other way round? udo one way optimize switch statements use jump table.  the typical sequence perform bit of math on switch expression , perform indirect jump using table. i have no idea if compiler performs optimization but, if does, might explain difference in code size. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > if elseif vs. switch arduino

Need help with .asp Virtual Includes

hi, i using; dreamweaver 8 win xp pro iis6 virtual directory information in iis: local path: c:\inetpub\wwwroot\hseih application name: hseih execute permissions: scripts configurations>options>enable parent paths: checked read, write, browsing, script secure access, log visits, index source: checked dreamweaver site setup information: local root: c:\inetpub\wwwroot\hseih\ links relative to: site root server model: asp/vbscript access: local/nework testing server folder: c:\inetpub\wwwroot\hseih\ url prefix: http://localhost/hseih/ heres code im using in index.asp file, footer.asp file in same directory. <!--#include virtual="/header.asp"--> or <!--#include virtual="header.asp"--> very simple, believe have setup correctly, , should work. receive: error type: active server pages, asp 0126 (0x80004005) the include file 'header.asp' not found. /hseih/index.asp, line 10 however, work wheni add root directory name include path follow...

Displaying the received data to the serial monitor

i'm using xbee explorer sparkfun connected the computer our transmitter. , receiver, have another xbee (xbee pro series 1) , shield hooked arduino mega. i'm trying transmitted packet displayed on arduino serial monitor after gets received receiver. i'm using series1_rx code andrew rapp, i've added following print commands in respective rx_16 , rx_64 function statements. code: [select] serial.println(rx16.getdata()); code: [select] serial.println(rx64.getdata()); in order print directly serial monitor. when compile code, following error: "error: call of overloaded 'println(uint8_t*)' ambiguous". please how can fix this? the full code is: code: [select] #include <xbee.h> xbee xbee = xbee(); xbeeresponse response = xbeeresponse(); // create reusable response objects responses expect handle rx16response rx16 = rx16response(); rx64response rx64 = rx64response(); int statusled = 11; int errorled = 12; int dataled = 10; uint8_t option = 0; uin...

datagridcolumn visible=false acting weird

hi everybody! i have problems few columns shows again when send httpservice dataprovider datagrid. stay hidden if use repeater, not when use httpservice. downloaded hotfix hoping solution, didn't not solve it. is there work around, or have wait next hotfix? i have experienced several issues issue. although latest version addressed of them, there seems instances still happens. try this. create function like. public function sethiddencolumns():void { lastactivitydate.visible = false; ownername.visible = false; } then call function on creationcomplete , after remote object result. also, have noticed different results how datagrid columns ordered in code. try putting field visible last column. so, make sure don't have hidden column last column. fixed issue. More discussions in Flex (Read Only) adobe

Printing a series of sensor values and efficiency

so i've read serial.print inefficient cpu wise. take section of code interrupt service routine:  sensora = analogread(sensorpina);  sensorb = analogread(sensorpinb);  sensorc = analogread(sensorpinc);  sensord = analogread(sensorpind);  serial.print(sensora);  serial.print(", ");  serial.print(sensorb);  serial.print(", ");  serial.print(sensorc);  serial.print(", ");  serial.println(sensord); will give me result this:  513, 518, 507, 467 now i'm planning on having these sensors read @ 1 or 10khz rate , print out values. because of inefficiency of serial.print function wondering how streamline this. serial.println(sensora","sensorb","sensorc","sensord); this doesn't work. wondering how efficiently print out 4 sensor values comma between them can process data later in excel? the problem using serial.print(ln) in isr isn't serial...

Captured typing skews edited background

in captivate 2 project have edited background anonomize data , hide real person's identity. no problem that. 1 slide has typing in field below edited portion of background. when slide runs fine @ first, when replay of typing runs captureed element includes original background has been replaced, , original user's name shows. i've tried pasting image of faked name background on spot, , setting in front, , typing behind. doesn't work - when typing plays original user's name still shows through. can see way round this? s'okay thanks, solved it... looking @ right slide... idiot! More discussions in Adobe Captivate adobe

Modules and drivers missing after kernel build - Raspberry Pi Forums

i trying build custom kernel add support module not included in default kernel. have been following instructions @ http://elinux.org/rpi_kernel_compilation , , added module support during make menuconfig. built kernel on raspberry pi , had no issues, , built modules. after following instructions, however, none of drivers or modules built. after running make_modules install_mod_path=/, /lib/modules/3.2.27+/kernel folder empty, while should have drivers folder of modules in it. can see did or didn't do, , how can fix of modules created? thanks. raspberrypi

Dynamic filtering Option Box - ASP

i need find kind of dropdown option box asp read a recordset , filter available options user types, narrowing option entered characters. i believe can done in ajax, can tell me of ready available examples have seen, ajax or non-ajax. thanks. you're talking dynamic dependent dropdown boxes .. selection in box changes content in box b selection changes content in box c. there examples in many places asp. http://www.google.com/search?sourceid=navclient-ff&ie=utf-8&rls=gggl,gggl:2006-38,gggl:en& q=dynamic+dependent+dropdowns+in+asp the link above list of links .. watch wrap. -- nancy gill adobe community expert author: dreamweaver 8 e-book dmx zone co-author: dreamweaver mx: instant troubleshooter (august, 2003) technical editor: dmx 2004: complete reference, dmx 2004: beginner''s guide, mastering macromedia contribute technical reviewer: dynamic dreamweaver mx/dmx: advanced php web development "grantb" <s@s.com> wrote in message ...

Debounce using EventFuse library?

Image
i've been working on problem off , on weeks, , dense figure out. i'm trying here simple. i've got blue led, red led, , tactile switch. sketch starts off blue on , red off default. push switch once, , blue turns off while red turns on. push again, , alternate, flashing. push again...and it's supposed go blue on/red off. because of inevitable overlap in flash delay , debounce delay, more half time keeps flashing. i've tried tweaking debounce delay length, don't have leeway in tweaking flashing interval. i'm wondering if it's possible make debouncer using eventfuse library rather standard delay. i've never used eventfuse library, , frankly can't wrap head around it. i want fix sketch reacts reliably when switch pressed.   don't care means. occurred me eventfuse might solve problem, welcome suggestions on how fix this. please keep in mind i'm n00b close 0 programming experience, , more experience in electronics. many in advance. qu...

Help with a countdown program for 7 segment LEDs

Image
just wonder if can me sketch count down on set of 4 x 7 segment leds, 60.00 00.00 (mm.ss).   sure can [smiley=thumbsup.gif] but before can you'll have tell bit more situation. do know how control single 7-segment display? do know how control multiple such displays? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Help with a countdown program for 7 segment LEDs arduino

Client connect without holding up thread

i have lamp cycles through rgb colours using pwm.  at set intervals polls webpage retrieve integer x , pulses (up white , original colour) x times.  this working have couple of questions regarding programming (and more ethernet library). is there way use client.connect() without holding thread?  in loop function i'm checking display state , seeing whether needs update , performing whatever data access function needed next.  currently lamp colour stops cycling duration of connect - isn't noticable if fails connect can cause colour stick while.   i'm still having few problems connections not clearing , failing connect after while.  i've spent quite lot of time on problem.  i tried patched copy of ethernet library , ethernet2 library still have issues.  the stability i've managed calling client.stop() function when receive "data finished" character site , not trying reconnect @ least 10 seconds - it's not perfect though.  what best way check whe...

Newcomer Help

hey im new arduino, , im working on project fading multiple leds pwm, ,  was wondering how can assign fade in/out times different per pwm pin. im looking have 5 leds tied 5 pwms, , each pin on different cycle. i tried using array's , frequented playground, , im still havin trouble. if of y'all me out, appreciated. in code posted below im running off of 3 pwms see if can work. thanks int ledpins[]= {9,10,11};                           // led pin array int pwmspeed[] = {2000,7000,5000,10000,4500};                 // pwmspeed array, set times in millis int i=0;                    //place holder pwmspeedarray int x = 0;        //ledarray place holder int del = void setup() { (x=0; x<3; x++) {   pinmode(ledpins , output); } } void loop() {  for(x=0; x<3; x++)  {  for(i=0; i<5; i++) { analogwrite(ledpins , high); delay = del;   }   } } so haven't tested code or tried setup ...

elementary math

i use arduino permit our students opportunity see math in action asking them edit code power stepper on hacked scanner.  if successful, plan build robot navigate course based upon equations.  these elementary students numbers must no greater 3 digits or less little ones.  the code failed attempt achieve goal.  as may guess, not programmer wonder if there way assign value variable within "range" , students can use appropriate operator adjust there.  hope makes sense? #include <stepper.h> #define motorstep 400 #define motorpin1 8 #define motorpin2 9 #define motorpin3 10 #define motorpin4 11 #define turn 12 int count; stepper mystepper(motorstep, motorpin1,motorpin2,motorpin3,motorpin4); void setup() {  mystepper.setspeed(40);  serial.begin(9600);  count = 1;  digitalwrite (turn, high); } void loop () {  if (count) {    count--;    serial.println ("forward");...

*FIXED* Template HELP!! Template breaks in IE AFTER ADMIN LOGIN - Joomla! Forum - community, help and support

Image
hi folks, i'm hoping can me out here, template works in browsers css , validates the problem i'm having when admin logs in (actually when anyoune author priviliges , logs in) template mysteriously breaks in internet exploiter (see screenshots details notice width of main body text increases 20px) i suspect has 100% table width declarations in core when editor icon displayed. has else experienced this? ps started doing when upgraded 1.0.4 hi folks worked out, caused article titles being long  Board index Joomla! Older Version Support Joomla! 1.0 Templates & CSS - 1.0.x

Adding to a variable

Image
ok, can figure out how things, has me beat so, starting char, string, int etc. containing example "abc" or "123" , want add "d" or "4" leaving variable "abcd" or "1234" respectively how done? or heading in wrong direction? if more explanation needed i'll try tell have loosely planned, @ stage loose i'm not entirely sure myself... this i'm trying figure out (so can build url sent server using wiznet ethernet module). what append / concat operator arduino language? // doesn't work serial.println("abc" . "d"); // neither this serial.println("abc" + "d"); thanks! Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Adding to a variable arduin...

Adgang nægtet??? - Joomla! Forum - community, help and support

besynderligt ??? når jeg backend vil aktivere linket til et news item eller 'edit' at  redigere en side får jeg følgende fejlmeddelse: linie: 5745 tegn:  4 fejl:  adgang nægtet kode:  0 det er en ny joomlainstall 1.0.4. det pudsige er, @ ovenstående fejl kun kommer på min bærbare (xp pro - ie samt firefox 1.07) på 2 andre pc'er er der ingen probs. kan fin reigere (xp - firefox og xp >ie). (indtil d.d. har jeg kunne redigere på sevsamme bærbare) har nogen oplevet noget lignende? det ligner en java-script fejl. har du samme java version på de 2 maskiner? Board index Joomla! International Language Support International Zone Danish Forum Ældre versioner (disse vedligeholdes ikke længere fra officiel side) Joomla 1.0 (Udgået version, der blev afløst af 1.5 i 2008) Administration - Generel brug

Minicom doesn't pick up serial communication

long time lurker, first time being op. i've searched high , low answer, , i'm resorting gracious community can offer. i have grand plans in mind, being new arduino, i'm attempting baby steps. want arduino communicate via rx/tx lines own personal software project. first step, wanted see if arduino send data minicom, solid known cmd line program serial communication. first step has failed, , don't know why. here running on arduino, put there 018 ide running on osx. #include <newsoftserial.h> newsoftserial myserial(2, 3); void setup()   {  serial.begin(4800);  myserial.begin(4800); } void loop() {  serial.println("hello, world!");     myserial.println("hello, world?");     delay(500); } here know: the usb cable connected, , arduino serial monitor picks traffic on usb cable. i wired rx <--> tx , vice-versa the baud rates matched on sending , receiving. minicom in state of "offline", has dcd line? the tx led on ardu...

Input text box to change scale limits

im new using processing graph data arduino.  i using aurdino in pid mode control heating element brew stand.  i using pid front found here http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1243714052 . i in midst of modifiying graph more temp sensors.  what add 2 text boxes can input min , max scale can change scale on fly during brew process target different temperatures. the pid processing front end uses controlp5 library.  is there easy way this.  i tried following code: [select] inscaleminfield=controlp5.addtextfield("min scale", 80,100,60,20);  inscalemin= inscaleminfield;  //inscalemin called earlier in code , sets min on y axis but gives me error cannot convert textfield float.  i can post rest of code if necessary quite long. thanks in advance. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing ...

twitter libruary & ethnet libruary

is possible arduino read twiiter via ethernet sheild - not via pc/mac running something? if so, how? thanks mike quote is possible arduino read twiiter via ethernet sheild - not via pc/mac running something? yes, assume so. quote if so, how? as long twitter account public should able @ webclient example. it's matter of parsing web page. --philip; Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > twitter libruary & ethnet libruary arduino

no display - Raspberry Pi Forums

hi all pi working treat, 1 sd card wheezy installed, installed xbian xmbc working on sd card. xmbc worked fine, playing config selected euphoria screensaver , previewed it, screen went blank , stayed way , monitor dropped signal. running via hdmi on 27" llyama 1080p compatible display. cannot monitor display either card, though pi booting , can log on wheezy , shut down typing blind.. ideas please if haven't already, try editing config.txt , uncommenting hdmi_safe=1 line, or @ least config_hdmi_boost=4 line. , of course double-check hdmi cable in way. following wiki page describes how edit config.txt file: http://elinux.org/r-pi_configurationfile raspberrypi

php readfile

hi, i'm attempting prevent unauthorized user's downloading .zip file. i'm using log in section redirect them .php page then uses readfile() force download of file. if user attempts directly access redirect .php page, unauthorized error. anyway, problem when user downloads file (from logging in), when go save file, displays directory paths, "do wish save downloads-folder-folder-file.zip" i'm assuming (since authorized users ever see extension, make folders random (perhaps long alpha-numeric folder names). however, if possible - i'd able just "hide" extension when user goes save file, , have it display filename -- if that's possible? any better solutions? -- shane h shane@nospamavenuedesigners.com http://www.avenuedesigners.com ============================================= blog: http://avenuedesigners.com/blog/ web dev articles, photography, , more: http://sourtea.com ============================================= proud g...

Paypal Donation Module - Joomla! Forum - community, help and support

Image
i have created simple paypal donation module. it has configuration options in admin panel passed variables ipn require. http://developer.joomla.org/sf/frs/do/l ... onate_lite hi! looks great. noticed there 2 "donation amount" in backend... another question (i´m new in paypal  don't know if it's possible here) there way make payable credit card? people without paypal account (and don't want one) Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Modules

[Custom ArduinoBT] Problem with communication

hello ! first few words hardware: we have redesigned arduinobt smaller classical one. new arduinobt runs @ 8 mhz (8mhz crystal oscillator). the rest same. goal: send , receive characters pc card , pc card through bluetooth. a few software tricks did make work: i had change initialization of serial.begin(115200) serial.begin(230400) data sent card pc correct. (else characters nonsense). we first tried change f_cpu value in file board.txt 16mhz 8mhz did not change anything; why changed baudrate in serial. what works when send characters card pc, works perfectly. (sometimes char error ... 8% error due baudrate chip @ 8mhz) problem when send data pc card, first char correct, following incorrect.note if send char after char delay betwee each, works.(unfortunately can't use that) i know due baudrate problem .... note have normal arduinobt , works (when using 115200 baudrate of course, [oscillator 16mhz]) anyone has clue or few hints ? thanks ! no clues or h...

need help on first set up? - Raspberry Pi Forums

hi all, im new @ not have access disolay pi have windows 7 pc run linux distro take sd card pi pre set every thing wireless ssh config files here wifi adaptor wi-pi raspberry pi 802.11n wireless adapter http://www.mcmelectronics.com/product/8 ... nfirmemail question files / command use in terminal on first boot pi ready ? beau i setup interfaces files located in /boot directory , symbolically linked original locations. allows me make changes using windows when access non-boot directory not accessible. documented in http://rpi.tnet.com/project.faqs.winacc ... rfacesfile makes /etc/interfaces file , /etc/wpa_supplicant/wpa_supplicant.conf file. these 2 critical files enabling use of network. can't speak wifi device mention have never used that. use either edimax or airlink wifi usb dongles. there other changes can make set locale , keyboard before hand, if have network access can headless. raspberrypi

vpn über lan und wlan weiterverteilen - Raspberry Pi Forums

Image
hallo, ich habe noch kein raspberry pi, wollte aber mal fragen ob dass das richtige gerät für mich ist . ich habe vor: 1. per lan eine vpn verbindung aufzubauen und darüber internet zu beziehen 2. die hergestellte internet verbindung über wlan freigeben 3. die internet verbindung zusätzlich über ein usb -> ethernet adapter, eine 2. lan verbindung ebenfalls freizugeben. hat das schon jemand ausprobiert, oder ist das nicht möglich? ich habe bis jetzt nur etwas darüber gelesen, dass lan zu wlan und umgekehrt weiterverteilt werden kann. mfg faktisch ist der raspi dann ein router? das sollte kein problem darstellen. raspberrypi

verse of the day not working? - Joomla! Forum - community, help and support

Image
im getting following error verse of tjhe day appears. warning: invalid argument supplied foreach() in /var/www/bg/includes/core/votd.class.php on line 69 warning: invalid argument supplied foreach() in /var/www/bg/includes/core/votd.class.php on line 78 me : warning: invalid argument supplied foreach() in /var/www/bg/includes/core/votd.class.php on line 69 Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Modules

could somebody help me with the code

Image
hello, this first arduino code. parts wrote, others copied parts of posted online.   i trying add command inside void loop() , have suspicion sequence of commands not right , can't figure out how should done. there 3 pir sensors installed in room. when either 1 of them detects presence of person, playback of 2 soundtracks start. 1 soundtrack on cd player, on rmp3 shield. the soundtracks 1 hr long thought add physical button send 'stop' rmp3.stop(); command shield have playback reset option , don't understand if code resetbutton wrong or whether put in wrong order. could please`look @ code tell me what's wrong. appreciate it. i hope explanations clear, code below. thank much. m. code: [select] #include <newsoftserial.h> #include <roguesd.h> #include <roguemp3.h> //sketch start payback of soundtracks on cd player , mp3 shield //when 1 of 3 pir's reads high //may 1, 2010 //mikhail iliatov //parts copied code mgehring , tj on arduino.cc ...

JRun to reload a web application

we using combination of coldfusionmx hibernate , java. there way jrun update when have altered java side of things. @ moment have stop , start server pick changes pain when developing. seem reload if touch web-inf/jrun-web.xml file. cheers dafydd you can set following in web-inf/jrun-web.xml file: <reload>true</reload> <compile>true</compile> this isn't reccommended in production environment can degrade performance. ted zimmerman More discussions in Advanced Techniques adobe

Thread: I need help with a simple HTTP server in bash.

i have simple http server in bash , works great html content when trying send images first 1 displayed on browser. idea problem be? here code: code: # web.sh -- http://localhost:9009/ #folder=folder_with_imges cd $folder resp=/tmp/webresp [ -p $resp ] || mkfifo $resp while true ; ( cat $resp ) | nc -l -p 9009 | ( req=$(while read l && [ " " "<" "$l" ] ; echo "$l" ; done) echo "$req" echo "[`date '+%y-%m-%d %h:%m:%s'`] ${req%%$'\n'*}" req=${req#* } req=${req% http*} if [[ $req = *png ]]; file=.$req size=$(find $file -printf '%s') { echo http/1.0 200 ok echo cache-control: private echo content-type: image/jpeg echo connection: close echo content-length: $size echo cat $file echo } > $resp else page=$( for in movies books music pictures; echo "<img src='$i.png'></div...

Thread: PDT question

anybody have problems getting "generate getters , setters" work php in eclipse pdt? older zend tutorial said right-click, go source, , click generate getters & setters... didn't exist on mine. , trying keyboard shortcut didn't work either. super convenient if work... thoughts? been playing around it, still no go... ideas? Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk PDT question Ubuntu

touch scren as a switch?

hello again, now curious how can go making touch screen have hooked analog pins 0-3 function switch. the screen sends out midi cc data need have send midi note when touch anywhere , when release finger have note shut off. i tried few things trying modify code switch going in digital pin couldn't work. thinking there should easier way. posting code you. simple addition code need. haven't worked touch screen before, don't knwo kind of input or form pin or pins input comes from. assuming if there nothing touching screen pins read 0 can statement this. code: [select] if(analogread() > 0) { // play note } else { // play nothing } or if not 0 sends out data in range when touched this. code: [select] if (analogread() > lowvalue && analogread() < high value) { // play note } else { // play nothing } someone should able tell me how far off on this. Arduino Forum ...

sef_ext.php - Joomla! Forum - community, help and support

im using opensef component. have component have created , want tweak url's using sef_ext.php file. have basic question setting file up, go? tells me put in main component directory (which not particularly clear) talking putting in /administrator/components or /components or in component directory itself? appreciated. it used front page... thats why /components directory suits better... if putting file there directly conflict other components , defeat purpose... need /components/com_xyz/sef_ext.php i believe file introduced sef advance , used other sef components... find example in other components @ forge. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Function and array question.

code: [select] #include "stdafx.h" #include <iostream> using namespace std; int button1 () {   char ans;    int button;      int led1[5] ={1,1,1,1,1};    do { cout << led1[0]<<led1[1]<<led1[2]<<led1[3]<<led1[4]; cout <<endl; cout <<"01234"<<endl; cout <<"enter button: "; cin >>button; if (button <= 4) { led1[button] = 0; } else if (button == 5) {   cout << "done (y or n): " << endl;    cin>> ans;      cout << endl;} else if (button >= 6) {cout <<endl;      cout << "invalid input" <<endl; cout <<endl;} }    while ((ans !='y')&&(ans !='y')); return true; } int button2 () {   char ans;    int button;    int frstrn ...

Thread: mount -t cifs only root can do that

ok, i've been beating head against wall time now. why every time attempt use mount -t cifs, infamous: code: $> mount -t cifs //server/home test mount: root can that mount.cifs setuid, i'm puzzled: code: -rwsr-sr-x 1 root root 32088 2009-03-27 15:40 /sbin/mount.cifs what missing? what happens when substitute "mount" "pmount"? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] mount -t cifs only root can do that Ubuntu

Thread: cabextract confusion

hi new linux , trying install wireless driver using ndiswrapper , site following tell me uninstall driver cabextract or unshield. installed can figue out how use it. see installed in synaptic no else. please see me complete noob computers let alone linux. cabextract terminal program. open terminal (applications>accessories>terminal) , type: code: cabextract -d /directory_to_extract_to/ /path_to_cabinet/ btw, card trying going? find out, run command: code: lspci if it's internal, or: code: lsusb if it's usb card. either way let know how turns out, or if need more help. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] cabextract confusion Ubuntu

Thread: Amarok Problems

Image
ok, installed amarok(very awesome, except...) every time open it, transparent square in top corner of monitor has edges , stuff nothing inside it, , actual program running , can see little square sitting there , annoying me. ps when close program thing goes away. heres screenshots attached images screenshot.jpg (167.9 kb, 8 views) screenshot-1.png (282.2 kb, 6 views) Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] Amarok Problems Ubuntu

Thread: Syntaptics - FingerHigh

hi all, have searched forums problem. found alot of stuff on synaptics, , tap sensitivity, nothing mine. have installed gsynaptics, found using synclient var=value works best doing. tap sensitivity sensitive. have been manually adjusting fingerhigh through synclient. seems if set 39, sensitive, setting 40 pretty turns off. barely touching @ 39 registers click, 40 can hit touchpad hammer (not have) , wont register click. ideas? Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] Syntaptics - FingerHigh Ubuntu

Communication via USB

Image
hi all, i new , hope not posting in wrong channel   i read reference documentation , stumbled upon serial class says there way communicate via usb. having arduino nano/328. know has usb port. can tell me/give me links read on how establish connection communication between pc , arduino? thanks in advance micha using programming language or application? the arduino can serial.print send data serial port. there many ways on pc read data serial port. the arduino connects computer using usb cable, onboard usb serial converter. there examples provided arduino ide show how communicate processing application (also free): http://www.processing.org/download/ Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Communication via USB arduino

SMF - Problema con Wrapped (Modo de integracion) - Joomla! Forum - community, help and support

Image
hola amigos, estoy intentando colocar un foro smf mi joomla 1.0.4, en un principio el componente puente "joomlasmfforum_1.0.2a" funciona perfecto, aunque quiero aclarar que para parchear el index.php del directorio principal tuve que instalar un joomla en local y hacerlo ahí, ya que no tengo permisos de escritura en el directorio raíz (y la del servicio técnico no quiso dármelos), por lo que lo parchee en local y luego copie el index.php en el servidor. pues bien, colocando el modo de integración en unwrapped todo funciona correctamente, logea desde mambo y deslogea desde el foro, esto perfecto, pero en cuanto pongo el modo de integración en wrapped me da una pantalla como esta: http://www.todomecanica.com/component/o ... temid,251/ pues eso es, que no se donde esta el problema, y si alguien me echara una mano pues me pondría muy contento de poder correrlo de una vez. gracias un saludo. Board index Joomla! International Language Support ...

Dynamic ODBC in CF7.02

hi, i have cf5.0 code uses dynamic odbc feature connect different xls files, sql them various data, read them in , process. if upgrade 7.02 believe these feature has been removed. is aware of workaround, custom tag etc can allow me continue use feature? thanks mark there number of jdbc drivers can connect excel. there java libraries - apache's jakarta poi, provide methods identical in com connections excel. More discussions in Database Access adobe

Arduino + PHP

Image
hello everyone, know if there place can on how use arduino php. thanks arduino php? this mean number of things: 1) running php on arduino, on webserver. 2) comiling php runs on arduino in similar way c/c++ in ide. 3) running code on arduino calls php script on web server. can elaborate on trying do? regards, mike Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Arduino + PHP arduino

pd example patch 4 controlling steppers via pduino

hiya, im traying control 1 step motor via pduino (latest cvs) manage make motor tick. have tested wiring basic arduino step motor unipolar example playground , works quite well. but, since im not familiar coding i've been trying firmware code named pduino aka firmata. im not sure whats speed , secuence of values have send 4 pins unipolar connected. can here share puredata patches move stepper? via pduino or not, same me long works. tx!, /a okay, didnt work via pduino, began copy pasting form here , there , end code arduino: /* paso paso aka step motor control desde puredata * -------------------- * * * copy pasted on 28 december 2006 * kdag-alej00d <http://co.lab.cohete.net> * http://altred.net * */ int ledpin = 13; int statusled = low; int delaytime = 500; int val = 0; int serbyte = 0;   // valor que llega via serial int analogvalue = 0; void setup() {  pinmode(ledpin, output);  serial.begin(9600);       ...