Posts

Showing posts from February, 2013

Continuous Looping thru data

here need do. use code 'abc%' in query select codes begin abc.... i display/report first code, abc-1, etc. after 3-5 minute pause, need display next code, abc-2, 3-5 minute pause, next code, abc-3, etc. after of codes have been exhausted, need start process on again, in continuous infinite loop, until terminate process. how can done ? instead of using clasue, know can select each code individually, use javascript pause , go next cfm process second code selected, pause , go next cfm process , select third code, etc. work know not optimum solution, since not know how many codes there be, 1 only, 100, , have maintain 100 cfm applications each individual code selection. what best, easiest, , efficient way ? help the first time run page, perform query, put results in list, set index variable 1 , display first list element. have meta tag in head section of page performs refresh every 3-5 minutes, reloading same page. increment index 1 , display next list element. see concept cod

Paramétrage liaison série 1 bit de start et 1 bit de stop

Image
bonjour à tous, pour l'évolution d'un projet, je dois me connecter via la liaison série avec un appareil communicant à 9600 bauds 1 bit de start; 8 bits de com et 1 bit de stop !!! jusqu'à présent, je me connectais à des appareils en 4800 ,8 bits de com et 2 bits de stop avec le code suivant : serial2.begin(4800, serial_8n2); mais maintenant ? merci d'avance pour vos réponses. pierre quote from: petrusfr on jun 15, 2014, 09:34 pm bonjour à tous, pour l'évolution d'un projet, je dois me connecter via la liaison série avec un appareil communicant à 9600 bauds 1 bit de start; 8 bits de com et 1 bit de stop !!! jusqu'à présent, je me connectais à des appareils en 4800 ,8 bits de com et 2 bits de stop avec le code suivant : serial2.begin(4800, serial_8n2); mais maintenant ? merci d'avance pour vos réponses. pierre bonsoir maintenant c'est encore plus simple  serial2.begin(9600) ; les options 8n1 etant par defaut

Conversion from Mambo 4.5.2 to Joomla 1.0.11 - Joomla! Forum - community, help and support

i have couple of questions regarding conversion of mambo 4.5.2 1.0.11 going do. 1) have downloaded both "joomla_1.0.11-stable-full_package.tar.gz" , "joomla_1.0.11-stable-full_package.zip". question whether better to:   a)  unzip files locally on windowsxp machine , ftp them new location @ http://www.mywebsite.com/joomla , or   b)  transfer "joomla_1.0.11-stable-full_package.tar.gz" http://www.mywebsite.com/joomla , use cpanel file manager extract command. i think have diffierent impact on permissions not (unfortunately) knowledgable how permissions work in *nix systems. 2) ok convert 4.5.2 1.0.11 using instructions @ http://help.joomla.org/content/view/818/132/ thanks in advance,  lloyd the transfer method depends on you. either adequate. permisisons default through ftp 755 directories , 644 files. through cpanel untar technique should not shange , in either case ownership own user account. i tend prefer untar on server (bearing in mind have full acc

Template alignment - IE vs Firefox - Joomla! Forum - community, help and support

hi, i pretty new , hoping can small problem. i using default template (solarflare) , made few small changes (namely hide top menu , powered banner - after following tutorial online). anyway, have started add modules - , 1 of them google adsense.  however, when add banner size 468x60 messes complete layout - in ie - firefox ok. as go through template_css.css file see lot of "important!" tags duplicate height of elements.  have tried playing of these heights, widths, spacers etc cant work ok.  dont worry - set them original after messing didnt work!!!! what more strange homepage ok - on both browsers.  other pages layout messed up.  however, surely same index.php why happening? 2 links - homepage - http://www.geroreilly.com detailed page - http://www.geroreilly.com/news/latest/n ... a-hin.html would appreciate if me out. ok- sure enough - minute posted here figured out else. actually, layout not being affected google ad in banner section - google ad within content section. i

how to analyse images from results of pi camera? - Raspberry Pi Forums

hi, thinking of trying analyse each frame/image take program see , high amounts of infa red light using pi noir can analyse anomaly , take closer @ or crop image afterwards , supposed after every frame in timelapse want do. know how it? look yuv format. want use luma component, represents brightness of pixel. hope helps. raspberrypi

PID, peltier, python logging

hi there, i'm trying real-time log 2 peltier-temperatures in python. works ok except adc converting errors (see attached picture) every , then. i'm pretty sure it's not python code, here arduino code: code: [select] #include <math.h> #include <pid_v1.h> int peltier_cold = 2; int peltier_hot = 3; float b_value = 3947.7; float res_25 = 83000; float temp_25 = 298.15; float vcc = 5.04; double setpoint_cold, input_cold, output_cold; double setpoint_hot, input_hot, output_hot; //specify links , initial tuning parameters double conskp_cold=14; double conski_cold=5; double conskd_cold=0.8; pid mypid_cold(&input_cold, &output_cold, &setpoint_cold, conskp_cold, conski_cold, conskd_cold, direct); double conskp_hot=1; double conski_hot=3; double conskd_hot=0.25; pid mypid_hot(&input_hot, &output_hot, &setpoint_hot, conskp_hot, conski_hot, conskd_hot, direct); void setup() {  // initialize serial communication @ 9600 bits per second:  seri

Setting Up Windows 10 Image - Raspberry Pi Forums

Image
hello everybody, tried put windows 10 image on sd card. following windows manual http://ms-iot.github.io/content/en-us/w ... tuprpi.htm when trying dism.exe command error option apply-image not available. can please me. thank much. fabianbueren wrote: hello everybody, tried put windows 10 image on sd card. following windows manual http://ms-iot.github.io/content/en-us/w ... tuprpi.htm when trying dism.exe command error option apply-image not available. can please me. thank much. presume have windows 10 desktop preview version 10130 installed on x86 machine ? need class 10 sd card. if not using windows 10 7 or 8 there several posts covering dism.exe in w10 iot forum. raspberrypi

Hangs on boot - Raspberry Pi Forums

Image
i tried new raspberry pi 2 + hdmipi windows 10 iot. after initial first boot, windows 10 iot hangs forever @ screen give ip address. allows me change time zones , internet(lower right) , restart or turn off (upper right) absolutely nothing else. i've re-flashed sd card on 32g class 10 , exact same thing happened. not go farther pi ii preview- ip page. going little insane... i'm missing stupidly simple? this how supposed work. sincerly hope not misled "tech journalists" version of windows may have desktop or run regular windows 7-style apps (or games , or office) . developing windows 10 "iot" requires beta version of microsoft visual studio 2015. communicating pi requires computer browser or powershell ( remote powershell). https://ms-iot.github.io/content/en-us/ ... tuprpi.htm https://ms-iot.github.io/content/en-us/ ... blinky.htm ghans raspberrypi

Heure textuelle [noobs]

bonsoir, est ce que quelqu' un pourrait me fournir les éléments pour faire une horloge textuelle mais en fr. aprèas avoir éplucher google , je n'ai pas trouvé de tuto en fr. merci bonjour, fdunews en avait fait une il y quelques temps : http://forum.arduino.cc/index.php?topic=106617.0 plein d'infos utiles dans le fichier joint à son message. Arduino Forum > International > Français (Moderators: jfs, Snootlab) > Heure textuelle [noobs] arduino

Environmental controller help plz

i'm wanting start project control environment in workshop/greenhouse. variables control in order of importance lights on timer temperature via fan speed  control temperature temperature #2 if needed control heater in winter if possible humidity-relay turn off/on dehumidifier timer turning on water pumps every 2-3 days set period of time. after researching these needs, seems arduino can these things, i'm not sure version buy , start out with.  assume should start 1-2 of these first instead of trying whole project i'm sure there issues stumble through , troubleshooting should easier less variables. also, if have approximate cost figures how things break down too.  not sure how cost effective in end.  trying save myself time , clean wiring etc..., if can't afford it, it's moot point. thx pick 1 item. say temperature.  select desired temperature sensor, 1 , program make sure can work. once have reading, attempt turn on heater when cold, or

Copiare configurazione da un Raspberry ad un altro - Raspberry Pi Forums

buongiorno, innanzitutto essendo un nuovo utente, vorrei mandare un saluto tutti e da nuovissimo utente raspberry, mi auguro di poter cominciare una buona e fruttuosa collaborazione su questo forum. vorrei sottoporvi il mio quesito da conoscitore superficiale (per ora) del prodotto. ho configurato in maniera piuttosto approfondita un ambiente openelec su un raspberry pi 2 acquistato il mese scorso e ne sono pienamente soddisfatto. ora avendo acquistato un nuovo raspberry pi 2 identico al primo, avrei voluto trasferire la stessa configurazione all'altro, ma spostando (come prima prova basilare) la micro sd dal primo rasp al secondo, il raspberry non parte nemmeno nel video. vorrei chiedervi: 1. e' normale o c'è qualcosa che non va? 2. se è normale, perchè (immagino) l'installazione si leghi all'hw specifico in qualche modo, qual'è la procedura per copiare o esportare la configurazione da un raspberry ad un'altro esattamente identico nell' hw?

Help with ADXL345.

hey all, have couple ebay adxl345 3 axis accelerometers, , need getting them work. followed quick start: https://www.sparkfun.com/tutorials/240 however getting 0,0,0 output, nothing else. quote from: xoiio on may 12, 2014, 01:35 am hey all, have couple ebay adxl345 3 axis accelerometers, , need getting them work. followed quick start: https://www.sparkfun.com/tutorials/240 however getting 0,0,0 output, nothing else. i used adafruit lib chinese unit results: http://www.adafruit.com/blog/2013/01/25/new-product-adxl345-triple-axis-accelerometer-2g4g8g16g-w-i2cspi/ Arduino Forum > Using Arduino > Project Guidance > Help with ADXL345. arduino

How can I add images to the content title. - Joomla! Forum - community, help and support

basically, want add thumbnails in content titles.  when displaying content items in blog want show thumbs , maybe little intro text.  have tried adding small images in intro text.  looks fine while in blog list, when on actual content page looks funny small picture on top , original below it.  need thumb linkable.  there plugins this?  have searched hours solution.  can me?  have tried mosimage in title , have tried image tags in title.  no luck still. thanks, brandon i think possible add tags in titles of content items. it work, have tried it. but if string long might bit distoterted when editing again in administrator. so, suggest keep short , no php. Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

XML and special characters

i'm using xmlformat command find , eliminate special characters in xml output. (see below.) <label><![cdata[#xmlformat(coursename)#]]></label> unfortunately doesn't seem catching hyphen , system i'm importing xml file fails when encounters hyphen between words. there way can account , eliminate hyphens too? thank much. <label><![cdata[#xmlformat(replace(coursename, "-", " ", "all"))#]]></label> hope helps, problem may else! cheers More discussions in Getting Started adobe

FLA file parsing:)

i draw small movie in flash mx. small not simple (i use many difficult fills , many vectorial objects). when try open scene receive message:"there not enough memory open scene. document not damaged , may safle saved. to increase available memory, close open documents or quit , use info command in finder allocate more memory flash" <just in case: have 2gb ddr memory on pc> so cann't open scene... need contain of 1 key frame - first frame:) know how can without opening scene in flash? More discussions in Adobe Animate CC - General adobe

Pi2 gets static IP but also DHCP IP is assigned - Raspberry Pi Forums

i have set-up pi2 through noobs , setup static ip. device gets assigned static ip receives secondary dhcp address!! can access device both!! how can stop rebinding old dhcp ip? towards end of booting gives: dhcpcd[2052]: eth0: rebinding lease of 10.1.1.52 ip address 10.1.1.11 10.1.1.52 /etc/network/interfaces content : # loopback interface auto lo iface lo inet loopback auto eth0 # allow-hotplug eth0 # iface eth0 inet manual iface eth0 inet static # static ip address 10.1.1.11 # gateway ip gateway 10.1.1.1 netmask 255.255.255.0 # network address "family" network 10.1.1.0 broadcast 10.1.1.255 appreciate funny thing!!! can post results from ifconfig -a ip show addr ip route try deleting find in /var/lib/dhcpd [i think dhcp stuff goes there.] raspberrypi

dhcpcd help - Raspberry Pi Forums

i upgraded rasbian. i'm using noobs. want old wifi setup program back. can help? love/need new rasbian stuff want use previous wifi setup because dhcpcd unresponsive. wifi works can't altered , can't see list of networks left clicking, nothing can tell. great. metalj wrote: i upgraded rasbian. i'm using noobs. want old wifi setup program . . . great. if on-site, supporting , workstation, walk , power down rpi (with permission of course). pop out little micro sd card mounted in it, , hand new 1 (which has not been bonked). pop little card rpi , boot it; walk away, leaving free bonk away until other day... hint: "way" easier reload rpi try figure out did bonk ! ps. ... data may wish keep before reload card fresh image/ raspberrypi

Unable to start service within script file initiated by cron - Raspberry Pi Forums

i've noticed deluged has tendency crash interested in monitoring service , restarting if necessary via cron, can't work. here's cron job: code: select all * * * * * /home/pi/scripts/deluged-watcher.sh i've verified cron job firing , logic in script works intended (ie. if modify script write string file instead of line below see occur fine), critical line never works. here line initially: code: select all sudo service deluge-daemon restart & realized sudo isn't allowed in script, service command requires root permissions. tried removing sudo line above , instead ran cron job root adding way: code: select all sudo crontab -e -u root didn't work. found out cron not knowing paths, , tried modifications line of script such as: code: select all /usr/sbin/service deluge-daemon restart & and code: select all /etc/init.d/deluge-daemon restart & neither worked. tried adding "sudo" cron job, though it's supposed running root

2D ARRAY WITH A CLASS

i beginner on uno , programming on 1.5.6. have question how can manipulate 2d array without making 2d array(in interest of space). have tried using class, example below, upside leaves me lot more space, , code runs faster. code: [select] class enter{   private:   int right;   int left;   public:   enter(){        }   enter(int y,int x){     right=y;     left=x;   }   int getright(){     return right;   }   int getleft(){    return left;   }   boolean check(int y,int x){     if(right==y&&left==x){      return true;     }     else{      return false;     }   } }; void setup() { serial.begin(9600);  // put setup code here, run once: } void loop() {        for (int p = 0; p < 10; p++) {     for (int = 0; < 15; i++) {       //  client.print(array[p][i]);       //  client.print("|");      serial.print("0");      serial.print("|");     }     //client.println("<br />");     serial.println();   }   serial.println("break&

coldfusion root and web server root

i looking @ line: "be careful when setting root coldfusion mapping, coldfusion root , web server root not same location." plain english definitions of coldfusion root , web server root? tia hydrowizard wrote: > looking @ line: "be careful when setting root coldfusion > mapping, coldfusion root , web server root not same > location." plain english definitions of coldfusion root , web > server root? tia > web server root defined in web server , web server start looking files requested http requests. c:/inetpub/wwwroot or similar. the coldfusion root root defined in coldfusion , coldfusion coldfusion files (cfm, cfc, etc) first before looking them in web server root. c:\jrun4\servers\cfusion\cfusion-ear\cfusion-war. you can drive batty looking executing template not in web root because being found on cf root first. More discussions in Getting Started adobe

Global configuration link kicks me out - Joomla! Forum - community, help and support

hello, i'm running version 1.0.11.  fresh install, no new content.  have uploaded jce , joomlaboard 2 additions. i unable access global configuration screen.  no matter link use (menu or control panel) kicked out of end , on host's generic "you did stupid" page. any ideas, or call re-install. thanks. ps checked file permissions config.php, no change @ 777 or 755. revtcb wrote: hello, i'm running version 1.0.11.  fresh install, no new content.  have uploaded jce , joomlaboard 2 additions. i unable access global configuration screen.  no matter link use (menu or control panel) kicked out of end , on host's generic "you did stupid" page. any ideas, or call re-install. thanks. ps checked file permissions config.php, no change @ 777 or 755. i re-install looks have corrupted files regards dave Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

"Cutting the Cable"/Installing Kodi - Raspberry Pi Forums

Image
i purchase magical raspberry pi 2 b, 8gb noobs loaded sd card. got whole works, correct 5v power source, cover case , wireless riii keyboard , wireless wi-pi, etc......i have formatted sd card, unlocked noobs zip, placed rasperian on desktop. took me hours, literally........ guy want, asking?!?! i'm not computer literate, little guidance on how set raspberry pi 2 b in order "cut cable", , start streaming movies, real time sporting events, etc. what's next step "cutting cable", installing kodi, openelec - installing????? how? what's proper steps accomplish task. link guide me step, step, or installation dummies???? keep hearing things people using, kodi?!, don't know how put together. so.......... me obi wan kenobi, hope........ thx. johnnyblk wrote: i purchase magical raspberry pi 2 b, 8gb noobs loaded sd card. got whole works, correct 5v power source, cover case , wireless riii keyboard , wireless wi-pi, etc......i have formatted sd card,

Thread: Graphical grub editor ubuntu 9,04

just installed ubuntu 9.04 duel boots windows , newbie! came across grapgical grub editor qgrubeditor dowmloadble package qgrubeditor_2.5.0-1_i386.deb , following commandline given install qgrub sudo dpkg -i qgrubeditor_2.5.0-1_i386.deb acceptable command? ubuntu 9.04 not execute it. package on desktop. how should installed? there more recent version or alternative qgrub? have seen menu.lst used editing grub loader. need change grub boot order. have 3 windows partitions , ubuntu. need make 1 windows partition default boot item in grub. graphical presentation of qgrub looks , reasonably fool proof, providing works. can please help, thanks gordo97 there updated version of program; however, kde app. if have no other kde apps installed, installing pull in quite few dependencies. code: sudo apt-get update && sudo apt-get install kgrubeditor it. if still wish install older gnome

TextArea content

hi there! how make content of textarea not selectable ? many in advance advices. best regards, gerry before accidently answer wrong question .. mean: a 'textarea' .. the actionscript component wraps native actionscript textfield object b 'textfield' .. the actionscript native object -- dynamic or input text placed during authoring or attached @ runtime via movieclip.createtextfield() More discussions in ActionScript 1 and 2 adobe

Arduino Due TWI/I2C channel 1

i'm having difficulties getting second i 2 c channel working correctly. running example code "i2c digital potentiometer" got expected result. (twi_0.bmp logic analyzer screen cap) i modified it  channel 1 changing "wire" "wire1" no success. (twi_1.bmp logic analyzer screen cap) code: [select] // i2c digital potentiometer // nicholas zambetti <http://www.zambetti.com> // , shawn bonkowski <http://people.interaction-ivrea.it/s.bonkowski/> // demonstrates use of wire library // controls ad5171 digital potentiometer via i2c/twi // created 31 march 2006 // example code in public domain. // example code in public domain. #include <wire.h> void setup() {   wire1.begin(); // join i2c bus (address optional master) } byte val = 0; void loop() {   wire1.begintransmission(44); // transmit device #44 (0x2c)                               // device address specified in datasheet   wire1.write(byte(0x00));            // sends instruction by

Variable changed without code

Image
hi this simple code bellow displays difference in variables , b on serial output (ide 1.0.5, deumillanove). variables should equal , not changed within code, expect serial output should write ok. this not case, writes "not equal ". any ideas why ? regards dino /*   encoder test   created dino mrvalj 2014 */   #include <wire.h> int = 0; int b = 0; void setup() {   = 0;   b = 0;   wire.begin();    serial.begin(57600);    serial.println (" start ");    } void loop() {   /***********************************************************************************   *  printout not expected   ***********************************************************************************/   = b;   b = a;      if (a=!b) {         serial.print ("a: ");  serial.print (a);  serial.print ("   - b: ");  serial.print (b); serial.println ("    not equal !?");   }   else {     serial.print ("a: ");  serial.print (a);  serial.print ("   - b:

Thread: New Project - Open Source Locomotion type game

i have idea in head new open source project, , poll people involved in project in number of different roles - see poll above. project transport simulator (a bit locomotion released on pc while back) following key features. 1 realistic route finding, through junctions. 2 signals per train based on pre-planned route (rather simplic signal per line regardless of route). 3 different types of passengers, based on locality of stations/airports etc. 4 multi trip passengers (so makes sense have station next airport, feed off each other). 5 ability manage schematic view of transport routes. 6 routes managed idependently of vehicles, easier add (or remove/upgrade vehicles). 7 lots of industry, building types attract (or maybe detract own type of cargo/passengers). 8 transport routes expand attraction of particular types of buildings - instance cinema in 1 town attract customers town (if passenger transport exists). 9 realistic travel times, , ability s

Changing Joomla URL - Joomla! Forum - community, help and support

Image
hey hey everyone, i'm working on site http://www.lugarnoonline.com , whenever clicks link takes them http://www.prizecollect.com/joomla/pageurl.php instead of http://www.lugarnoonline.com/pageurl.php although url http://www.lugarnoonline.com/pageurl.php still works the site hosted on prizecollect.com domain have domain lugarnoonline.com pointed directory. guess mustve installed prizecollect.com/joomla instead of lugarnoonline.com, know how can change it? any ideas , suggestions appreciated thanks chris problem solved Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

Thread: Need help with USB->RS232(DB9)->Genesis controller

i have usb-rs232 (9 pin connector) , i'm trying find way use joystick/controller kega fusion. problem is, can't seem find kind of drivers this. know kernel should have installed in it, , shows under ttyusb0. there i'm lost. there out there willing me out? wanted use cheap alternative hid would've cost me 5x more cost. , it's not difficult in windows , seems here. yeah, know, would've been less hassle, wanted save few bucks , used have more fun doing things way. if willing help, i'll comply try , going. thanks. i don't think can use usb serial adapter sega genesis controllers on operating system. rs-232 uses different protocol; among other things, uses 2 lines data transfer (send , receive), , voltage -12v/+12v. genesis controller uses several lines controls , uses ttl signalling (0v/+5v). if did genesis controller working serial port, i'd know how did it.

Thread: how to get COMPLETE themes

Image
hi all downloaded few themes gnomelook, , thought found 1 liked (moomex), later on opened synaptic, , theme looked old windows 95. synaptic has problem, other programs great. im guessing because moomex isn't complete theme. anyway, want know is, how complete themes come ubuntu? (except cooler ) also, whats difference between gtk 1.x, gtk 2.x, , metacity themes in gnomelook? what looks windows 95? icons incorrect? might need restart application new theme apply. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] how to get COMPLETE themes Ubuntu

Updating Joogle Map?? - Joomla! Forum - community, help and support

anyone here using joogle component?  installed wonderfully , has been customized enough. the problem backend won't allow edit of fields , how seem once user puts in location - that's location life. any suggestions?  finding support component has been nightmare. supern00b wrote: anyone here using joogle component?  installed wonderfully , has been customized enough. the problem backend won't allow edit of fields , how seem once user puts in location - that's location life. any suggestions?  finding support component has been nightmare. i've had little trouble finding component. though i'm registered , logged in @ joomlapolis, component not listed in downloads section. we want use on site , need make customizations it. can have coders @ issues mentioned. send me component? jomaco1 @ gmail.com thanks. [edit]no need send file, has been published on joomlapolis[/edit] Board index Joomla! Older Version Support Joomla

using downloaded source files

hi, i have downloaded source files captivate. when extract zip file see couple of .tmp files data.xml file. i not gettig how use these files. i new cativate , if silly question sorry not fined .cp or .swf file after exracting ths zipped file. could please explain me how shall proceed woth this.?? regards, prashant patil please tell talking when "source files captivate". where downloading from, , supposed included in download - is, why downloading @ all??. thanks. . More discussions in Quizzing/LMS adobe

Thread: conio and getch not there?

is there reson getch(), clrscr , conio.h not supported in linux?there discussion in college, why these funcyions not there, ./a.out got program either c/c++, run in windows?? how it? because non-standard. linux supports posix standard plus defined libraries (plus system stuff portable software shouldn't use). portable software shouldn't use anyway, there no real need have it. conio.h contains stuff people @ borland(?) made themselves. actually, there project have "libconio" in linux, abandoned reason: http://sourceforge.net/projects/libconio/ Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk conio and getch not there? Ubuntu

Thread: How do you rotate a clip in Kino?

i used little digital camera film... when filmed vertically camera clip tipped on side in kino. how rotate it? can i? go , on camera i've deleted there. help? i agree. kino needs ability rotate video clips. many people using digital photo cameras take short clips, , kino great @ stitching them short youtube video, need able rotate video 90 degree 1 direction or other. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] How do you rotate a clip in Kino? Ubuntu

internet connection over ssh, ethernet - Raspberry Pi Forums

hello, struggling internet connection of raspi. connected raspi pc via ethernet cable. use ssh( putty) reach raspi. internet connection sharing enabled. using debian wheezy. can ping ip or host name 8.8.8.8 or http://www.google.com . when try use browser go website, not connecting server. same when trying updates ( sudo apt-get update ), not connecting server. tried local area connection both assign ip automatically checked , unchecked. pc ip configuration: (ethernet adapter local area connection) ipv4 address : 192.168.137.1 subnet mask : 255.255.255.0 ipv4 address : 169.254.157.63 subnet mask : 255.255.0.0 cmdline.txt ip assignment ip=169.254.157.70::169.254.157.63 raspi ifconfig inet addr : 169.254.157.70 bcast : 169.254.255.255 mask : 255.255.0.0 sudo nano /etc/network/interfaces auto eth0 allow-hotplug dhcp sudo nano /etc/resolv.conf nameserver 8.8.8.8 nameserver 8.8.4.4 can see problem is? new , cant solve it. the 137 in pc

HDMI is freezing with HD44780 LCD is connected via MCP23017 - Raspberry Pi Forums

hi there, have non-explainable issue raspberry pi 2 model b somehow related hd44780 16x2 lcd display connected via mcp23017-e/sp expander on i2c interface. once have lcd display connected, raspberry hdmi output gets frozen in couple of hours. @ time, when hdmi freezes, lcd continue working or show garbage on screen. once hdmi output got frozen, raspberry not gracefully rebooted. need plug power out restart it. however, else works fine besides hdmi , reboot. behaviour not depend whether have adafruit touch screen connected or tv-set (it samsung in case). means, hdmi output freezes, not end-device. lcd powered 5v, while mcp23017 powered 3.3v know might issue? how pi working both lcd on mcp23017 without freezing hdmi? regards, victor nakvic wrote: hi there, have non-explainable issue raspberry pi 2 model b somehow related hd44780 16x2 lcd display connected via mcp23017-e/sp expander on i2c interface. once have lcd display connected, raspberry hdmi output gets frozen in co

OBD - II adapter and software serial - need help in library modification

hello! i use obd-ii adapter arduinodev.com , arduino obd library https://github.com/stanleyhuangyc/arduinoobd/tree/master/libraries/obd this library work if connect adapter rx , tx pin of arduino (i have serial output version of adapter) how can use library softwareserial ? i need hardware serial free use usb connection facilities of arduino board communicate master computer on usb. can check library , modification software serial? thanks. sorry bad english. that library abstracts serial port use. add include statement header file, softwareserial. create instance of softwareserial class, called obduart, , comment out stuff: code: [select] #ifndef obduart #if defined(__avr_atmega32u4__) || defined(__avr_atmega2560__) || defined(__avr_atmega1280__) || defined(__avr_atmega644p__) #define obduart serial1 #else #define obduart serial #endif #endif Arduino Forum > Using Arduino

controllo arcade con Leonardo

salve tutti ,mi sto imbattendo nella costruzione di un cabinato di giocchi come quelli che si trovavano nei bar una volta. per collegare tasti al pc esistono gia' in commercio soluzioni ad hoc ma essendo un fai-da-te (che lavori per due e spendi per tre) volevo cimentarmi con il nostro amato arduino ,anzi leonardo ,meglio arduino micro. il perche' e' semplice: atmega32u4 viene riconosciuto tramite usb come  hid e quindi tastiera e il gioco e'fatto. da gestire ci sarebbero 4 ingressi per il joystic 6 tasti (il tutto per due giocatori) + altri 5 tasti (1 player 2 player esc enter e coin) per un totale di 25 ingressi . per non essere propio nubbio (anche se lo sono) ho pensato di usare delle resistenze per tasto raggruppando il tutto in 5 ingressi analogici (1=joy 1 ,2= tatsi 1 ,3=joy 2 ,4=tasti 2  , 5=tasti extra) sto preparando un millefori che alloggera' arduino micro con 6 morsetti vite (i5 ingrrssi e  +5 v comune per tutti tasti ) con leresistenze di pul

Bit-Bang PWM at high speed

i maintain library output of ir signals. use hardware pwm directly manipulating registers , setting output frequency. call pwm it's 33% on in instances. need able vary frequency between 36 khz , 57 khz. works fine if have pwm pin available , timer available. variety of arduino platforms grows it's bit difficult maintain. able output specific frequency using pin make code more hardware independent. i need function such "send_frequency(freq,count)" cycle , output been @ specified frequency specified number of cycles. my concern @ speeds i'm talking about, , ordinary c++ while or loops , delaymicroseconds might not fast enough. might have write in-line assembly code although might defeat goal of hardware independence. my bottom line question is… know of existing library this? hate put lot of effort if has solved problem. google searches haven't turned work @ speed. thought check experts here see if else had tried or knew of existing code before go reinv

CFM Visual Studio - like Editor Exist?

we're using coldfusion 6 on our server. code in production quite old , these days we're using asp.net. i've been tasked updating coldfusion .cfm file containing basic looking input form. problem im having cfm file difficult analyse contains numerous include statements , seems accessing database metadata build form dynbamically. editing simple form seems quite daunting. can recommend visual studio tool can make visuallizing , editing of easier? im not coldfusion develoiper , not clear if cfm code dynmaically generated or manually created in house. cfm code broken down reusuable parts manageability impossible. seems computer generated. havent read on coldfusion studio if still available make kind of cfm management easier? thanks. cf studio has pretty been replaced dreamweaver. it won't show links between components vs will, organize code , make things easier view. More discussions in ColdFusion adobe

Found another solution to avrdude stk500 not in sync error

i have duemilanove , getting sync errors whenever tried use new atmega328 chip (both , without boot loader installed). when reinstalled original 328, worked fine. the solution had implement purchase usbtinyisp. connect duemilanove. under 'tools' menu, make sure had proper board selected (in case 'duemilanove atmega328) , programmer set usbtinyisp. note* - did have driver usbtiny and, also, menu>serial port setting isn't used under configuration. finally, had reburn bootloader. works again!! i should mention, here, able program new atmega chips when used borrowed arduino uno. had 2 ways fix sync error, since usbtiny saved me $$ went route. it appear, me, arduino software has issue identifying mismatch on bootloader protocol on duemilanove board. is, assuming there difference in bootloaders between duemilanove , uno. when used original duemilanove chip, worked fine. when used blank or prewritten bootloader (assuming bootloaders same or updated version), no jo

Timer0 ISR Routine Not Triggering

for led screen project, i'm trying implement bit angle modulation control brightness of leds. part of requires use of interrupts refresh screen , control how long leds on. i decided use timer0 (and yes know messes delay() , millis()), , able timer running. whatever reason though, cannot seem isr fire. i've read through datasheet '328 , seems flag trigger interrupt automatically set upon compare match tcnt0 , ocr0a. know matching because have oc0a pin toggling , can see waveform on scope, isr still won't go. i've looked @ many many sites online , compared code , should fine far can tell. missed something....can , see if screwed somewhere? code: [select] /* * mastercode.cpp * * created: 5/7/2014 4:09:49 pm *  author: brandon */ #include <avr/io.h> #include "arduino.h" #include "masterspi.h" #define refresh 100 //refresh frequency in hertz volatile int timer[4]; volatile int pos=0; void initializeinterrupt(int refreshrate) { /

Component/Plugin to let two Admins edit at one? - Joomla! Forum - community, help and support

Image
is there component/plugin lets 2 admins edit content item @ once or @ least 1 doesnt lock content item if stupid admin quits leaving locked this 1 of annoying things joomla! understand need let 1 person @ time edit item, let items checked out forever if admin doesn't close or save pain-in-the-neck. i've never thought solving component instead of changing core code. think idea has potential. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Remote Aircraft Unicom - Raspberry Pi Forums

i have problem think raspberry pi solve. need communities guidance , direction. small aircraft community in north carolina. mountainous. our airstrip @ top of hill. poa (property owners association) @ bottom mountain , not line of site airstrip. need unicom (vhf radio) heard , able transmit airstrip @ top. have internet broadband @ both sites. need way remote mike , speaker unicom transmitter @ airstrip down poa office. thought use broadband tcp/ip network "wire" if , use 2 raspberry pi @ 2 locations serve brains control mike push talk , mic , speaker communications. question how? hardware needed? software? how wire it? raspberrypi

Javascript e link su pagina - Joomla! Forum - community, help and support

salve tutti, premetto che mi sono avvicinato da poco joomla.... volevo sapere se: 1) e' possibile includere codice javascript su alcune pagine che si creano? 2) ho realizzato alcune pagine (contenuto statico) e vorrei inserire un elenco che linka ad altre pagine (contenuto statico) che ho realizzato. come faccio creare link queste pagine? grazie mille tutti benvenuto nel forum juza72. ti riesco rispondere solo alla prima delle domande che hai posto. puoi certamente inserire del codice javascript in joomla. tieni presente che molti template hanno già di default delle applicazioni java. l'importante è specificare nell head dell'index.php la stringa di richiamo del java..... ossia: tra tag dovrai inserire il codice racchiuso, attenzione, dai tag . Board index Joomla! International Language Support International Zone Italian Forum

Joomla page frame and pics don't show up when calling from client site - Joomla! Forum - community, help and support

hi, can me. i'm using joomla 1.0.10 stable full package on red hat linux entreprise edition. joomla installation ok problem when trying call client site, contents display , frame , pic don't show up. when try call administrator, login in page ok menu bar doesn't appear , pictures don't show up. what should do? check mosconfig_live_site url setting in configuration.php file. has match url give client. also, access administrator url set there. this sort of thing can happen if working locally, on say, localhost set external access via dns or dynamic dns service. have use url external access. Board index Joomla! Older Version Support Joomla! 1.0 Administration - 1.0.x

Which is small in size Twitting ? Json ? Website data passing thru var url ?

which small in size twitting ? json ? website data passing thru var url ? hello, i ask has small footprint xively httpclient webserver/client (using url var passing) json twitting which smallest consume less program mem , sram space ? i have bigger code , want add cloud/web data logging imp note: using ethernet shield sd w5100 , using sd data logging on it... also passing data dht22 temp,humdity,rtc time, date, functions(device) response on/off.... etc in 1 line. i doubt there between them. bulk of work in transport stack, handled network interface rather sketch. protocols you're talking simple text based protocols. things may trip if use protocol library has features don't need may waste space, , if you're accessing service requires encryption or authentication substantially increase size , complexity of client. Arduino Forum > Using Arduino > P

Urgent* Deal with a 7*8 sensing matrix (FSR) using Matlab

Image
hi everyone, i kind of new arduino in past month managed built sensing matrix of multiplexer. the serial output can collected using back-to-basic codes pin switch using combination of 3 digital i/o pins. const byte addressa = 2; // multiplexer address select lines (a/b/c) const byte addressb = 3; const byte addressc = 4; byte numberofsensors = 56; xxx   digitalwrite (addressa, (sensori & 1) ? high:low);   digitalwrite (addressb, (sensori & 2) ? high:low);   digitalwrite (addressc, (sensori & 4) ? high:low);   // read sensor @ a0   return analogread (sensorm1); however next step pain me because i'm trying shift of these matlab further data processing neural network. i understand a. analogread() it's been hard data arduino hardware: 7*8 force sensitive resistors arduino mega 2560 interface: matlab 2012a would kind give me clue/ break through? thank in advance hi everyone, i believe problem more multiplexing related. i kind of new arduino

bitmapData scale bug

hi, i importing movie external image, once loaded make bitmapdata object of it, scale half , attach dynamically created mc (i know procedure doesn't make sense, part of larger procedure won't describe in here). anyway, newly created mc displays image correctly, actual size same of original image, not half of it. put code new movie , check yourself: import flash.display.bitmapdata; import flash.geom.matrix; _level0.createemptymovieclip("_mc",1); var _mcl:moviecliploader = new moviecliploader(); var _obj:object = new object(); _obj.onloadinit = function() { // adding line around mc see boundaries _mc.linestyle(1,0x0000ff); _mc.moveto(-1,-1); _mc.lineto(_mc._width,-1); _mc.lineto(_mc._width,_mc._height); _mc.lineto(-1,_mc._height); _mc.lineto(-1,-1); trace("mc: "+_mc._width); // outputs original image's width var _bmp:bitmapdata = new bitmapdata(_mc._width,_mc._height); var _matrix:matrix = new matrix(); _matrix.scale(0.5,0.5); _bmp.draw

arguments

i have remoteobject calls in cfc data. want send variable along remoteobject cfc. syntax in remoteobject send variable? , part of cfc look? thanks george i did try inside remote object error saying element supplierid is: undefined in arguments <mx:method name="supplierid"> <mx:agruments> <supplierid> {application.application.parameters.supplierid} </supplierid> </arguments> </method> More discussions in Flex (Read Only) adobe

GPS location using 2 receivers - Are they the same?

hi, goal:  have 2 robots, both gps.  want have them driving randomly outside, , have robot send gps coordinates robot b.  robot b goes robot is. i want know if put 2 gps receivers next each other, register same coordinates?  (i know gps devices have error associated it.  i'm curious if coordinates same, register same error guess irrelevant?) yes, know best way them , try, i'd see if there know answer before invest $100. here's example of device i'm thinking of using: (ground robots) http://www.adafruit.com/products/1272?gclid=coykncfnkr4cfemsogod-t8apq (uavs) http://store.3drobotics.com/products/apm-2-dot-5-plus-assembled-set-top-entry will outcome better if both brands same, or not matter?   because otherwise, may want use 1 shield, , 1 gps module on breadboard uno robot come me: http://www.superdroidrobots.com/shop/item.aspx/66-channel-ls20031-gps-receiver-module-mt3339-chipset/1647/ i've compared results of using gps receivers diffe

Twitter - Simple Post Example

hello. i tried run twitter simple post. apparently communication take place following error code: [select] connecting ... failed : code 0 any suggestion appreciated. regards more details please: how trying connect? gprs? network shield? wifi? where find sketch (post here using code # tags)? Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > Twitter - Simple Post Example arduino

wireless communications with rf 433Mhz

got set of: 433mhz rf wireless transmitter + receivers. did searching , found these tow sketches. work. instead of printing  "hello" on screen of computer connected receiver,  seems sending string of numbers like:  48 65 6c 6c 6f.  need able send short text strings. idea whats up?  i'm using 2 arduino uno's. transmitter code: code: [select] // transmitter code #include <virtualwire.h> //grove - 315(433) rf link kit demo v1.0 //by :http://www.seeedstudio.com/ //connect sent module d2 use  #include <virtualwire.h> int rf_tx_pin = 12; void setup() {   vw_set_tx_pin(rf_tx_pin); // setup transmit pin   vw_setup(9600); // 2000 transmission speed in bits per second. } void loop() {   const char *msg = "hello";   vw_send((uint8_t *)msg, strlen(msg));  // send 'hello' every 400ms.   delay(400); } the receiver code: code: [select] // recever//grove - 315(433) rf link kit demo v1.0 //by :http://www.seeedstudio.com/ //connect receive