Go to advanced search

by hkpatnaik
Thu Dec 05, 2019 9:52 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi gordon, The up / down swich seems to have multiple counts otherwise every thing is perfect and i thanks u sincerely with all humility for helping me with the project. like always one last request how can i make the program auto start on power up. Like in pc s they have have a bat file is there so...
by hkpatnaik
Wed Dec 04, 2019 10:43 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

thanks Gordon last program worked perfect. Only one final question i have is the switch input call GPIO.input( sw?) is the result after the switch bounce or i have to write the switch bounce software. The up , down switch seems to get multiple increment or decrements
Thanks
Hare
by hkpatnaik
Tue Nov 26, 2019 5:12 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

hi gordon,
i fixed the sw0 so it works good but it gets stuck in lin 40 and does not go to the random number generator
sw1-1 and sw1-2 has some problem
hare
by hkpatnaik
Thu Nov 21, 2019 11:00 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

hi gordon, I need help in debugging . Most of the time i get error when i escape is that sw0 is not high or on. even though i checked with the meter it shows on. How do i put break point to make sure sw0 is on and also switch 1-1 and 1-2 is on and also sw2. I have seen it working some time. unless i...
by hkpatnaik
Thu Nov 07, 2019 7:03 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi Gordon,
I got all the parts and I am now wiring them. Could u please tell me how do i debug the program. can i try to display all the parameters before i write to file. how to put break point etc.
Thanks
Hare
by hkpatnaik
Thu Oct 24, 2019 11:32 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi gordon
parts are ordered but have not come in it. where in program u set the timer interrupt for 100 msec and where is it serviced
Thanks
Hare
by hkpatnaik
Thu Oct 17, 2019 4:29 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi Gordon, The 19" monitor is on "0" and only for display of the speed (for ex: 55 1" or 4" size) rest the boot and program run debug is on the embedded 5" display Just for debug i like to display the timer counter, speed, sw2 value display on the HDMI monitor before we write to SD card file. Thanks...
by hkpatnaik
Tue Oct 15, 2019 3:48 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

hi gordon & niegel THanks for all your help. I have some requests 1. I have 2 displays on RP4 a. embedded 5" display where it boots 2. a 19" hdmi display where i like speed data to be displayed so how do i add this display and i would also like to display the timercounter, speed, sw2 position data b...
by hkpatnaik
Sat Oct 12, 2019 4:05 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

thanks Gordon again I am getting the hardware parts will test soon and let u know the result
sinerely
hare
by hkpatnaik
Fri Oct 11, 2019 9:57 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Thank you gordon for u r prompt response. I have a 19" monitor. The switch 1 is a toggle switch meaning it is Up connects to pin13 and connects to pin 15 when down . Normally it is pulled down to gnd. In up mode 3.3v connects to pin 13 . In down mode 3.3v connects to pin 15. SW2 can connect to gpio ...
by hkpatnaik
Thu Oct 10, 2019 9:06 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

hi gordon & niegel need your help, need 2 different font size display 1" and 4" sw0 on/off switch sw1 toggle on/off switch sw2 pushbutton switch value 0 or 1 sw0 on speed=55 start 100 msec timer interrupt open a file on sd card data.txt main: display two character speed value on screen ( 1 inch high...
by hkpatnaik
Thu Aug 15, 2019 7:33 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

hi gordon,nielgl,
thanks a lot for all u r help. I live in US and EXIT0 is part of the branch. in text i basically wrote the flow chart of the program.
hare P
by hkpatnaik
Tue Aug 13, 2019 5:26 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

hi niegll, I ran your program but had syntax and definition errors but gordon's program ran perfect and i could see the result 00:00:00:000 displayed on the window. I changed the font size and could display 1" and 4" characters. hope u can help me with the total program i described in the previous r...
by hkpatnaik
Tue Aug 13, 2019 3:27 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi neilgl & Gordon, I ran Gordon's program and it ran perfect as prescribed. I will appreciate if u & neilgl can help me in my program. board has 3 push button switch inputs sw1 start on/off sw2 record speed data sw3 record video data 3 local or global variables tcounter speed when sw1 is pushed : o...
by hkpatnaik
Mon Aug 12, 2019 8:43 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi niegll
when i run big.py
i get following errors
File" .big.py" line 5 in <module>
class application( tk.frame);
File" .big.py" line 6 in application
def_init_(self ,master=None)
Name Error: name"def_init_" is not defined
by hkpatnaik
Mon Aug 12, 2019 8:32 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

# python3 and tk import tkinter as tk class application(tk.Frame): def_init_(self,master=None) super()._init_(master) self.pack() self.create_widgets() def create_widgets(self): self.hi_there=tk.Button(self) myfont=('times',132,'bold') self.hi_there["text"]="54 Hello World\n(me)" self.hi_there.confi...
by hkpatnaik
Sat Aug 10, 2019 6:16 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi neilgl,
Thanks for u r patience and i made some progress
line 6 def_init_(self,master=None): invalid syntax pointing to the semi colon :
this is while i was trying to run the program
sincerely
Hare P
by hkpatnaik
Sat Aug 10, 2019 3:44 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

hi neigel,
Thanks, sorry to bother u. I get syntax error
code:select all syntax error at ":"
also syntax error
nano big.py syntax error at big.
pls. help
hare
by hkpatnaik
Sat Aug 10, 2019 2:49 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi neilgl, Thanks for u r help. I am having trouble with key board. I have changed 3 key boards for If i use the # key on raspberry the display shows British pound sign. I can not see the # sign at all. I have not compiled but changed key boards still i can not type # sign but on my PC it shows # bu...
by hkpatnaik
Thu Aug 08, 2019 8:05 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

Hi, I have a RP board running with a monitor on the hdmi port. I also have a SD card with boot program which has NOOBS i believe. so after booting I have a Road scene and there are few tabs in the left hand corner starting with Raspberry etc. I have a key board and mouse. How do i type in the progra...
by hkpatnaik
Thu Aug 08, 2019 2:25 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

Re: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

yes it is 100msec ( 0.1sec) timer and certain events run due to the timer.
Also i need a random number generator program
by hkpatnaik
Wed Aug 07, 2019 8:18 pm
Forum: Beginners
Topic: 100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen
Replies: 49
Views: 2749

100 msec timer interrupt, input switch interrupt , display 2 numbers on a hdmi screen

hi all i am new to raspberry. pls help me with coding timer (100 msec) , switch input interrupt
how can i display 2 numbers on the hdmi screen 1'' high and 4'' high ( example 54 on 2 different size)
any help is appreciated
harry P
by hkpatnaik
Thu Aug 01, 2019 6:42 pm
Forum: General discussion
Topic: timer interrupt,switch input interrupt , display
Replies: 0
Views: 79

timer interrupt,switch input interrupt , display

Hi,
I need help with 100msec timer interrupt, switch input ( low to high) interrupt and display 2 digit ( 1'' and 4"") size digits. I am new to raspberry pi but have my noobs working and get the lane display.
pls. help if u can
thanks
hare

Go to advanced search