Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - aishen

Pages: [1] 2
1
Core Development / Re: how to make a deb for ubuntu
« on: 2017-June-15 07:07:49 am »
chmod -R u+w M seems to be the googling answer
sorry for posting

2
Core Development / Re: how to make a deb for ubuntu
« on: 2017-June-15 07:03:35 am »
Hi,
I made some correction in language, but it didn't take it after recompiling. After looking I noticed, some js files aren't writable only readable ?
I tried to change permissions and it doesn't work. On google they say it might be a problem of read only in hdd, but I didn't success this way (i nearly crashed my hdd even) any advices ?
I have a ssd hdd.

3
Core Development / Re: how to make a deb for ubuntu
« on: 2017-June-14 09:41:34 am »
Thank you.. I have done it for armbian too (not really much to do : armbian is xenial basis)

https://github.com/aishenri/zip

Salut
Henri

4
Core Development / how to make a deb for ubuntu
« on: 2017-May-15 08:51:57 am »
Hi
I have compiled the french version of visualino, how can I make a deb to put it somewhere to download for french people ?

5
Core Development / Re: compilar visualino
« on: 2016-December-18 02:47:04 pm »
Do you plan to update visualino in ppa with the french language ?

6
General Discussion / Re: voltmeter
« on: 2016-December-17 01:33:31 pm »
I found a solution...
I created a float res=0
then
res=(R2/(R1+R2));
and vin=vout/res;

That's the logic ! lol
I read you message few times ago you were answering how to make it in an execute "text" very strong command !

7
General Discussion / Solution : how to insert partenthesis
« on: 2016-December-17 12:16:19 pm »
R1+R2 have tw parenthesis otherwise it doesn't work but how to put patenthesis in visualino (if it's possible ? )
#include <Wire.h>
#include <LiquidCrystal.h>

/***   Global variables   ***/
float vout;
float vin;
float R1;
float R2;
int value=0;
int analogInput=0;
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

/***   Function declaration   ***/

void setup()
{
  vout=0.0;

  vin=0.0;

  R1=100000.0;

  R2=10000.0;


  lcd.begin(16, 2);
  lcd.clear();
  Serial.begin(9600);
  pinMode(analogInput,INPUT);
  // value=analogRead(analogInput);
  lcd.print("VOLTMETRE");

}


void loop()
{
    //pinMode(analogInput,INPUT);
    value=analogRead(analogInput);
    vout=value * 5.01 / 1024.01;
    vin=vout / (R2 / (R1 + R2));
    if (vin < 0.09) {
      vin=0.0;
     }
    lcd.setCursor(0,1);
    lcd.print("ENTREE V = ");
    lcd.print(vin);
    delay(500);
    lcd.clear();
}

8
General Discussion / voltmeter
« on: 2016-December-17 10:27:58 am »
Any help ?
I tried to reproduce this voltmeter in visualino, but it doesn't work, can you guide me ?

#include <LiquidCrystal.h>
LiquidCrystal lcd(7, 8, 9, 10, 11, 12);
int analogInput = 0;
float vout = 0.0;
float vin = 0.0;
float R1 = 100000.0; // resistance of R1 (100K) -see text!
float R2 = 10000.0; // resistance of R2 (10K) - see text!
int value = 0;
void setup(){
   pinMode(analogInput, INPUT);
   lcd.begin(16, 2);
   lcd.print("DC VOLTMETER");
}
void loop(){
   // read the value at analog input
   value = analogRead(analogInput);
   vout = (value * 5.0) / 1024.0; // see text
   vin = vout / (R2/(R1+R2));
   if (vin<0.09) {
   vin=0.0;//statement to quash undesired reading !
}
lcd.setCursor(0, 1);
lcd.print("INPUT V= ");
lcd.print(vin);
delay(500);
}

9
Core Development / Re: compilar visualino
« on: 2016-December-15 04:14:00 pm »
Thanks it works !
Sorry for the inconvenience

10
Core Development / Re: compilar visualino
« on: 2016-December-15 12:17:27 pm »
qtcreator gives an error with this line : # QMAKE_EXTRA_TARGETS += first
I commented it and now it compiles but I haven't french though it's default language

11
Core Development / Re: compilar visualino
« on: 2016-December-15 12:03:52 pm »
Strange qtcreator gives me this error, but not the command line :

Could not find qmake configuration file default.
Error while parsing file /home/pi/Téléchargements/visualino-master/visualino.pro. Giving up.
Warnings while parsing QML type information of /usr/lib/x86_64-linux-gnu/qt5/qml:
<dump of /usr/lib/x86_64-linux-gnu/qt5/qml>:1:24: Reading only version 1.1 parts.
<dump of /usr/lib/x86_64-linux-gnu/qt5/qml>:10:5: Seule des définitions d'objets de Component et de ModuleApi sont attendues.

12
Core Development / Re: compilar visualino
« on: 2016-December-15 11:59:32 am »
qmake && make compile good, if I open visualino I have no french in the menu. Then I did make install, and I got french in the controlbox but I haven't any symbols or can I display code. Only editor windows and french menu, error message I got :
/home/pi/Téléchargements/visualino-master/src/html/
strip /home/pi/Téléchargements/visualino-master/src/html/roboblocks.js
strip:/home/pi/Téléchargements/visualino-master/src/html/roboblocks.js: Format de fichier non reconnu
Makefile:585 : la recette pour la cible « install_html » a échouée
make[1]: [install_html] Erreur 1 (ignorée)
install -m 644 -p /home/pi/Téléchargements/visualino-master/roboblocks/html/visualino.css /home/pi/Téléchargements/visualino-master/src/html/
install -m 644 -p /home/pi/Téléchargements/visualino-master/ts/visualino_ca-es.qm /home/pi/Téléchargements/visualino-master/src/ts/

13
Core Development / Re: compilar visualino
« on: 2016-December-15 11:36:01 am »
Ah ok.... lol
By the way have you got a lot of french people looking for visualino ?
By now it's the best visual arduino I have found working on linux and windows "on the fly".
I am making a sort of reminder for compiling and installing in french it will be in my github, if some lost french tester wants to give a try ! It's worth it !

14
Core Development / Re: compilar visualino
« on: 2016-December-15 08:17:12 am »
Lo siento, se me olvidó que era un foro español. La compilación se ha realizado correctamente. Ahora la forma de integrar en visualino francés, no tengo otra opción francesa? Puede ser necesario que se desinstala el paquete ubuntu?

15
Core Development / Re: compilar visualino
« on: 2016-December-15 08:08:21 am »
Thanks... It compiled :)
I did after your suggestions, sudo apt purge qt4*  and sudo apt install  qt5* and that was the problem because visualino was using qt4 !
Gracias
Henri

Pages: [1] 2