Posts

Showing posts from September, 2011

Where am I wrong?Debounce related question[SOLVED]

hi all, i'm having problem that's driving me crazy! i take debounce code arduino examples sketch, , add couple of check more: code: [select] void loop() {  int reading = digitalread(buttonpin);  // if switch changed, due noise or pressing:  if (reading != lastbuttonstate) {    // reset debouncing timer    lastdebouncetime = millis();  }    if ((millis() - lastdebouncetime) > debouncedelay) {    // whatever reading at, it's been there longer    // debounce delay, take actual current state:    buttonstate = reading;     [glow]      if(buttonstate == high)    {      if(toggle == high)        toggle = low;      else        toggle = high;    }[/glow]  }    // set led using state of toggle:  [glow]digitalwrite(ledpin, toggle);       [/glow]                    // save reading.  next time through loop,  // it'll lastbuttonstate:  lastbuttonstate = reading; } the highlighted part mine, need behaviour: - button pressed ...

Bitwise but confused

hello all, first post! i'm new arduino world , don't have lot of c programing experience. i'm used working plc's , industrial automation stuff.   i've been trying write code can 4 inputs portb , take hex or decimal value tell program specific write lcd.  i've got of lcd stuff working , can pinmode , such being plc world use word (byte)   i can't find example anywhere on how use , other postings might close aren't , don't show proper setup or loop syntax. any appreciated thanx. don't know why don't want use pin abstraction can read whole port if want:- http://www.arduino.cc/playground/learning/portmanipulation Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Bitwise but confused arduino

Unable to load SWC fds.swc:Multiple points ???

hi, i downloaded project , integrated in flex builder ,when run mxml file getting error following errors : 1)unable load swc fds.swc:multiple points 2)1017:the definition of base class locale not found 3)could not resolve <mx:application> component implementation. what ????? plzzzzzzzzzz me...regarding this.. hi app_1, your swc might sdk 2.0.0 flex builder might 2.0.1. jeffrey More discussions in Flex (Read Only) adobe

No space left on - Raspberry Pi Forums

Image
hey have setup raspberry pi, booted , stalled few packages , telling me have ran out of space have 8 gb sd card yet pi thinks 1.8 gb. there way fix on pi ? sorry if in incorrect place. here's error when trying compile c source file. fatal error: error closing /tmp/ccyqc4gi.s: no space left on device compilation terminated. thanks code: select all sudo raspi-config 2nd option down. raspberrypi

Thread: no audio in jaunty

just title says, not have audio in ubuntu installation. fresh install on brand new hp pavillion dv5. headphone jacks work, that's it. here output of lspci code: 00:00.0 host bridge: intel corporation mobile 4 series chipset memory controller hub (rev 07) 00:01.0 pci bridge: intel corporation mobile 4 series chipset pci express graphics port (rev 07) 00:1a.0 usb controller: intel corporation 82801i (ich9 family) usb uhci controller #4 (rev 03) 00:1a.1 usb controller: intel corporation 82801i (ich9 family) usb uhci controller #5 (rev 03) 00:1a.7 usb controller: intel corporation 82801i (ich9 family) usb2 ehci controller #2 (rev 03) 00:1b.0 audio device: intel corporation 82801i (ich9 family) hd audio controller (rev 03) 00:1c.0 pci bridge: intel corporation 82801i (ich9 family) pci express port 1 (rev 03) 00:1c.1 pci bridge: intel corporation 82801i (ich9 family) pci express port 2 (rev 03) 00:1c.2 pci bridge: intel corporation 82801i (ich9 family) pci e...

music tracker code example

Image
hej, i interested in making self contained music tracker. music tracker in pro tracker / noise tracker amiga style composition tool. base on atmega/arduino, lcd display , simple interface. i interested in code example on tracker software. can me? also, great see other examples of people doing atmega based composition tools please post links if have them! best, jacob Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > music tracker code example arduino

mambo 4.5 (109) to Joomla including components and mods - Joomla! Forum - community, help and support

i have left site  running 4.5 109 because of components added it, , mods etc.... but think time has come attempt upgrade. 1. guess have follow upgrade chain of command speak , in steps right? can confirm if have upgrade components during steps well? these components , modules in stalled in 4.5 109 version: (i think of them)   databasename  (68) (2 rows)  mos_banner (1 rows)  mos_bannerclient (0 rows)  mos_bannerfinish (34 rows)  mos_categories (81 rows)  mos_components (1 rows)  mos_contact_details (176 rows)  mos_content (13 rows)  mos_content_frontpage (0 rows)  mos_content_rating (154 rows)  mos_core_acl_aro (11 rows)  mos_core_acl_aro_groups (1 rows)  mos_core_acl_aro_sections (154 rows)  mos_core_acl_groups_aro_map (0 rows)  mos_core_log_items (396 rows)  mos_core_log_searches (13 rows)  mos_docman (0 rows)  mos_docman_groups (13 rows)  mos_docman_history (0 rows)  mos_docm...

405 error AAsp.Net and Sql 2005 on Dreamweaver

i facing terrrible problem while making sql 2005 connectivity in our licensed copy of drw 80.2 (i updated 8.0 - 8.0.2 recently). adobe says it's error engineers fixing up, had given file called (scripts adobe) didn't fix problem of 405 error. i can connect smoothly via visual studio 2005 editor , retrive data smoothly via grid data why not in dreamweaver? what's root cause of error, why adobe doing late? adobe should give method eliminate prolem since have purchased bunlde of adobe sofwtares , if problem occures in other packages what's adobe doing?????? alas! today downloading drw cs3 (trail) fix problem? god knows , adobe. raghav chhetri sikkim india i using windows vista o/s ram 3.0 gb hdd: 180 gb processor: intel xeon machine: ibm intelli station z pro (server) More discussions in Develop server-side applications in Dreamweaver adobe

Trap The Duplicate Logging On FMS, LoggOff Old One And Accept New Instance.

hi all, i need on following topic of fms 2.0. on fms server want trap duplicate logging, logoff old 1 , accept new instance. the scenario this, if user logged in name “ wins ” on fms application office, after time came home , want logging again. i want disconnect or logoff instance of application logged in office , allow him logging home. actually want implement functionality yahoo messenger . yahoo messenger gives facility login system , logoff previous instance. so, tell me have achieve this. thanks onappstart intitialize object hold connected clients, maybe called userlist: application.onappstart = function(){ this.userlist = {}; } then when logs in, of course pass in username. put client in userlist username. application.onconnect = function(newclient, username){ this.acceptconnection(newclient); this.userlist[username] = newclient; } then can modify code boot old client if username in use: application.onconnect = function(newclient, username){ if(this.userl...

WebSite Index

hi, new web development, possible me in indexing website, add search engine don't know how it. appreciated. thanks, in dw: commands > more commands search exchange "search engine" -- walt "portucale" <webforumsuser@macromedia.com> wrote in message news:f2osg2$jfu$1@forums.macromedia.com... > hi, > > new web development, possible me in indexing > website, > add search engine don't know how it. > > appreciated. > > thanks, > More discussions in Dreamweaver support forum adobe

New kernel 3.6.7 and firmware availble for testing - Raspberry Pi Forums

i created alternate kernel , firmware pair (only if running armv6h) uses linux 3.6.7 (aka -next) install code: select all pacman -sy linux-raspberrypi-next linux-headers-raspberrypi-next raspberrypi-firmware-next sync before reboot revert older kernel , firmware code: select all pacman -sy linux-raspberrypi linux-headers-raspberrypi raspberrypi-firmware see http://www.raspberrypi.org/phpbb3/viewt ... 00#p216838 on how use -next firmware no reported problems this, out of lazyness it's (virtually) using config found in rasbian just switched on , works charm. feels it's bit snappier when sshing in well, might imagination though. raspberrypi

Thread: Transparency in VirtualBox 3.0 window.

is 1 else having problem transparent window in virtualbox 3.0. not sure how turn off or fix it? here screen shot of desktop. screenshot.jpg see how bad looks. hard see in because of background on desktop. there way turn transparency off? that happened me after upgrading 3.0 rebooted pc , no longer happened. not great solution worked me. Forum The Ubuntu Forum Community Ubuntu Specialised Support Virtualisation [ubuntu] Transparency in VirtualBox 3.0 window. Ubuntu

Arduino Audio Filter

hi everybody, well i've been trying build audio filter on arduino, takes in input mp3 song (thru 3.5mm jack on d arduino), filter out different frequency ranges bass (<400hz), vocals (400hz - 5khz) , treble (>5khz). the input audio signal after giving dc offset fed adc of arduino. at first, thought maybe go 3 filters, low pass, high pass , band pass. thought of using arduino process signal directly using fft or algorithm. the problem i'm not able program it. please me in getting fft identify , differentiate these frequencies. btw, posted similar earlier, sorry that. http://www.arduino.cc/cgi-bin/yabb2/yabb.pl?num=1278851609 i littl ehel on subject. ive coded aruino accept audio input , output using 1 of pwm pins @ high rate changing regester values. my next step manipulate data. want able filter input output iether bandwidth set digitally in code, or 1 single frequency. ive been reading fft, have yet find native arduino. ive been thinkin des...

matrices declaration!?

Image
hello! i new member in forum, , beginner in programing arduino ... wanted know how declare matrix , inverse , transpose... etc indeed, want make small program controlling level of liquid in tank needs idetification real-time parameters of mathematical model of controlled system. (i use methods of identifying there many matrix computation)..!! help me i'm lost!!!! :-/ i think lost    you're in world of integer-only 8-bit microcontrollers , you're trying real-time system identification. that's wrong world. want development platform power: 32-bit processing , lots of mhz floating point support built in (arm9 architecture example). if want start matrices, google "matrix c++ class". there lots of c++ implementations of matrices choose from. -- check out our new shield: http://www.ruggedcircuits.com/html/gadget_shield.html Arduino Forum > Forum 2005-2010 (read only) ...

ADNS 2050E

hi, i have problem accessing adns 2050e i have sourcecode arduino 255-255. do wrong? usb-uart interfering signals? if knows have done wrong in code please me... i have  a adns 5020e try read deltax , deltay from. 255-255 registers. do wrong. have included modified version of benoît rousseau's example. please if soneone knows why wont working please tell me... code compiles allright. have connected +5v , gnd sck , sdio arduino. #define clock_pin 2 //broche_horloge #define pin_data 3 //broche_donnees #define _bv(bit) (1 << (bit)) byte readregister (byte adress)      //lectureregistre { int = 7; byte returnread = 0; pinmode (pin_data, output); (; i>=0; i--) {    digitalwrite (clock_pin, low);    digitalwrite (pin_data, adress & (1 << i));    digitalwrite (clock_pin, high); } pinmode (pin_data, input); delaymicroseconds(150); (i=7; i>=0; i--) {   digitalwrite (clock_pin, ...

uart problem can't receive

i trying send decimal number can't receive anything. here code send on 1 arduino: code: [select] // sends "a"s through serial port every second // 'setup' function void setup() {  // start uart @ 9600 bits-per-second (baud)  serial.begin(9600); } // main loop void loop() {  // print through uart  serial.print(2);  // pause 1 second  delay(1000); } here receive other arduino: code: [select] int incomingbyte = 0;      // incoming serial data void setup() {      serial.begin(9600);      // opens serial port, sets data rate 9600 bps } void loop() {      // send data when receive data:      if (serial.available() > 0) {            // read incoming byte:            incomingbyte = serial.read();            // got:    ...

Thread: Network issue over wireless point to point

i have strange issue. have setup wireless point-to-point (ptp) 1/4 mile. it's working, tested mac in windows computers. problem 2 different computers running ubuntu 8.04 , ubuntu 8.10. computer not acquire ip lease dhcp. have tried setup fixed ip without success either. both of these machines work if on site connected directly lan. both worked on ptp when setup in warehouse (just yards away each end). question? what's going on? ideas appreciated. thinking in current setup takes longer tcp packets receive replay dropped. there way play timeout issues. hardware dependent or kernel dependent? thank you, -d i dont know if relevant , have seen issues in past mtu sizes have caused problem tunneling. there older bugs in hardy people using tunneling set mtu size in nm gui, , not reflected in actual mtu. im wondering if looking @ mtu size in use mac , comparing using ubuntu client, , alte...

Not enough power from hub? - Raspberry Pi Forums

i hope i'm posting in right section. so, have powered usb hub being supplied 2a charger, pi being supplied 2a, hub seems somehow run out of power or something, plugging keyboard , mouse hub work fine adding more stops working, me? pi model b rev 1.0. link hub have; https://www.modmypi.com/shop/new-link-4 ... adaptor%29 . could cheap power supply hub. i've seen plenty of them on years not put out power levels rated. raspberrypi

Servo clock

Image
hi, could please me code http://farm5.static.flickr.com/4026/4262776971_6c925135b5_o.jpg thanks. maybe, have attempted coding yet? i think speak people on forum when not write code happy issues may have in code. if not know start please @ servo examples , other examples relating problem. mowcius   [edit]i inclined not help. double posting bad enough, triple posting rude. google feed has enough things in already[/edit] Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Servo clock arduino

User sollen "Geschichten" posten - Joomla! Forum - community, help and support

hallo da ich eine musikseite erstellen will, suche ich eine komponente, wo user ihre eigenen konzertreviews etc posten können. gibt es da vielleicht was, sogar auf deutsch? hi, wäre nicht ein forum eine möglichkeit. im prinzip mache ich das auf http://www.coenwolters.de auch so. da kannst du dann auch vorher die berichte freigeben etc. ! eine andere möglichkeit wäre es wohl mit dem core hack (!) jacl-plus! zu arbeiten ( http://www.byostech.com ) und die rechet entsprechend zu granulieren, aber da habe ich keine erfahrungen auf einer live-site. heiko Board index Joomla! International Language Support International Zone German Forum Archiv Joomla! 1.0 Komponenten, Module, Mambots 1.0.x

An0 - 5 and Dig0 - 5 in the same program?

i don't have arduino, i'm contemplating using project use chip's i/o. i've looked on reference material , tutorials, , have looked around playground.  none of sample code i've seen has used low-numbered digital lines @ same time analog lines. how declare these in program? thanks. tj you use numbers both: 0 5.  the function call operates on either analog or digital pins, knows do.  e.g. if  you call digitalread(2), reads digital pin 2.  if  you call analogread(2) reads analog pin 2.  you don't need call pinmode() analog inputs; operates on digital pins (e.g. pinmode(2, output)) sets digital pin 2 output. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > An0 - 5 and Dig0 - 5 in the same program? arduino

Rainbow calculator

hi! i'd able calculate on fly rgb values @ point of color spectrum. using example potentiometer, 1 can sweep rainbow , generate rgb values. i've tried using sin function there way without using floats keep code small. can sin functin used without using floats? or can give me hint on how code simili sin function using linear integer values (like triangle waves instead of sine waves)? thank you. i suspect code can done dot products, if aren't in matrix math mood use lookup table first quarter cycle of sine function. serves both sine , cosine flopping different directions. here 1 256 entries scaled byte. don't sweat flat spot @ end, belongs there. code: [select]  0,   1,   3,   4,   6,   7,   9,  10,  12,  14,  15,  17,  18,  20,  21,  23, 25,  26,  28,  29,  31,  32,  34,  36,  37,  39,  40,  42,  43,  45,  46,  48, 49,  51,  53,  54,  56,  57,  59,  60,  62,  63,  65,  66,  68,  69,  71,  72, 74,  75,  77,  78,  80,  81,  83,  84,  86, ...

How to Hook-up LCD

Image
edit: have since got working using sed1520 config file , arduino glcd library . i thought have been common issue, searched site , didnt find anything; i'm sorry if i'm reposting this. anyway, went cheap route and bought this . i found pinout , i'm able correctly, think, hook up. my problem comes when want use it; quite don't know how.  i tried lcd library on whim , had no luck.  thanks help. the lcd library included arduino character lcds (hd44780 based); have graphical lcd. furthermore, doesn't use akin "standard" graphical lcd chipset, ks0108 (which lot of glcds use). we more if posted clear images of chipset on lcd (if visible), know looking for, etc; link gave kinda ambiguous on details chipset, saying "this item 122x32 graphic lcd screen based on nju6450 or similar driving chips." - words "similar driving chips" worries me; have base following on "nju6450"... let's see... you m...

How to format analog data for Stamp Plot Pro

i trying graph analog serial output arduino stamp plot pro. i have tired formating many ways , "framing error, data discarded" in stamp plot pro. anyone know correct data output be. here think should cant work code: [select] serial.print(temp); serial.println(","); quote i have tired formating many ways , "framing error, data discarded" in stamp plot pro. either baud rates not same or stampplot pro expects parity bit.  ensure baud rates same.  configure stampplot pro 8 data bits, 1 stop bit, no parity. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > How to format analog data for Stamp Plot Pro arduino

Arduino to Matlab - save data in vector / array

hey guys, does know how store serial data coming matlab in array? new matlab , getting dimension error whenever enter code: s = serial('com10'); fopen(s) for = 1 : 1000,   v(i) = fscanf(s); end fclose(s) delete(s) clear s thanks fscanf reads available data when call it, it's reading more 1 value @ time.  if type "doc fscanf" it'll show you can add arguments specify how many values read.   assuming you're printing ascii characters arduino, looks want use fscanf(s, %d, 1) if you're reading integers, or fscanf(s,%f,1) if you're reading floats. you v = horzcat(v, fscanf(s)), append data read fscanf() v.  you have make sure v has @ least 1 value before call horzcat, cant concatenate onto empty matrix.  and if fscanf returns data in columns instead of rows, might have use vertcat instead. Arduino Forum > Forum 2005-2010 (read only) ...

images folder location

Image
hi, i had dreaded root folder not in site message , thank solving 1 - found answer right here on forum , duh, how easy that!?! but, i'm getting message warning - images folder not inside site. and inside site - 5 other sites have. can't see i've done differently on one. there secret code?! it's not causing issues - site loads fine, it's kinda pain... , want right! thanks help! lots of info on these forums! -dana > but, i'm getting message warning - images folder not inside > site. copy contents of local root folder field, , default images folder field local site definition , paste here, please. -- murray --- icq 71997575 adobe community expert (if *must* email me, don't laugh when so!) ================== http://www.dreamweavermx-templates.com - template triage! http://www.projectseven.com/go - dw faqs, tutorials & resources http://www.dwfaq.com - dw faqs, tutorials & resources http://www.macromedia.com/support/search/ - ...

retrieving my facebook notifications?

hello! i want have led on arduino flash new notification on facebook. (new message, comment, request, ..., stuff makes little icon in lower right corner of facebook page red) i have found can accessed feed (using funny feed://blabla address). it access clicking notifications icon -> see -> subscribe notifications. can parse feed using processing/arduino? or there ready-made library facebook? need knowing whether or not have unread notifications. though nice able add new functions in future. i have found python interface facebook, not want, , have no clue on how use python anyway. thank help! i wiash can too, plz tell how :| Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > retrieving my facebook notifications? arduino

Arduino + MIDI + FLStudio

hey guys, absolute newbie here. use arduino schoolproject, , want make myself midi controller, basically. has communicate fruityloops. that's working (i use s2midi, since prototype, definitive machine have better midi interface). works, got analog inputs working too. but, want use digital inputs well, of them pushbuttons, others switches, have same basic action: on/off   and can't work. i've tried anything, means i'm looking in wrong places. // arduino multi midi cc script //arrays analog int inputsanalog[] = {0, 1, 2, 3, 4, 5}; int channelsanalog[] = {9, 10, 11, 12, 13, 14}; int lastanalogs[]= {0, 0, 0, 0, 0, 0}; //arrays digital int inputsdigital[] = {3, 4, 5, 6, 7, 8}; int channelsdigital[] = {15, 16, 17, 18, 19, 20}; int lastdigital[]= {low, low, low, low, low, low}; //analog smoothing int analogsmooth = 2;   void setup() {  serial.begin(9600); } void loop() {  for (int i=0; i...

Mon projet Station Meteo WH1090 + Web - Raspberry Pi Forums

bonjour à tous, j'ai un projet que je souhaite concrétiser très prochainement, et dans lequel le raspberry pi que je compte acheter aujourd'hui aura une place centrale : je souhaite relier ma station météo, une fine offset >> wh1090 << (j'ai aperçu ici dans le forum au moins 2 personnes disposant de la wh1080 >> ici << et >> là << ) à un rpi qui via usb qui me permettra d'héberger un site web m'affichant toutes les informations de ma station, via les outils >> pywws << , ou >> wfrog << , ou , >> wview weather << . je vais certainement acheter le rpi aujourd'hui chez newit qui semble l'avoir en stock. une question qui me vient à l'idée : - je ne souhaite pas laisser clavier ni souris en permanence branchés sur mon rpi, pour des questions d'encombrement. puis je les brancher / débrancher à chaud sans problème ? je n'aurai besoin ponctuellement du clavier et de la sour...

banner module - Joomla! Forum - community, help and support

i accidentally uninstalled banner module joomla. need back. read somewhere supposed reinstall joomla - necessary, , how do without losing data? there way? no don't think need find banner module in joomla data downloaded originally,and send via ftp program youre site,or through web server,web ftp,however upload data tto site!   maybe on second thought wrong. if deleted admin page,it true must reinstall,but still believe thre way reinstall without losing info.for might have search through forum answer. Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

Wired backend after I moved my site from one server to an other - Joomla! Forum - community, help and support

i've got 3 entries of modules - both under site modules , administrator modules. happened after moved joomla installation 1 server other. i've tried upload joomla 1.04 again didn't change anything, guess must database issue. got hint? btw cannot delete modules. nothing happenes when try. kind regards daniel you have go #__modules phpmysqladmin , delete double entries in title column. watch out ones published, , ones not. can tell id ones got published last. Board index Joomla! Older Version Support Joomla! 1.0 Installation - 1.0.x

Loading as Blank

i have updated client's website new test pages. 6 pages have added doing strange things. load fine , other times load blank until click refresh several times , images appear. has seen problem before. i'm thinking might have having moved local files, pages still sit within same folder , have refreshed information in 'mange sites'. pages follows: http://www.secondstreet.co.uk/stagetwooptions.html http://www.secondstreet.co.uk/stagetwoarchitecture.html http://www.secondstreet.co.uk/stagetwoprojects.html http://www.secondstreet.co.uk/stagetwodwgs.html http://www.secondstreet.co.uk/stagetwoinfo.html http://www.secondstreet.co.uk/stagetwophotos.html thanks help. rebecca More discussions in Dreamweaver support forum adobe

Thread: A few problems after I installed KDE.

i want original bootsplash , not kubuntu one. how 1 fix it? second problem when change sessions kde, gome runs background. can see gnome desktop when use compizfusion , ram idles @ 50% now. don't have problem when use gnome self. happening becuse use gdm log in? bump. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Desktop Environments [ubuntu] A few problems after I installed KDE. Ubuntu

Unable to compile the Firmata examples

hi, have arduino duemilanove , arduino 0018 platform running on windows 7.  i'm trying firmata examples run, error trying compile simplest sketch using firmata library.  it appear kind of classpath issue of sorts, arduino environment isn't able locate firmata code, think in event i'd see different error message.  any thoughts on how troubleshoot this? thanks in advance! the code below yields error: in function 'void setup()': error: 'class firmataclass' has no member named 'setfirmwareversion' in function 'void loop()': code: [select] #include <firmata.h> byte analogpin; void analogwritecallback(byte pin, int value) {  pinmode(pin,output);  analogwrite(pin, value); } void setup() {  firmata.setfirmwareversion(0, 1);  firmata.begin(); } void loop() {  while(firmata.available()) {    firmata.processinput();  }  firmata.sendanalog(4, analogread(4));  firmata.sendanalog(5, analogread(5)); } you...

TCP or UDP?

i'm working on remote console communicates through arduino ethernet shield through ethernet computer controls autonomous underwater vehicle. the software on computer mentioned. i'll using duemilanove communicate computer. send commands , receive updated status reports. right i'm doing heavy research on protocol should using communication. tcp way go or should udp? where find more information on subject/idea? projects out there similar have in mind at? thanks! i don't know shields capabilities, depends on doing. if doing time critical example: if don't data on time span not needed anymore ex. 500 ms. if transferring data going collect on  file , upload, use tcp. for can see on case, use udp. use udp real time data acquisition self nmea , dpt strings example, because use software on topside use data real time. Arduino Forum > Forum 2005-2010 (read only) ...

Wake Arduino up after Sleep

Image
hi, i'm doing project wireless weather station. i've written program arduino can send temperature data , goes sleep 5 seconds. after uploading program arduino send data once , can't wake again. my code below: #include <avr/sleep.h> float tempanalogdata; float tempdigitaldata; int temppin = 0; void setup() { serial.begin(9600); } void sleepnow() {  set_sleep_mode(sleep_mode_pwr_save);  sleep_enable();    sleep_mode();     } void loop() { tempanalogdata = analogread(temppin);           //read value sensor tempdigitaldata = (5.0 * tempanalogdata * 100.0)/1024.0;   //convert analog data temperature serial.print(tempdigitaldata);             //send data computer serial.println(" c");   sleepnow(); delay (5000); } could please me on how modify code waking function? any appreciated. thanks! you either need source of external interrupts or enable watchdog. search forum - there thread not long ago. here:...

arduino digital protractor

Image
hi guys i wish start own project scratch , chose digital protractor (don't ask why thought lets have summit different   ) anyway ask opinion on how go doing soft ware i have choose use pot input - depending on analogue input want arduino recognise relevant angle this read pot if pot value = 1 print.serial 1 degree if pot value = 5 serial.print 2 degree and on , on else display error or something sound ok far??? now getting lost anothe feature want add (just learning purpose really) being able edit angle arduino displays 4 buttons (edit, increase, decrease, save) i not have clue how go , need help thank   do know how wire , use buttons in other applications, (ie asking in general) or asking directly project? Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > ar...

Arrays - help!

hello, trying create digital guitar tuner using arduino atmel168.  my idea determining frequency of incoming guitar signal use analogread command sample incoming signal @ 5khz (every 200us) , store number of values in array (about 100 samples should do).  if can pull max values array , count how occur think determine input fundamental frequency.   i have hardware setup condition guitar signal readable levels (between 0 , 5v, input signal 2.5v biased) , filtered cut out above 600hz.  guitars harmonic frequency generators pretty tough filter each individual note fundamental, input signals max periodically @ fundamental frequency.  i thought using set limit trigger max, amplitude reduce string rings out might not trigger properly, , max values declining. so question how store 100 input values array @ 200us(or faster) per sample, , determine how many samples occur between each max value? check out code here: http://www.tonychai.com/guitar.html ...

$acl->acl_check ??? - Joomla! Forum - community, help and support

Image
$acl->acl_check i have troubles in understanding function. can me. need documentation or explanation. acl access control list , joomla access managment. people worked it, agree, crap , should replaced. @ moment devs working on solution. thread deeper matter: http://forum.joomla.org/index.php/topic,3391.0.html Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Joomla! 1.0 Coding

Démarrer automatiquement sur un programme - Raspberry Pi Forums

Image
bonjour tous et toutes j'ai réussi installer retropie. par contre, après le démarrage du raspberry je tape mon login et mot de passe, et la commande "emulationstation" comment je pourrai faire pour que l’émulateur ce lance automatiquement ? salut, tu lances retropie_setup.sh, et que tu vas dans le 3ème choix (setup), et la, le 4ème choix est "start emulation station on boot". je n'ai pas testé, mais je suis presque sur que ça devrait faire ce que tu veux raspberrypi

Can Arduino produce 4 separate Sine Waves simult..

hi everyone, i'm getting started hacking arduino, , have several project ideas.  one i'd explore requires outputting 4 separate sine waves, @ different frequencies, simultaneously.  i understand i'd need output square waves, , smooth them out external filter, i'd control on shaping each of waves. primarily, though, i'm hoping chip has enough horsepower perform task.  if not, i'm sure accomplish similar using 4 separate uc's, 1 each output, i'd love make clean , require 1 processing unit. also, have experience using lasers photovaristors?  i'd modify sine waves characteristics subtly manipulating amount of laser light input receives, not sure if standard photo components work fine laser light. thanks! durin hi diggum , this depends on maximum frequencies need. eberhard Arduino Forum > Forum 2005-2010 (read only) > Software ...

compression BUG in FW CS3?

hi, i try fw cs3 , think there bug in dialog "image preview". f. a. open grafik (sample.png) 126kb size, "save as" smaple.jpg in preview dialog. target size 6kb, after saving via rigth mouse properties of grafik see realy 18kb size :( when saved grafik tab in fw shows "sample.jpg". when same way twice (save as), size of picture can´t reduce once! even when set quality down 1%, size of grafik still approx 14kb! what problem here? fw mx have no such problems grafik sizes :( is bug? whe open sample.png in grafik tool irfanview , save there .jpg. small file 6kb quality. it seems size different between "image preview" , result, it´s 100% biger file size :( or try open new document 120x120px, transparent background, save .gif index transparent, target size show 295byte, when open properties of saved grafik, see size 14kb! why?? has hint? thanks best regards switch switch88 wrote: > hi, > > try fw cs3 , think there bug in dialog ...

People are learning from J! - Joomla! Forum - community, help and support

just random link in meatspace people learning what's happened here: http://zcologia.com/news/104 quote of note: the wrong way launch mapserver foundation begin in secret, , orchestrate incorporation competitive advantage of few select entities. mambo foundation fiasco provides great recent example of how screw foundation in way. future mapserver foundation, no matter how intentioned, has begin in open or risk fubar state. Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Reaction to the 'Letter to the community'

Thread: Windows LIve Messenger under Wine

Image
hi think there slight possibility latest wlm might work wine 1.1.24 , need figuring out : fixme:actctx ****_depend_manifests not find dependent assembly l"microsoft.vc80.crt" (8.0.50727.762) err:module:attach_process_dlls "msvcr80.dll" failed initialize, aborting err:module:ldrinitializethunk main exe initialization l"z:\\home\\manojhemnani\\.wine\\drive_c\\progr files\\windows live\\messenger\\msnmsgr.exe" failed, status c0000142 did : installed wine , replaced program files folder , windows folder ones windows 7201 installation , when loaded msnmsgr.exe using wine got : microsoft visual c++ runtime library runtime error! r6034 application has made attempt load c runtime library incorrectly. please contact application's support team more information. please can me out wish work windows live messenger on ubuntu! you may want use ams...

Pi class/school/workplace cluster - Raspberry Pi Forums

it seems posts pro microsoft standpoint pi not fit role of pc dummies. not further end, pick best ways forward work-group-ing, propose slight file system change. 1) provide home directory local machine done. 2) provide network nfs share mounted within home directory, based on serial number, mac address or ip. within each sub-folder make public folder on machine appear in file share. 3) provide file server drop folder each machine , give rw privilege. mount home/pi/<from> folder being ip. provides slight push file feature , complements public read feature. 4) potentially cron demon , script file monitors changes, , pushes changes other pi using ssh/sftp , known password. seems intranet working of pi disappoints some, feel passing email not being possible far outweighs ability done. ironic true account of average company papercrats. raspberrypi

website doesn show outside - Raspberry Pi Forums

Image
i have problem. in home network can see website computer on same network, outside of network not show up. did: have followed these instructions: http://www.deviousweb.com/index.php/blogs/item/6 did 4 parts plus installed joomla: http://www.deviousweb.com/index.php/blo ... ing-joomla created cool site joomla. gave raspberry pi static ip: http://frustrateditengineer.wordpress.c ... p-address/ next gave raspberry pi dynamic dns. can access raspberry adress. , ping adress. so, think succeeded that. http://www.element14.com/community/grou ... -the-world provider dynamicdns.com port forvaded router (zyxel prestige 600 series) in image. still, website doesn show outside. migth problem be? sorry bad english. (your english great) website address should work? didn't pick through dynamic dns info yet, part seems have identified , done correct things. letting know either website ip address or website name, www.something.com , me @ least troubleshoot problem little...

Difference between Mambo 4.5.2.3 and Joomla 1.0.4 - Joomla! Forum - community, help and support

i have mambo 4.5.2.3 installed , working against following platform mysql version: 3.23.37 php version: 4.1.2 apache                      1.3.20 when trying upgrade joomla 1.0.4, continuously got site offline message.  i tried fresh install of joomla 1.0.4 , during installation got wrong database username/password.  changed on use database_mysqli.php , instead of getting wrong usesrname/password message sticks install2.php script.  have seen posts suggests need isp enable "extension=php_mysqli.dll" (see http://forum.joomla.org/index.php/topic,10490.0.html ). the problem have may struggle my isp change setting , want know if fix problem, , want know if anything  has changed mambo 4.5.2.3 1.0.4 make change php.ini necessary. also not sure if on low version of php in systems reqts says requires @ least 4.2 posts seem suggest 4.1.x work (and know 4.1.x works mambo) any have me sort problem out can upgrade joomla ...

Joyce - Raspberry Pi Forums

Image
good old (h)amstrad & go long way. it's been love hate relationship & it's loooooooong story while waiting ready bed last night thought i'd give joyce http://www.seasip.demon.co.uk/unix/joyce/ go on raspi. works & @ full speed or better. didn't have change in source, builds , runs. joyce-1.jpg (146.22 kib) viewed 754 times joyve-2.jpg (144.66 kib) viewed 754 times joyce-3.jpg (103.41 kib) viewed 754 times hahah! started programming on cp/m & z80 assembler. screens bring memories.... raspberrypi

Links i TinyMCE - Joomla! Forum - community, help and support

et par spørgsmål: findes der en måde (udover cut/paste) hvor ved man kan lave interne links editoren (tinymce); jeg tænker på links til allerede eksisterende menupunkter findes der en metode til @ lave menupunkter som ikke er klikbare, men som indeholder underpunkter som er klikbare? og, endelig. er der mulighed til @ linke til filer, fx pdf filer på en smart måde? /jannic det bedste råd jeg kan give dig er @ installere mosce editoren. hvis du vælger noget tekst og trykker på link ikonet (det ikon der ligener en kæde), så kommer der et vindue frem, hvor du kan vælge @ indsætte eksterne links, men også vælge noget af dit indhold på siden, og hvis du vælger dette bliver den rigtige url automatisk sat ind. skie' smart. Board index Joomla! International Language Support International Zone Danish Forum Ældre versioner (disse vedligeholdes ikke længere fra officiel side) Joomla 1.0 (Udgå...

Creating Libraries HELP!!!

Image
hi i'm new whole programming thing little on library i'm trying create. i have made sketch displaying time in 12 hour format. (not difficult know ha ha). create library clock function operates in background , can display time calling lcd.print(hours(or minutes or seconds)) in main sketch of whatever program. here cpp file: /* clock.cpp - library simple clock display 12 hour format call on integers hours minutes & seconds use */ #include <wprogram.h> #include <clock.h> clock::clock(unsigned int hours) { _hours=hours; } clock::clock(unsigned int minutes) { _minutes=minutes; } clock::clock(unsigned int seconds) _seconds=seconds; } void clock::clockfunction() { _seconds=++_seconds; if(_seconds==60)      { _seconds=0;} if(_seconds==0)      {_minutes=++_minutes;} if(_minutes==60)      {_minutes=0;       _hours=++_hours;} if(_hours==13)   ...