Go to advanced search

by armf1993
Fri Nov 25, 2016 7:59 pm
Forum: Python
Topic: Updating matplotlib bar chart with a button
Replies: 2
Views: 946

Re: Updating matplotlib bar chart with a button

Hi Dave,

I forgot it. I did it now. I would thank any help.

Augusto
by armf1993
Fri Nov 25, 2016 3:07 pm
Forum: Python
Topic: Updating matplotlib bar chart with a button
Replies: 2
Views: 946

Updating matplotlib bar chart with a button

Hi, all guys here, I read about matplotlib and its use with tkinter. I am trying to plot a bar chart and to update it clicking in a button, which should upadte graph with new values of button command. How can I perform it? I can plot the graph with its initial values. Code example is below. I would ...
by armf1993
Thu Oct 20, 2016 5:45 pm
Forum: Troubleshooting
Topic: Tkinter on Python3
Replies: 3
Views: 1180

Re: Tkinter on Python3

Not solved, same problem. I really think it seems to be the way I deal with what my button return. Thanks Supra. Any other ideas?
by armf1993
Thu Oct 20, 2016 7:33 am
Forum: Troubleshooting
Topic: Tkinter on Python3
Replies: 3
Views: 1180

Re: Tkinter on Python3

I am getting the same error, if I put self as argument of my leD function I get the error below: Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.4/tkinter/__init__.py", line 1536, in __call__ return self.func(*args) TypeError: leD() missing 1 require...
by armf1993
Thu Oct 20, 2016 12:12 am
Forum: Troubleshooting
Topic: Tkinter on Python3
Replies: 3
Views: 1180

Re: Tkinter on Python3

Here is the full code, and when I press the button to turn on the led, it turns on but I get the error below the code #!/usr/bin/python import time import RPi.GPIO as GPIO from tkinter import * import tkinter as tk GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(5, GPIO.OUT) #Luminária A G...
by armf1993
Wed Oct 19, 2016 6:47 pm
Forum: Troubleshooting
Topic: Tkinter on Python3
Replies: 3
Views: 1180

Tkinter on Python3

Hi guys, I am struggling with tkinter on rpi using python3. Below follow my code, I am getting an error: button not named. I did the same code on python2 using root not self as argument my leds work perfectly. Althought using self I could only call a command without using GPIO. Could someone help me...
by armf1993
Mon May 30, 2016 7:49 am
Forum: Troubleshooting
Topic: Adding raspberry pi as a platform on netbeans
Replies: 7
Views: 2984

Re: Adding raspberry pi as a platform on netbeans

Hey buddies,

Could someone help me with this tricky issue?

Thanks
by armf1993
Thu May 26, 2016 8:52 pm
Forum: Troubleshooting
Topic: Adding raspberry pi as a platform on netbeans
Replies: 7
Views: 2984

Re: Adding raspberry pi as a platform on netbeans

Hey MikeDK,

When I created the plataform with the new path it worked perfectly, but only in that time, I've tried after to test plataform and I get the same error message. Even restarting pi and netbeans on my laptop.

I feel like I am missing something. Could you help me?
by armf1993
Thu May 26, 2016 5:47 pm
Forum: Troubleshooting
Topic: Adding raspberry pi as a platform on netbeans
Replies: 7
Views: 2984

Re: Adding raspberry pi as a platform on netbeans

Thanks MikeDK,

This was the trouble, wrong path of remote platform on my pi, I've changed as you recommended to /usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt and it worked perfectly. Thanks buddy

Awesome!!!
by armf1993
Tue May 24, 2016 8:08 pm
Forum: Troubleshooting
Topic: Adding raspberry pi as a platform on netbeans
Replies: 7
Views: 2984

Re: Adding raspberry pi as a platform on netbeans

I will code in java, but I get the error message before coding, I am trying to ad raspberry pi as a rmeote plataform on netbeans. I can make a ssh connection with my pi remotely and netbeans also can make ssh connection to create the working directory. Afterwards I get the same error message "c...
by armf1993
Tue May 24, 2016 8:52 am
Forum: Troubleshooting
Topic: Adding raspberry pi as a platform on netbeans
Replies: 7
Views: 2984

Adding raspberry pi as a platform on netbeans

Hi buddies, I am quite new on raspberry pi, I have a model 1 B+ which recently I upgraded to jessie and I was trying to add raspberry pi as remote platform on netbeans. Netbeans can get the ssh first connection with pi, even create the wrking directory on pi "/home/pi/NetBeansProjects/', but I ...
by armf1993
Fri Feb 12, 2016 9:44 pm
Forum: Troubleshooting
Topic: arecord not working
Replies: 1
Views: 1760

arecord not working

Hi fellas, I am quite new in python programming and linux. I tried to connect a usb device for recording some audio, I only could play audio, but what I record, I can't hear. Below is all of things I've tried. I would be grateful if someone could help. Fisrt I change the priority of my usb audio dev...
by armf1993
Fri May 29, 2015 1:26 am
Forum: Java
Topic: First Java program for pi on rasperry pi with netbeans
Replies: 2
Views: 868

First Java program for pi on rasperry pi with netbeans

Hi, I am just a begginer at pi and I'm trying to do my first program with netbans for pi, but I am having a trouble, when I run the program, it crashes at "Accessing GPIO..." I'd be greatful if someone helpe me. The code is below import javax.microedition.midlet.MIDlet; import jdk.dio.Devi...

Go to advanced search