#garfield Logs
Jan 27 2020
#garfield Calendar
05:01 AM Tom_L: gettin your drivers figured out?
08:38 AM rue_bed: not by much
03:33 PM Tom_L: always@( posedge cout_ten ) fixed it along with the count edit
03:34 PM Tom_L: (last night's idea)
03:47 PM polprog: rtlsdr + phone = awesome
03:47 PM Tom_L: rtlsdr?
03:57 PM Tom_itx: https://www.youtube.com/watch?v=lVRRtBdOOvg&feature=youtu.be
03:57 PM Tom_L: rue_mohr, ^^
03:57 PM Tom_L: sped up for video
04:01 PM Tom_itx: always @( posedge cout_ten )
04:01 PM Tom_itx: begin
04:01 PM Tom_itx: oflow <= oflow + 8'b1;
04:01 PM Tom_itx: end
04:01 PM Tom_itx: assign LED[7:0] = oflow[7:0];
04:17 PM Tom_L: so with a 1sec clock, how long will it take to overflow all 4 7seg _and_ all 7 leds?
04:21 PM Tom_L: 8 leds...
04:24 PM Tom_L: about 1 yr 23 days
04:24 PM Tom_L: don't think i'll test it
06:07 PM rue_mohr: k...
06:08 PM rue_mohr: but the challenging part was to get it decimal, right?
06:08 PM Tom_L: decimal?
06:09 PM rue_mohr: you had it counting 0-9 and then incrementing the next digit
06:09 PM Tom_L: challenge was to get the right trigger
06:09 PM Tom_L: at least for the led part
06:09 PM rue_mohr: k
06:09 PM Tom_L: from 0-9 to 0-F wasn't hard
06:10 PM Tom_L: i'll add this to my vhdl one and see how it works
06:12 PM Tom_L: kinda fun once things go together
10:34 PM Tom_L: i wonder if a 5v encoder would run off 3.3v
10:36 PM Tom_L: and
10:37 PM Tom_L: if not, i wonder since it's open collector if the pullups could go to 3.3v even if the supply to the encoder is 5v
10:48 PM rue_mohr: are they oc?
10:49 PM rue_mohr: tomI'm sorry, I'm in the wrong lane
10:49 PM Tom_L: yes oc
10:49 PM rue_mohr: yea, just give them pullups to 3.3 then
10:50 PM Tom_L: i wonder if it would run off 3.3v
10:50 PM Tom_L: says 4.5-5.5
10:50 PM Tom_L: probably not
10:51 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/pdf/Nemicon%20OME%20Encoder.pdf
11:07 PM rue_mohr: k
11:07 PM rue_mohr: that will be a fun implementation of the state machine
11:13 PM Tom_L: i wonder if 'always@( @ ) could be used like a pin change interrupt
11:14 PM Tom_L: or rather: always@( posedge A_input or negedge A_input )
11:15 PM Tom_L: to trigger on either edge of the encoder input
11:16 PM Tom_L: instead of triggering of a clock
11:21 PM rue_mohr: yea, * will do a real always and be level too
11:21 PM rue_mohr: I think
11:22 PM Tom_L: all i see is posedge and negedge, i wonder if there is a 'bothedge' condition for a signal
11:23 PM Tom_L: looks like you have to specify that like i did above with the "or"
11:28 PM MoonyMoon: rue_mohr, can asterisk do pulse dailing?
11:34 PM rue_mohr: hmmm I think so
11:34 PM MoonyMoon: ill be triny soon I think
11:35 PM Tom_L: https://www.outsideopen.com/rotary-phone-asterisk/
11:35 PM MoonyMoon: thanks tom
11:38 PM MoonyMoon: yeah so its more a question of does the hardware detect thae dail, and nothing to do woth asterisk
11:38 PM MoonyMoon: thats kinda a "duh" moment
11:39 PM rue_mohr: yes and no
11:39 PM rue_mohr: there needs to be multiple levels of support
11:39 PM MoonyMoon: wonder if that 4 line green box is gunna work with pulse.
11:39 PM rue_mohr: velociraptor = distanceraptor/timeraptor :)
11:40 PM MoonyMoon: JAHA
11:40 PM MoonyMoon: Aceloraptor = d/t^2
11:40 PM rue_mohr: :)
11:42 PM rue_mohr: https://viewsourcecode.org/snaptoken/kilo/05.aTextEditor.html
11:42 PM rue_mohr: step 101
11:42 PM rue_mohr: I have 10 minutes
11:42 PM MoonyMoon: ? bad browser, I have to type into another machine
11:55 PM rue_mohr: printf("% *c", 15, 'I');
11:59 PM rue_mohr: hahah its not tied in
11:59 PM rue_mohr: it wont do anything till the next part