Posts

Showing posts from March, 2012

Thread: On boot: FSCK Fails with Exit Status 8

upon reboot: log of fsck -c3 -r -a -a thu jul 2 09:33:58 2009 fsck 1.41.4 (27-jan-2009) fsck.ext3: unable resolve 'uuid=8aad621d-6f4d-4fad-b1c3-630379f7f0e0' fsck died exit status 8 uuid not mounted hard drive. don't know belongs to. change made may have caused reformat second (non-boot) drive wipe xp , create ext3 partition. uuid belong old partition or point hardware? update: problem solved uuid changed when reformatted sdb1. edited fstab include new uuid Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] On boot: FSCK Fails with Exit Status 8 Ubuntu

Retrieve Section Name - Joomla! Forum - community, help and support

Image
hi everybody, how can retrieve section name make appear in place in template? could work (this in fantasy, hope it's possible in real world too!  ) this may help: http://forum.joomla.org/index.php/topic,9368.0.html Board index Joomla! Older Version Support Joomla! 1.0 General Questions - 1.0.x

Getting input from keyboard to output on Matrix

Image
hey guys, quite new arduino stuff , have never done programming in c. trying input keyboard, save array of chars , output array 8*8 matrix led. have combined code of previous people of keyboard , displaying message on matrix led - found on arduino website. i have tried many ways including trying save serial.read array still not luck outputing it, wonder if can @ code , see going wrong. appreciated   code: [select] #include "ps2.h" #define ps2_kc_bksp    0x08 #define ps2_kc_up      0x81 #define ps2_kc_down    0x82 #define ps2_kc_left    0x83 #define ps2_kc_right   0x84 #define ps2_kc_pgdn    0x85 #define ps2_kc_pgup    0x86 #define ps2_kc_end     0x87 #define ps2_kc_home    0x88 #define ps2_kc_ins     0x89 #define ps2_kc_del     0x8a #define ps2_kc_esc     0x8b #define ps2_kc_clon    0x8c // caps_lock on #define ps2_kc_cloff   0x8d // caps_lock off /* * pin 2 ps2 data pin, pin 3 clock pin */ ps2 kbd(3, 2); bool ps2keyboard_release = false; bool ps2key...

is this a corrupt config.txt file? - Raspberry Pi Forums

i've tried set gpu_mem=16 in config.txt on headless 256mb model change doesn't seem stick; top reveals kib mem: 189100 total higher when using start.elf files pre-upgrade of os. i'm running raspbian, upgraded couple days ago. when try change config.txt code: select all sudo nano /boot/config.txt , reboot, end of config.txt file when system , running: code: select all # uncomment c^l0��^@^@��l^p��^p^@��`0��^l^@��^@ ��l���^w���`^@��d^p��^@ ��^s���^@ �$ �^a��@@��@@d�@0��^c^@u�^t` , gpu_mem=16 missing. i having same problem. config.txt file being corrupted after 1024 bytes of text. have got gpu_mem=16 working deleting of comments, keep config.txt file size below 1024 bytes (1k). looks there bug here somewhere, corrupting config.txt file after 1024 bytes of text, appears work ok long config.txt file less 1024 bytes. raspberrypi

Controlling On/Off Speed, PWM, and Weight.

i'm trying make pseudo granular on/off tremolo effect audio signal. at moment i'm using npn transistor switch, , led indicate status. i should mention i'm new arduino-ing, using example code , trying mess things. i managed pot control rate of on/off , managed scale values useful range, i'm stuck on how implement other features want. i'd able control pwm(duty cycle?) of led. if analogread 1023 led on. , @ 0, flash tiny tiny blip @ rate set the.... rate. not sure if pwm right term in application. what kind of changes have make code below implement that? define new variable, make on/off times dependent on it? eventually want implement random control, doesn't turn on/off regularly, rather, based on value read pot, either: max clockwise : led on middle : on/off 50% of time counterclock : led off. but based on random on/off. 'weight' type value. higher 'weight' more led on (though still random), , lower weight, less led on. i know these lot o...

code help with a hotpot

i feel fundamental code question. i want use hotpot (100-10kohm), pressure sensitive potentiometer, sold sparkfun led project. unlike regular pot, once take finger off hotpot it's resistance goes minimum 100ohm. can put finger on 1 spot , specific resistance or slide finger along , change resistance. the fundamental question this: 1 use analog read read value of regular pot , store value int. but hotpot need arduino monitor hotpot(three of them in fact) , detect when hotpot being actuated. moreover, need arduino measure in "realtime" if sliding finger along hotpot , update stored value @ reasonable rate (5hz) , detect last resistance measurement when person removes finger. i have no idea how , appreciate help, if can done interrupts , direct c coding. what i'v tried far awkward series of if, else statements. in main loop have analog read check pot , divide 10 values 0-1024, if greater 5 (allow jitter) write value int hotpotnew, else move on next hotpot. next...

Arduino BT with Parallax GPS module

Image
im using arduinobt parallax gps module. i'm powering board 1 1.5v battery @ moment. i wrote small program test if can read nmea strings. program checks if can first character of nmea string ( first character = $). greenled (pin 13) turn on when first character of string $, otherwise redled(pin 12) on. the code below: code: [select] #include <ctype.h> #include <string.h> int ledpinred = 12;            //led-on = if dont $ char int ledpingreen = 13;         //led-on = if $ int rxpin = 0;                    //serial communication pin rx (receive) int txpin = 1;                    //serial communication pin tx (transmit) char buffer;                   int incomingbyte=-1;         char check='$';                 //the first valid char of  a nmea str...

Trailing

hello, i bought arduino 'diecimila' while ago, , wanted make moving light knight rider 2009. (moving 1 way, 'diecimila' supports 14 output pins) but want have trailing feature in it, cant work. i have no idea how can make it. i know how make led or more led's move left right , back. trying ages make few led's trail behind it. (a.k.a afterglow) does have example this? you try controlling trailing leds via pwm.   Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Trailing arduino

Simple Fading Code

ok, iv had arduino 2 months , iv made around 10, 15 little arduino projects find on net, have copy , past code, , follow schematics. but i want start learning write own, , built thing bed, 6 blue led's iv used code makes fade in , out, , boy dose awsome in bedroom, have little more controll on out having plug computer change speed of fading in , out. so tryed merge fading source code ; http://arduino.cc/en/tutorial/fading with analoginput source code; http://arduino.cc/en/tutorial/analoginput and heres got code: [select] int sensorpin = 0;    // select input pin potentiometer int ledpin = 9;      // select pin led int sensorvalue = 0;  // variable store value coming sensor void setup()  {   // nothing happens in setup } void loop()  {   // fade in min max in increments of 5 points:   for(int fadevalue = 0; fadevalue <= 255; fadevalue +=analogread(sensorpin); ) {     // sets value...

Setting up a forum - Joomla! Forum - community, help and support

Image
hi, i have used mambo sometime , in process of converting site joomla. to know can recommend use putting forum on site. many thanks. i use smf forum. seems little less known integrates joomla , mambo. phpbb pretty there issues logins , phpbb has security holes. if want pay 1 vbulletin works i've seen. jsut never wanted pay it. Board index Joomla! Older Version Support Joomla! 1.0 Extensions - 1.0.x Components

Arduino audio shield keeps crashing

i used have no problems playing audio off waveshield + diecimila. i.e. play different audio files off of card , have audio re-triggered etc. then hooked arduino via i2c , had play preset filename based on receiving specific single character command. worked well. now have reading in filename , getting crashes. it play audio file once , needs restarted. any idea wrong? here code pieces: filename variable: code: [select] char audiofilename[12]; my i2c receive function: code: [select] / function executes whenever data received master // function registered event, see setup() void receiveevent(int howmany) {  char command;  byte i=0;  while (true)  {    if (wire.available())    {      command = wire.receive();      break; // exit loop when sentinel arrives    }  }    switch (command)  {    case play_audio:        memset(audiofilename, 0, sizeof(audiofilename));        while (tr...

unknown italian syntex

hi, came across this fine code on @ italian side of forum. it compiles (when u add setup , loop) 1 line of code looks strange. can decypher this? code: [select] dst = (0.5l*((float)analogread( pin_st )))/10; //lettura in volt 17th line of code in second code box, original poster kokiua 0.5l ? (float)analogread(x) ? 0.5l == 0.5 double precision value. (float) analogread(x) == cast result of analogread(x) floating point value. Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > unknown italian syntex arduino

GPU supported OpenCV - Raspberry Pi Forums

Image
hello, maybe possible accelerate opencv videocore4 ? wanna know if possible, before in released code (wich isn't i'd expect ( ) excuse english, i'm still learning cheers unless aren't able hack opengl es or openvg you're out of luck. gpu toolchain secret , produces bytecode secret broadcom videocore architecture. foundation have pay lot big chunk of broadcom engineers implement , , thats why it's not going happen. ghans raspberrypi

Thread: chromium web browser console plugin with vmware server?

Image
any easy way this, use chromium , interact vm **bump** know it's old - know if possible? Forum The Ubuntu Forum Community Ubuntu Specialised Support Virtualisation [ubuntu] chromium web browser console plugin with vmware server? Ubuntu

A silly question maybe..

hey.. im new dreamweaver.. how can freely move text , images , around page? without left align.. right align.. etc... thanks in advance!! dan > how can freely move text , images , around page? > without left align.. right align.. etc... you can use layers = absolute postitioning. make dw act more a page layout application. but note tends make rather poor web sites break for chunk of users. better option hunker down , learn some html , go there. -darrel More discussions in Dreamweaver support forum adobe

Serial communication problem

Image
hello everyone im doing project in want send data serially through ir.     there 5 modules(duemilanove) , have send data 1st module 2nd,1st module data & second module data 3rd,1st2nd&3rd 4th module , on. although working order in received data in module not same  as sending order. can me suggest logic data can received in same sending order.     what's not arriving in order? 1st 2nd? 2nd 3rd? what baud trying use? sure receiving , isn't "trash" picked sensor? have tried separating comms? send 1st 2nd, 2nd 3rd without adding data in packets sent? if send char value of 1 (not ascii), receive 128 on other side? it? try posting software can see doing , if might done wrong. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Serial communication probl...

Newbie ? Using Serial monitor / UNO Tx&Rx pins

hello all, hope use forum aid in self learning of uc , programming in general. please advise: 1. how use serial monitor send commands ? 2. kind of commands send, list ? 3. , these commands transmitted tx pin, right? with these questions, hope connect serlcd 16x2 directly tx pin , use serial monitor send 1 command @ time feel controllin serlcd ? guys think ? have not tried yet on own i'm waiting serlcd show up. thks quote 1. how use serial monitor send commands ? you don't. use serial monitor send data. data may mean arduino, or not. quote 2. kind of commands send, list ? you don't send commands.you send data arduino may interpret command. list arduino sketch. quote 3. , these commands transmitted tx pin, right? the data is, yes. quote i hope connect serlcd 16x2 directly tx pin , use serial monitor send 1 command @ time feel controllin serlcd ? you can't that. if serlcd connected tx/rx pins, pc can't connect. if pc connected, serlcd can...

[Rozwiązane] Straciłem możliwość edycji "kontentu" :( - Joomla! Forum - community, help and support

Image
joomla! 1.0.4 en - wyglada tak : http://welniaczki.nazwa.pl/kuriergmin_pl/jomlik.jpg (pkt. 5) jak można odkręcić?? spróbuj z menu system wybrać opcje "odblokuj wszystkie" powinno pomóc.... o ile dobrze zrozumiałem problem  ps. w joomli en nie wiem jak dokładnie się będzie nazywać ... ale druga opcja po system info  Board index Joomla! International Language Support International Zone Polish Forum Administracja

conversion specifier

Image
hey everyone. i've managed read 3 analog inputs sensors, , send them vb6 , that's working fine. problem i'm having varying number of digits in each variable. what hoping find out thread conversion specifier use set these values(0-1023) constant set of digits(0000-1023). way vb6 can pull 4 numbers off @ time , have correct value. thanks   another alternative add termination character. e.g. 3 analog sensors send this: 1:12;2:458;3:9; this way have free format can expanded accomodate more sensors. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > conversion specifier arduino

Error 418 project-Web server teapot - Raspberry Pi Forums

hi, plan connect teapot on internet made error 418 code real. i'm starting project , i'm looking right hardware platform. first goal host simple error page, may want control real teapot in future raspberry pi seems solution project. first question capabilites of raspberry pi web server? raspberry pi powerfull enough run complex blog (like wordpress), or may used execute simple html pages? best regards my server online @ http://www.htcpcp.net used raspbian lighttpd. after 24h, internal temp 48°, usb power converter hot i'm looking usb alim wich can used 24h/24h raspberrypi

Thread: Python3.0 help

i've been reading byte of python (the python3.0 version) , examples in them myself. haven't had trouble until , wondering if me. typed out in book , tried execute , got error. traceback (most recent call last): file "objvar.py", line 42, in <module> droid1 = robot('r2-d2') file "objvar.py", line 14, in __init__ print('initializing {0}'.format(self.name)) attributeerror: 'str' object has no attribute 'format' exception exceptions.attributeerror: "'str' object has no attribute 'format'" in <bound method robot.__del__ of <__main__.robot instance @ 0xb7dd2c0c>> ignored copied , pasted example code book , got same results. here's code typed out code: #!/usr/bin/python3.0 # filename : objvar.py class robot: '''represents robot name''' # class variable, counting number of...

fast serial sendin

hi, im trying increase rate @ can sample analog , digitals , send pc.. need know sampling rate accurately im using interrupt. wondering though there faster way calling serial.print many times? send bytes in 1 call @ end of reading? or serial.print handle buffering , sending effeciently? heres code read , send far. can send 2 analog , 6 digital in 7ms. nee faster. maybe im being unrealistic? thanks pointers code: [select] {    /* analog in, number enabled */      for(analogpin=0; analogpin<analoginputsenabled; ++analogpin)      {            analogdata = analogread(analogpin); serial.print(analogdata >> 7, byte); // shift high bits output byte            serial.print(analogdata % 128, byte); // mod 32 small byte                                  }         ...

openVPN configuration - Raspberry Pi Forums

hello! followed guide: http://www.raspberrypi.org/phpbb3/viewt ... pn#p201431 copied generated files windows pc , installed theopenvpn client http://openvpn.net , renamed server.conf server.ovpn , imported client. tried connect vpn-server error: openvpnclient start server_p1633: process started , exited: [] way wondering @ no point ip-adress entered?! im new @ linux , rpi. perhaps can me. thank you raspberrypi

Ultimativ webhost - Joomla! Forum - community, help and support

svaret på mine bønner er kort og kontant servage.net de tilbyder en ultimativ webpakke kun ca. 50 kr/mdr. for det får man bl.a. 15 gb webplads 330 gb trafik pr måned op til 25 domæner med emailkontoer på samme webhotel man kan selv via kontrolpanelet vælge om man vil køre safemode off eller on. der er mulighed daglige cron jobs og meget meget mere... der er alt mange features til @ jeg gider skrive dem her, så kig selv: http://www.servage.net/?coupon=cust15329 benytter min coupon kode "cust15329" får ekstra 500 mb webplads... edit: nu får man 2500 mb ekstra plads istedet 500. og hvis nogen skulle være tvivl, så får jeg 2 måneders gratis webhost hvis jeg henviser nogen til servage. hvis så mener jeg er partisk, så lad være @ bruge min kuponkode, men klik direkte ind på siden via http://www.servage.net og dan jeres egen mening om produktet. jeg er glad servage og de indlæg kan se denne tråd er ikke skrevet ud fra økonomiske interesser. det skal lige nævnes, @ de ligger tyskl...

Grupos WM2006 - Joomla! Forum - community, help and support

Image
aqui escribo como quedo la conformación de las diferentes zonas de la primera fase del torneo del mundial de futbol alemania 2006: grupo a: alemania, costa rica, polonia, ecuador grupo b: inglaterra, paraguay, trinidad y tobago, suecia grupo c: argentina, costa de marfil, serbia y montenegro, holanda grupo d: méxico, irán, angola, portugal grupo e: italia, ghana, estados unidos, república checa grupo f: brasil, croacia, australia, japón grupo g: francia, suiza, república de corea, togo grupo h: españa, ucrania, túnez, arabia saudí *wm2006 = welt-meisterschaft 2006 = world cup 2006  cuales son sus favoritos? saludos suecia. la razón es bien secilla: zlatan. Board index Joomla! Official Sites & Infrastructure Sites & Infrastructure - Feedback/Information Archived Boards - All boards closed Spanish Forum - Archive Salón de la Joomlaesfera hispanohablante ...

Play() and Vibrato() - Functions for playing music

i've started coding arduino in earnest today, , needed speed on c, , learn how play sounds on props i'm building, decided take tone() example, , expand upon make easier input tunes. i based function loosely on how play() command on commodore 128 worked, because it's easy find monophonic ringtones in formats similar this, don't have keep track of notes , durations in 2 seperate arrays, , it's lot less typing input notes. i added ability play tones vibrato sound more pleasant.   the code set output pin 16. (a2) you'll have change contant in 2 places in vibrato function use different pin. also, requires pitches.h tone()/playmelody example. anyway, code free use please.  enjoy! code: [select] #include "pitches.h" int bpm = 300; int octave = 3; int duration = 4; // format: // o5 = set octave 5. // 4#a = sharp quarter note in octave last selected. // spaces may omitted, , need specify note duration when changes. char song1[] = "o5 8g 8g 4b 4g ...

Søger Joomla design/template - Joomla! Forum - community, help and support

Image
hey...  jeg står den situation, @ jeg skal lave en lille hjemmeside min klasse hvor der bl.a. skal være mulighed @ se billeder gym og andre fester klassen, forum, sladder spalte osv osv... problemet er bare @ jeg ikke kan finde et passende design til det, som ligesom opfylder nogle af mine krav. kravene er @ siden helst skal have 2 menuer, en venste med menu links osv og en højere med fx random billed, forum post, polls osv. det skal være så simpelt og stilrent som muligt - dvs. ikke nogen vilde farve eller effekter, bare stille og roligt. jeg har pt. kun kunne finde 1 design, som kan se www.takers.dk , men det har desværre bare kun 1 menu. så jeg ville høre alle jer derude om kendte et template som opfyldte mine krav, eller om der var en person som forbarmede sig on mig og ville lave et design til mig. hvis det så skulle ske, @ der ikke fandtes sådan et template eller der er ingen som har tid/lyst til @ hjælpe mig med et design - så ville jeg høre om, @ hvis jeg nu selv havde et d...

Bandgap Vref tolerance on PIC18FxxJxx - Raspberry Pi Forums

i'm building power controller pi (on/off button, wake on rtc, shutdown via i2c , supply glitch detection, etc.) based around pic18f27j13. voltage monitoring, need absolute reference, , pic has own bandgap reference circuit, datasheet gives no details, stating it's '~1.2v' - no tolerance data. measure 1.202v@vdd = 3.3v, , 1.198v@vdd = 3v, seems pretty accurate, luck - don't have more chips test against. have experience of using reference, , has been accurate you? opinions i've found searching net pic chips 1.024v references have been slated poor accuracy, suspect circuit has improved 1.2v references (j & k family of chips). raspberrypi

output serial monitor, goes on and on and on

Image
hi, i'm new forum, , after reading lots of different tutorials , try find solution problem myself i'd hope somebody can me. hi have push button , led light, want serial monitor following. report on/off 1 time per change. so lets led off, there should in serial monitor 1 time off, until next change taking place. zo somiting like off on off on off on i tried delay , other possibilities no success the next project want make pushbutton led, led show how many times button has been pressed, 1 time blink once en delay 5 sec. , if pressed blink 2 times , delay 5 sec. hope can magage myself it sounds need keep record of last state. then, each time through "loop()" see if state read button has changed. if has, print new state, , store new state. (uncompiled, untested) code: [select] byte laststate; ... ... void printstate (byte state) {  serial.println(state ? "high" : "low"); } .. .. void setup () {  ...  laststate = ...