Posts

Showing posts from January, 2015

convert HEX (ASCII) to a DEC int

hi, i on arduino serial string "cc", , need convert int decimal value of 0xcc (that 204). i found in forum, topics convert long-long values (convert big string hex value, big decimal value), or hex representation of ascii character (like 'c' = 0x43) , isn't want. knows function simple conversion ("cc -> 204)? code: [select] hexdigit = toupper(hexdigit); digit = (hexdigit >= 'a') ? hexdigit - 'a' + 10 : hexdigit - '0'; "toupper", range checking , double digit conversion left exercise reader. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > convert HEX (ASCII) to a DEC int arduino

need help on (invisible) audio for web page

i building web page (see below) , want able rollover 1 of circles see text. when click on it, plays whole audio of person talking that. far see it, options 1 - embed player (what smallest, play , stop, , universal?) 2 - link audio file , open in program of choice 3 - site in flash. http://www.anna-callahan.com/riverside2.jpg ideally, want behave 1 did in flash. http://www.anna-callahan.com/bus/bus/bus.html is ridiculous pursuit? More discussions in Dreamweaver support forum adobe

Compass Heading Compiler Error

hey guys, needed code take heading , print out cardinal direction. "error: expected unqualified-id before '[' tokenbad error line: -2" ide compiler. suggestions? have gps feed in course , print out direction 1 day. code: [select] char[] getdirection(unsigned long h){  if(h>337.5){    return "n";  else if(h>292.5)    return "nw";  else if(h>247.5)    return "w";  else if(h>202.5)    return "sw";  else if(h>157.5)    return "s";  else if(h>112.5)    return "se";  else if(h>67.5)    return "e";  else if(h>22.5)    return "ne";  else    return "n"; } thanks, -r change: char[] getdirection(unsigned long h){ to... char *getdirection(unsigned long h){ Arduino Forum > Forum 2005-2010 (read only) > Software ...

vs2005/C#/MS Access: Insert doesn't add row to db

hey all: i wrote c# program sent arduino parameter. 1 received, arduino sends data tempature sensor pc. program takes info , tries load database. the program passes info arduino , received info in return. however, insert sql statement not load data database though there no errors insert statement. am leaving out? maybe statement commit or something? appreciated. here's code: private void button1_click(object sender, eventargs e)        {            //========================================================================            // when button clicked, program sends parm serial port.            // external device connected serial port sends information            // serial port. program takes information , places            // in textboxes , tries add data (along hard coded data)            // database using insert sql statement.            //========================================================================            //====  creates/opens/reads/closes...

El foro me marca un error, :S - Joomla! Forum - community, help and support

Image
oigan pues miren, tengo en una pagina instalado el joomlaboard y funciona bien pero, me marca los siguientes errores en el inicio del foro: warning: invalid argument supplied foreach() in /home/formato/public_html/components/com_joomlaboard/listcat.php on line 273 warning: invalid argument supplied foreach() in /home/formato/public_html/components/com_joomlaboard/listcat.php on line 273 warning: invalid argument supplied foreach() in /home/formato/public_html/components/com_joomlaboard/listcat.php on line 273 el foro funciona bien pero pues esto indica ke algo esta mal.... alguien sabe ke pueda ser? esta es la direccion de la pagina: http://www.formatoskate.reskate.com gracias reinstale y todo resuelto:s la verdad no supe ke era jaja Board index Joomla! International Language Support International Zone Spanish Forum Extensiones

PonyGallery probleem - Joomla! Forum - community, help and support

netjes ponygallery kunnen installeren maar heb nu onderstaande error warning: main(components/com_ponygallery/sub_viewspecial.php): failed open stream: no such file or directory in /home/httpd/vhosts/stoeterijdeloof.be/httpdocs/nl/components/com_ponygallery/ponygallery.php on line 322 warning: main(components/com_ponygallery/sub_viewspecial.php): failed open stream: no such file or directory in /home/httpd/vhosts/stoeterijdeloof.be/httpdocs/nl/components/com_ponygallery/ponygallery.php on line 322 warning: main(): failed opening 'components/com_ponygallery/sub_viewspecial.php' inclusion (include_path='/home/httpd/vhosts/stoeterijdeloof.be/pear') in /home/httpd/vhosts/stoeterijdeloof.be/httpdocs/nl/components/com_ponygallery/ponygallery.php on line 322 zie http://www.stoeterijdeloof.be/nl/index. ... nc=special bepaalde pagina's werken dan wel http://www.stoeterijdeloof.be/nl/index. ... &itemid=47 heb een gelijkaardig probleem met peoplebook en fill-a-form en mosf...

Noob programing error

hello have had arduino few weeks , first time have done more change few variables in sketch. trying led light dependent on temperature in hopes of using arduino regulate temp of few things in future when have more experience. anyway error message getting @ point "else without previous if" here code have @ point. using basic temp code playground start. #include <math.h> int yellowpin= 11; int val= 0; double thermister(int rawadc) { double temp; temp = log(((10240000/rawadc) - 10000)); temp = 1 / (0.001129148 + (0.000234125 * temp) + (0.0000000876741 * temp * temp * temp)); temp = temp - 273.15;            // convert kelvin celcius temp = (temp * 9.0)/ 5.0 + 32.0; // convert celcius fahrenheit return temp; } void setup() { serial.begin(115200); pinmode (yellowpin, output); } void loop() { serial.println(int(thermister(analogread(0))));  // display fahrenheit delay(1000); val = (int(thermister(analogread(0)))); if (val > 80)...

Java Platform Multiple LED and PWM value - Raspberry Pi Forums

Image
so right working on using java code drive multiple leds. problem : want use loop automatically assign value variables. don't find type of array can declare. code based on http://pi4j.com/example/control.html also, wanna ask, project library can use pwm value? thank guys but don't find type of array can declare. sort of array looking for? does project library can use pwm value? not sure means not in english. however, link contained no code used pwm. there 1 pwm generator accessible on pi not use multiple leds. raspberrypi

LED fade sequences, 2 buttons

Image
hi everyone! im new using arduino , need create sequence of changing patterns in led array using 2 buttons, fading , timing. i need have pin 5 fade in on 1st press, pin 6 fade in (both pins 5 & 6 high) on 2nd press, both pins fade out on 3rd button press. program doesn't else statement, coming 'before' if:  if (buttonpushcounter % 3 == 1) {  // fade in min max in increments of 5 points:  for(int fadevalue = 0 ; fadevalue <= 255; fadevalue +=5) {    // sets value (range 0 255):    analogwrite(ledpin_wht_dim, fadevalue);            // wait 30 milliseconds see dimming effect        delay(30);  } else {   digitalwrite(ledpin_wht_dim, low);   digitalwrite(ledpin_wht_bright, low);  } im guessing quite simple, i'd grateful can offer me! best regards post whole code please and welcome arduino.cc! ...

Hexen / Heretic - Unable to determine user home directory - Raspberry Pi Forums

hi all, enjoying using risc os pi ! never used risc os , i'm 3 hours in. superb ! it's sooooo fast ! anyway, i've installed hexen , heretic via !packman route ( , read !help file) when run ( via !run icon) 'unable determine user home directory' in stderr file. i've checked hhexen$dir environment variable set !run file, , running hhexen app. error generated. i've tried few things not been able fix it, i'm asking ! can replicate ? have done wrong ? cheers, jem. fixed ! (the ) chris gransden replied : 'there should application !unixhome in apps.support folder. if double click on or install unixhome using !packman. try again.' hope it's ok quote here ! have double-click !unixhome before run game. sets 3 variables: unixenv$home unixenv$lynx_cfg unixenv$term there has way in !run file check if these set , if aren't, run !unixhome, or maybe run each time game run, knowledge isn't yet. i'll work on it.... i'm 5 hours risc ...

redirect trace() output to a text box

i have flash app works fine in local testing, fails load dynamic data when live on site if use javascript method around "click activate issue" what direct trace output textbox can test in situ. possible in as2? know there import flash.util.trace as3, use xp64 as3 won't install tells me dont have xp. i looking ontrace type event. know it's long shot :) many thanks, ben. try using firefox flashtracer plugin alessandro crugnola https://addons.mozilla.org/en-us/firefox/addon/3469 More discussions in ActionScript 1 and 2 adobe

Perlin noise in Arduino

in processing, i've used perlin noise() function generate less random randomness. wondering if there in arduino. basically, have servo controlled robotic arm , 1 of servos position randomly, don't want totally whipping on place. noise() function solve issue, perhaps there way it... thanks help! one workaround used generate large string of numbers in processing using noise() , pasted values array in arduino sketch , pulled values needed. yes loop after time created illusion of 'smooth random' of perlin noise , going know otherwise. iirc working on variant of noise arduino might around more... brian Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Perlin noise in Arduino arduino

help! photocell needs to trigger mp3

i'm brand new arduino, , i've been digging own grave making more complex needs be- i know how wire board, i'm clueless how code it.  basically, need make when photocell detects light, triggers mp3 on computer or through itunes (i have mac).  if kindly steer me towards code work this, incredibly grateful. thank much! emily you need software on mac can read serial port , start mp3 file playing. arduino nows nothing mac's / pc's / folders / files , that. it's easy set photoresistor voltage divider , use analog read on arduino board "light level" reading. send on seral line mac, theres no way arduino board can start playing mp3 file on mac. program on mac must listening on serial port arduino board sends , take action. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Program...

What is the resolution of rotation of hobby servos

i've got couple of hobby servos i'm using on project. firstly understand servo library included in arduino allows ints when writing servo itself. i'm not sure if purely limitation in software or maybe because servos cannot rotates < 1 degree. i'm new electronics forgive me being bit thick. is possible create rotations smaller 1 degree. can see lib supports writemicroseconds, im not sure does. any help? have looked @ how servos constructed? little plastic gears molded millions on plastic shafts dropped molded, not machined, holes. several of them per servo drop speed of crude little electric motor thousands of rpms down reasonable speeds servo. have looked @ how small motion 1 degree is? @ second hand on watch (assuming has hands). little space between straight noon , 1 second after 6 degrees. now, why want use cheap hobby servo , move in less 1 degree increments? Arduino Forum >...

OT. MX CSS MENUS problems

hi. i know discontinued product interakt. but here knows fix ie7 , css menus? problem submenus dont expand (actually expands behind) when using images toplevel. problem can bee seen here: http://www.aba.nu/foretag i need fix. regards olle More discussions in Dreamweaver support forum adobe

Arduino + Pure Data - Play sound with IR Sensors

hello! i'm starting new project , need please. i have ir sensors connected arduino, need make serial connection pure data make him play sound. how can connection and, if know patch pd make him play sound, i'll appreciate share me. thanks! http://www.google.ee/search?hl=et&source=hp&q=arduino+pure+data&lr=&cts=1274619119273&aq=f&aqi=&aql=f&oq=&gs_rfai= Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Arduino + Pure Data - Play sound with IR Sensors arduino

it's wrong but I don't know why...

i have created halo menu submenus, , make 'buttons' have made go somewhere. trying "history" submenu button go webpage below url. wizzard has created this: geturl(" http://kountertacticssquad.bravehost.com/kts%20history.html", _blank); but says when try preview/run flash: **error** symbol=about submenu, layer=history, frame=6:line 1: wrong number of parameters; geturl requires between 1 , 3. geturl(); total actionscript errors: 1 reported errors: 1 can me??? this seems work now....however when rollover main menu button 'about us' not when click 'history' know how change this? More discussions in ActionScript 1 and 2 adobe

Split-up Serial Command

hey all, a basic question, use assistance! i'm sending command string arduino (ng) board, containing header, x position, y position , rotation value, want arduino read serial message, , able read these separate values. useful send kind of comma separated list of values, instance: st,15400,23600,180# where st header, 15400 x-position, 23600 y-position, , # makes end of message. should try read serial data, store in array, , find way split array again using commas? suggestions welcome! thanks in advance! maybe important thing add: arduino receives ascii characters through serial connection, , supposed handle these. hope of able answer question! Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Split-up Serial Command arduino

Thread: uploaded files to /var/www cannot be viewed by a browser

i trying upload html files /var/www in ubuntu server 9.04 "permission denied" when try view them. why permissions set low? strict permissions pretty basis of security in unix/linux systems. reason why don't have kind of virus problem windows has, , why majority of web servers , supercomputers run linux or unix variant. normal user's have no business outside home directory, system-level stuff belongs administrators. should read this: https://help.ubuntu.com/community/rootsudo ..and solve actual problem, run "gksudo nautilus" open file manager root, or use command line move files /var/www. in case it's development/testing server , not in actual production use, i'd recommend creating web site it's root located inside home directory. allow use server development purposes without having worry permissions. Forum The Ubuntu ...

What does it mean?

i having trouble understanding code involved in example sketch number 06b (in book: getting started arduino massimo banzi). can 1 please explain me? code: code: [select] // example 06b: set brightness of led to // brightness specified the // value of analogue input #define led 9 // pin led int val = 0;  // variable used store value              // coming sensor void setup() {    pinmode(led, output); //    // note: analogue pins are  // automatically set intputs } void loop() {    val = analogread(0); // read value sensor    analogwrite(led, val/4); // turn led on @                           // brightness set                           // sensor                           ...

Applying Images from XML file to button states.

i'm using flash mx professional 2004. have xml file in same directory flash file i'm reading in file names / paths images i'm setting in flash file. have buttons created , set on stage @ design time. need know code set different state properties of buttons images in xml file. example: offimage = nodes .attributes.offimage; onimage = nodes .attributes.onimage; trace("off image is: " + offimage); // @ point getting text offimage xml file in output box. know xml being read , i'm recieving correct information it. trace("on image is: " + onimage); // example of text be: testimg.jpg or testimg.gif btnmybutton.loadmovie(onimage); // tried this, doesn't work. syntax checker doesn't error on this. btnmybutton.onmouseover(onimage); // tried this, doesn't work. syntax checker doesn't error on this. btnmybutton.onmouseover.loadmovie(onimage); // doesn't work. syntax checker doesn't error on this. notes: able apply .gif images of reading...

Thread: Require Better Display Resoltion

Image
my old 15" crt monitor died (yeah, nothing fancy around here ) , friend gave me working, larger screen, compaq p1220 freebie me out. however, can't resolution more 960 x 600. there can install fix this? in advance. regards, rob you tried obvious rebooting system monitor plugged in might trick. other edit /etc/x11/xorg.conf. make sure make first. misconfiguring file render system without graphics , you'll need know way around command line replace backup. or you'll need use livecd replace backup. google search "xorg resolution ubuntu" might lead in right direction. should edit file resolution monitor can handle. if post current xorg.conf myself or else may able further. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] Require Better Display Resoltion Ubuntu

logic shifter use case - Raspberry Pi Forums

hi all, electronics noob here. quick question. can give me 'use case' want use logic shifter used raspberry pi gpio pins? lets this: http://www.ebay.co.uk/itm/mini-logic-le ... 4aba0064b7 i'm curious on sort of applications people use these? thanks from pi (3.3v) 5v wouldn't need (low @ 3.3v still recognised low @ 5v, , high @ 3.3v still recognized high @ 5v). 5v pi might cause problem. logic 1 5v device if 5v damage pi. in case converter protect pi lowering signal 3.3v. raspberrypi

Thread: where is opera?

i typed ..: sudo apt-get install opera and gave ..: reading package lists... done building dependency tree reading state information... done package opera not available, referred package. may mean package missing, has been obsoleted, or available source e: package opera has no installation candidate so opera? hi install opera repos or latest opera site. site has .deb file when download double click file , voila !! clive Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] where is opera? Ubuntu

Resultaat invulformulier in administartor ? - Joomla! Forum - community, help and support

Image
bestaat er of het mogelijk de resultaten van een invul forumulier te tonen in de admin ? vb : inschrijvingen voor deelname aan een sportwedstrijd zodat je dan als admin alle inschrijvingen bekijken inde administrator. als ik dan verder denk... wanneer er verschillende prijs mogelijkheden zijn op het invul form, dat deze dan per inschrijving samen geteld worden. ( handig om dan facturen te maken ...) als ik dan nog wat veder denk... kunnen er mss facturen gemaakt worden in de administrator ?? hoop dat dit kan alvast bedankt dat kan met facile forms . dit overigens al meerdere keren behandeld in de forums. tip: gebruik die zoekfunctie! Board index Joomla! International Language Support International Zone Dutch Forum Joomla! 1.0 Componenten 1.0.x

Problem with atoi in 0021

i'm trying convert sketch 0018 0021. 0021 has built in string function replacing wstring library. compile error @ n = atoi(readstring); line in code below.  anybody know changed cause compile error? code: [select] // zoomkat 7-30-10 serial servo test // type servo position 0 180 in serial monitor // writemicroseconds, use value 1500 // http://arduino.cc/en/uploads/tutorial/string.zip wstring.h //#include <wstring.h> //provides easy string handling string readstring = string(100); #include <servo.h> servo myservo;  // create servo object control servo void setup() {      serial.begin(9600);        myservo.attach(9);        } void loop() {        while (serial.available()) {        delay(10);            if (serial.available() >0) {        char c = serial.read();  //gets 1 byt...

Thread: Opengl in kvm-qemu XP guest

i know vmgl enables opengl in linux guest vm need opengl windows guest can install wined3d use directx. virtual box can enable opengl os should possible kvm-qemu too. need opengl in xp guest using kvm-qemu. know how so. if please help. now i'm not sure if opengl problem cause tried in virtualbox opengl enabled , got same problem. think wined3d @ stage should @ least tell me direct 3d enabled on guest still thing must doing wrong. know?? Forum The Ubuntu Forum Community Ubuntu Specialised Support Virtualisation [ubuntu] Opengl in kvm-qemu XP guest Ubuntu

Thread: Persistent File

how mount persistant file on flash drive soi can copy files , /home folder? https://wiki.ubuntu.com/liveusbpendrivepersistent Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [all variants] Persistent File Ubuntu

help with ultrasonic code

  using following ultrasonic sensor. http://www.sunrom.com/index.php?main_page=product_info&cpath=55&products_id=... i tried program using arduino atmega8. first did 5v pin in ultrasonic sensor powered using digitalpin. read serial port , converted buffer ascii. problem values remaining constant though obstacles placed @ different positions.here code ive used: int ser=0; char s; char st[10]; int pin=2; int a; int i=0; int range; void setup() { pinmode(pin,output); serial.begin(9600); } void loop() { digitalwrite(pin,high); delay(1000); digitalwrite(pin,low); delay(1000); /* for(i=0;i<10;i++) {   s =serial.read();   range=(s[0]-0x30)*100;//  also tried these lines given in datasheet.   range=range+(s[1]-0x30)*10;   range=range+(s[2]-0x30)*1;   serial.println(s ); } }*/   if(serial.available()) {   s=serial.read();   if(i<10&&s!='c'&&s!='m') {...

Problem with example in Getting Started Manual

Image
today started using arduino. great. forgive me when asking totally stupid. i using manual getting started arduino. making last example 'arduino networked lamp'. in project need processing , arduino ide working together. have 2 sketches. in sketch processing says: font = loadfont("helveticaneue-bold-32.vlw"); the book explains font in processing should otherwise arduino ide can't read it. problem processing hasn't got helvetica font. , searched internet problem can't find solution. does know solution? thnx!! the actual font isn't critical, try replacing:  font = loadfont("helveticaneue-bold-32.vlw");   with  font = createfont("arial.bold", 32); have fun! Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Probl...

please help asap- custom fill of grid not displaying

i created custom fill of grid set spacing 2, grey. no matter how export it, shows grey fill. please have out asap driving me crazy! ccasati wrote: > created custom fill of grid set spacing 2, grey. no matter how > export it, shows grey fill. please have out > asap driving me crazy! custom fills postscript code. not print non-postscript printers. if don't have postscript printer, export postscript file or eps file , use acrobat pro/distiller create pdf. if referring grid in view>grid, non-printing grid similar guides. it's purpose aid layout. if want create custom grid print printers , export correctly many formats, use tiled fill. judy arndt More discussions in Freehand adobe

raspi-config contains empty filename - Raspberry Pi Forums

Image
hi there! after installing didn't apt-get update or install working anymore...i get: ----- dpkg: unrecoverable fatal error, aborting: files list file package "raspi-config" contains empty filename e: sub-process /usr/bin/dpkg returned error code (2) ------ i'm stuck here please me this?? thanx much, plus no help? raspberrypi

Arduino Real-time Streaming Reliability Issue

hi, i'm trying send 3 different signals on serial port on arduino duemillanove. goal able send 3 adc signals computer can plot them simultaneously , want able have them plotting in real-time. i have written arduino code send 3 signals on serial port , communicate via serial input buffer having reliability issues (read after code). code: [select] [code] //set of numbers communicate thru serial int x1[5] = {1,2,3,4,5}; int x2[5] = {6,7,8,9,10}; int data = 0; int = 0; string inside = "inside"; // = 73 // e = 69 // r = 82 // c = 67 void setup() {  serial.begin(9600);  pinmode(13,high); //to turn led on } void loop() {    //debugging block...  //delay(1500);  //serial.print(serial.read());  //serial.flush();  //serial.print('\n');      //if 'i' sent serial input buffer than...  if(serial.read() == 73)  {         serial.println(inside)...

Sending non-ASCII code via Serial Monitor

i need send arduino commands avrdude command set. there various bytes such 0x41, 0x80 , on. not of them represent simple ascii characters can type , send serial monitor. and don't want change sketch begins accept characters instead of, say, 0x80 , other "non'ascii" bytes. fine use exact avrdude protocol. so, can send byte 0x80 or 0x00 or 0x01 directly via arduino serial monitor? thanks! you might able send octal values using \nnn sequence. require converting hex values octal, though. using text entry panel send non-text data doesn't seem right thing do, though. if it's test stuff, that's 1 thing. if it's meant used long term, better off writing own application can send hex values more directly. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > ...

What pins are serial?

hey guys, 1st time blogger. time stupid question... im looking project requiring several serial interfaces , wanting know pins capable. im looking @ duemilanove, pins 0 & 1 ( tx & rx) serial. my question is: other digital pins capable of serial? , if how this?   cheers have softwareserial or newsoftwareserial libraries. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > What pins are serial? arduino

SPI EEPROM & GPS logging

i have got exact same chip eeprom stated on website tutorial spieeprom. got hardware interfacing , work using code provided. http://www.arduino.cc/en/tutorial/spieeprom now appreciate understand how store "long int" number instead of "char" shown in code. website seems can write 128 bytes @ time , since in example used char (which 1 byte) spi transfered in following code: for (int i=0;i<128;i++)  {    spi_transfer(buffer ); //write data byte  } how change long int (which 4 bytes, 32 bits). how addressing affected? ps: want store "latitude, longitude" comes out of tinygps library functions. any sample code or nudge in right direction explain eeprom addressing , storage appreciated. thanks have peek @ how it's done here: http://www.arduino.cc/playground/code/eepromwriteanything Arduino Forum > Forum 2005-2010 (read only) > ...

LCD menu options (best route)

Image
hi, i have been searching internet 2 solid days idea of how menu options lcd. have included flow chart of trying accomplish. new programming, learning go. have included code have written far , tried make notations of , trying do. far have 1 button doing sort of after. still long way off though afraid. the program choose led , options led light drum when struck through midi input. of midi stuff has been programmed else , trying interact 16x2 lcd (4 bit) it. it have 5 buttons. up, down, right, left , center (store). don't think on right path buttons , accessing menu options, if of has advice sure use help. thanks jeremy here completed schematic. still have tweaking on it. code: [select] /*   lcd portion of code. sets pins   , intro screen.    the circuit:  * lcd rs pin digital pin 2  * lcd enable pin digital pin 3  * lcd d4 pin digital pin 4  * lcd d5 pin digital pin 5  * lcd d6 pin digital pin 6  * lcd d7 pin digital pin 7  * 10k resistor:    * ends +5v , gro...

Raspberry Pi GPIO Web Control and Cronjob - Raspberry Pi Forums

i share first pi project. lightweight java based web application control gpio ports of raspberry pi on http. have used lightweight servlet container (winstone) , running fine on pi while. control gpios http-get parameters. response send via json. important features: it can handle input , output ports. it can handle analog input ports based on http://www.raspberrypi-spy.co.uk/2012/0 ... -gpio-pin/ cronjobs (within java server) implemented automation. a condition logic implemented (e.g. set output port if import port set). have access full source , installation instructions @ https://bitbucket.org/sbub/raspberry-pi ... eb-control hi, seems interesting? java virtual machine have used, oracle or openjdk? performances? thanks raspberrypi

Thread: Flashing a BIOS.

i have asus m3a78-em mobo , have read in few places phenom ii work better if updated bios. have downloaded latest bios asus site realised there 2 different files windows , linux. dual-boot matter 1 do? or do both? have never done before, btw. appreciated. do one. 1 doesn't matter - both should work equally well. sure it's show stopper unless update Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware Flashing a BIOS. Ubuntu

Arduino resetting on port close and open

hi all, having weird problem can't seem crack. i've got firmata v2 , running  on linux ubuntu using flash app as3glue, works great. i ported on windows xp (sp2) using serproxy serial server , works fine except every time serial port opens , closes (reboot or unplugging arduino), sketch (firmata v2) lost. i've tried both firmata 1 , 2 same results. given works fine on linux including re-booting without having re-download firmata, think xp setup thing? any ideas appreciated, thanks. al well still no luck on one. had few people tell me might data causing boot loader not run don't think got avrisp mkii , flashed firmata2 on board, still same problem. strange works fine under linux under windows xp, have flash firmata every time. tried upgrading latest ftdi drivers on win xp , tweaking advanced settings no luck. Arduino Forum > Forum 2005-2010 (read only) ...

Apple Logic studio 8 and Arduino board advice

hi im new please bare me i want use floor pressure pads triggers send midi messages apple logic studio 8, play audio samples esx24 smpler in logic, possible. with arduino board? im going use 25 -30 floor pads, how many boards need im using intel mac book pro os x 10.4.8 tiger logic studio 8. any advice helpfull. regards james corner. maybe arduino midi drum program helpful you: http://code.google.com/p/ardrumo/ Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Apple Logic studio 8 and Arduino board advice arduino

Fail to boot (solved) - Raspberry Pi Forums

hi all, got rpi in mail other day. first experience in 'fail boot, what' category. red led on. got sd card amazon : 8gb sdhc class 10 (ts8gsdhc10) on compatibility list : http://elinux.org/rpi_verifiedperipherals#sd_cards tried 3 power supplies rated @ 5v 0.7a. result same. among them : 5v 0.7a charger galaxy sii again on compatibility list : http://elinux.org/rpi_verifiedperipherals#power next want try see if image on card correct. what's cmds mount sd on desk pc linux , verify file system structure? thanks, gert (not related gert van loo) fdisk -l post output raspberrypi

Arduino library for converting RGB, HSV and HSL

Image
hi everyone, i've ported javascript code found in order create arduino library converting between rgb, hsl , hsv: https://github.com/ratkins/rgbconverter i hope finds useful. cheers, robert. right, have had thread open since first saw haven't had chance @ yet. sounds handy, thanks!   Arduino Forum > Forum 2005-2010 (read only) > Software > Development > Arduino library for converting RGB, HSV and HSL arduino

Unable to copy disk image to some of my SDs. - Raspberry Pi Forums

hello all. desperately working away here ran nasty hitch... can backup , restore disk images , 1 brand of disk (element 14) - if use brand (sandisk - fresh newegg , real), error when copying it. have full log @ end of posting, , seems pretty clear me doesn't copy last 8mb or onto sandisk. guess because sandisk tiny bit smaller element 14... there's tons of empty space of course doesn't make difference in copying disk images. i've looked @ instructions resizing partitions - don't seem work distribution (a recent raspian debian distrib). one, want use statements code: select all fdisk -cu /dev/mmcblk0 - -cu isn't valid flag according man fdisk (and trying run anyway gets predictable error). if follow man page , try code: select all fdisk /dev/mmcblk0 program start - shows me *zero* partitions, can't delete , recreate partition. since rearranging partitions destructive, decided stop there... have mac , couple of rps here. tomorrow i'l...

Compiler error

hello i've got problem think related scope issue. i'm blank , have tried lot of different stuff rid of compiler error. here code of simple state machine: code: [select] /* statemachine */ enum {ms_idle,ms_start,ms_stop}; typedef struct{ int state,oldstate; int time; }smtype; void sm_update(smtype *p); smtype mission; void setup(){  serial.begin(9600);  mission.state=ms_idle; } void loop(){  sm_update(&mission);  switch(mission.state){    case ms_idle:    serial.print("state idle");    delay(5000);    mission.state=ms_start;    break;            case ms_start:    serial.print("state start");    delay(5000);    mission.state=ms_stop;    break;        case ms_stop:    serial.print("state stop");    delay(5000);    break;      }       } void sm_update(smtype *p){  if (p->state!=p->oldstate){       p->time=0;       p->oldstate=p->state;   } ...

Picking a random word

so friends , play weird game try find 6 degrees of separation between 2 actors. tend pick actors know. so wondering if there way make arduino pick 2 random actor names out of big list have in program , display them both on computer (or lcd, don't have 1 yet) computer now. i read random code arduino seems numbers :-/ if has ideas how write said program or sites can go explain let me know. do mean random word 'fwiopb', or random word list? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Picking a random word arduino

XSL and design view

i repost this, there no body can ?? very annoying ! must add small tags dw puts if things xsl:choose screw whoel design. halepfull able toggle display of tags in design view. my originla post: on xsl template sthe whole design view shows wrong when path expression longer resul be. example: the outpur be: <td style="width:20px">1</td> the xsl <td style="width:20px"><xsl:value-od select="someverylongxpathexpression"/></td> in design view cell 300 px or so.... is there not option wher dw cuts path expression correct cell size ? me dw xsl development totally useless if dw screws design ! i"m not sure if dreamweaver works xsl , xslt in design view. i've used edit xslt files in code view , fine that. More discussions in Develop server-side applications in Dreamweaver adobe

Scaling Movieclip

hoping chris or can me one... i have background image i'm wanting scale stage.height , stage.width but, keep in proportion well. for reason, can not figure out. here's code have far... quote: stage.scalemode = "noscale"; stage.align = "tl"; var stagelistener:object = new object (); stagelistener.onresize = positioncontent; stage.addlistener(stagelistener); stagew = stage.width; stageh = stage.height; bulbswide = (stagew > lightbulbs._width); bulbstall = (stageh > lightbulbs._height) && (stagew < lightbulbs._width); function positioncontent():void { if (bulbswide) { lightbulbs._width = stage.width; lightbulbs._yscale = lightbulbs._xscale; } else if (bulbstall) { lightbulbs._height = stage.height; lightbulbs._xscale = lightbulbs._yscale; } else { lightbulbs._width = stage.width; lightbulbs._yscale = lightbulbs._xscale; } } positioncontent(); i've tried lot of variables on well. including entering actual width , height ...

how to interupt a input?

hi i have 1 input depends on another, when push button 1 (input d3) , button 2 (input d2) low, output (d10) turned high, if button 2 goes high, output have go low, sketch output standing high... how can change that? my comlete (unfinished) code: code: [select] /* car lifter made håvard gjøsund thanks arduino forum*/ const int pot1 = 0; const int pot2 = 1; const int brend = 2; const int bropp = 3; const int brned = 4; const int brlas = 5; const int brlys = 6; const int ledac = 7; const int leddc = 13; const int ledlys = 8; const int sollas = 9; const int solopp = 10; const int solned = 11; int brstateopp = 0; int brstatened = 0; int brstatelas = 0; int brstateend = 0; void setup() {          pinmode(brend, input);  pinmode(bropp, input);  pinmode(brned, input);  pinmode(brlas, input);  pinmode(brlys, input);  pinmode(ledac, output);  pinmode(leddc, output);  pinmode(ledlys, output);  pinmode(sol...

can't get millis delay to work

first, you've helped me , dozens of others understand "blink w/o delay". have employed number of times struggle each time. delay easy use, want action continue set period of time write delay(time in ms). easy.  "blink w/o delay" not easy implement (at least me). in first instance write servo using millis timing method have used in past. not work. have missed something. what want indicated 3 other servo processes. code follows: code: [select] #include <servo.h> #include <ping.h> ping ping = ping(8,74,19); servo myservo;  // create servo object control servo long blinktimer2; int pos = (0);    // variable store servo position int outputpin = 12; int outputpin2 = 13; int outputpin3 = 11; void setup() { serial.begin(9600);   myservo.attach(9);  // attaches servo on pin 9 servo object pinmode(outputpin, output); pinmode(outputpin2, output); pinmode(outputpin3, output); } void loop() {  ping.fire();  serial.print("microseconds: ...

A few questions on DAC's and Shiftout

Image
i'm using dac , arduino's shift out, i'm having few issues. here's dac: http://search.digikey.com/scripts/dksearch/dksus.dll?detail&name=ltc1446cn8%23pbf-nd as far can tell it's working because getting voltage out of it. however, can't seem delay work because voltage constant , not delaying. here script: code: [select] int clockpin = 8; int datapin = 9; int latchpin = 10; int data = 250; void setup ()      {            pinmode (clockpin, output);            pinmode (datapin, output);            pinmode (latchpin, output);      } void loop ()      {            digitalwrite (latchpin, low);            shiftout(datapin, clockpin, msbfirst, data);            digitalwrite (latchpin, high);            de...