#garfield Logs

Jan 20 2019

#garfield Calendar

03:48 AM rue_shop1: ARG
03:52 AM rue_shop1: the adc is being slug-ass slow
03:52 AM rue_shop1: I'm only able to push update rates of like 1Hz on it
03:52 AM rue_shop1: or the serial data gets all ****ed up
03:52 AM rue_shop1: but its taking 100uS per conversion
03:52 AM rue_shop1: wtf
04:00 AM rue_shop1: no, thats fine
04:00 AM rue_shop1: 10 channels in 1.4ms
04:18 AM rue_shop1: wtf, I dont think this IS a issue with my controller
04:18 AM rue_shop1: I think this is an issue with the linux terminal I'm using
04:21 AM rue_shop1: it is, there is a horrid delay in the terminal
11:06 AM ffurrywol is now known as furrywolf
01:38 PM rue_shop3: yea, cause furrywool might be a sheep
01:38 PM rue_shop3: wolf in sheeps clothing?
01:39 PM furrywolf: what did I miss?
01:39 PM rue_shop3: nothing :(
01:39 PM furrywolf: there's people talking about me and I have no idea why. :P
01:39 PM rue_shop3: I worked till past 2am on the adc board, and cant get values out of it properly
01:39 PM rue_shop3: furrywolf, maybe they like you
01:40 PM furrywolf: https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/intermediary/f/46315df2-d53c-4bb2-97fd-72f88b9bd6ba/d8k9w9o-f6b9c243-7299-4de8-b8e4-1a97f66a0514.jpg soooooo cuuuuute.... :P
01:40 PM furrywolf: bbl
01:40 PM rue_shop3: hmm workshop?
01:41 PM rue_shop3: makerspace...
01:41 PM rue_shop3: makerspace at a community centre
01:42 PM rue_shop3: or school
01:43 PM rue_shop3: but I got a kermit script working
01:43 PM rue_shop3: so it nolonger takes 4 minutes of entering commands to connect to the avr
02:11 PM Jymmm: kermit?! as in terminal, serial port and all that???
02:12 PM rue_shop1: yes, I have a m328 outputting the status of the adc chip its reading as a formatted ansi terminal
02:14 PM Jymmm: colore terminal???
02:15 PM rue_shop1: yea
02:15 PM rue_shop1: with cursor control and positioning
02:15 PM rue_shop1: #define HIDECURSOR() USART_printstring( "\x1b[?25l")
02:15 PM rue_shop1: #define HOME() USART_printstring( "\x1b[1;1H")
02:15 PM rue_shop1: #define CLEARSCREEN() USART_printstring( "\x1b[2J");USART_printstring( "\x1b[1;1H")
02:15 PM rue_shop1: #define RED() USART_printstring( "\x1b[31m")
02:15 PM rue_shop1: #define BLUE() USART_printstring( "\x1b[34m")
02:15 PM rue_shop1: ;)
02:16 PM rue_shop1: but soemthing is horridly wrong
02:17 PM rue_shop1: trying to work it out
03:24 PM RonoldoMoon: heres my lib
03:25 PM RonoldoMoon: /atributes definitions
03:25 PM RonoldoMoon: #define ALL 0
03:25 PM RonoldoMoon: #define BOLD 1
03:25 PM RonoldoMoon: #define DIM 2
03:25 PM RonoldoMoon: #define UNDERLINED 4
03:25 PM RonoldoMoon: #define BLINK 5
03:25 PM RonoldoMoon: #define INVERTED 7
03:25 PM RonoldoMoon: #define HIDDEN 8
03:25 PM RonoldoMoon: /16 color definitions
03:25 PM RonoldoMoon: #define DEFAULT 39
03:25 PM RonoldoMoon: #define BLACK 30
03:25 PM RonoldoMoon: #define RED 31
03:25 PM RonoldoMoon: #define GREEN 32
03:25 PM RonoldoMoon: #define YELLOW 33
03:25 PM RonoldoMoon: #define BLUE 34
03:25 PM RonoldoMoon: #define MAGENTA 35
03:25 PM RonoldoMoon: #define CYAN 36
03:25 PM RonoldoMoon: #define LIGHT_GRAY 37
03:25 PM RonoldoMoon: #define DARK_GRAY 90
03:25 PM RonoldoMoon: #define LIGHT_RED 91
03:25 PM RonoldoMoon: #define LIGHT_GREEN 92
03:25 PM RonoldoMoon: #define LIGHT_BLUE 94
03:26 PM RonoldoMoon: #define LIGHT_MAGENTA 95
03:26 PM RonoldoMoon: #define LIGHT_CYAN 96
03:26 PM RonoldoMoon: #define WHITE 97
03:26 PM RonoldoMoon: void SetFGColor(unsigned char Color);
03:26 PM RonoldoMoon: void SetBGColor(unsigned char Color);
03:26 PM RonoldoMoon: #endif
03:26 PM RonoldoMoon: so far
03:35 PM rue_shop3: back from my walk thru theyard with ma
03:35 PM rue_shop3: RonoldoMoon, so, remember that the 3x codes are just for forcolour
03:36 PM rue_shop3: or your modifying them in the function?
03:41 PM RonoldoMoon: modify in function
03:41 PM rue_shop3: ok
03:42 PM rue_shop3: so yea, the library .h should be like
03:42 PM rue_shop3: #ifndef __mylib
03:42 PM RonoldoMoon: https://misc.flogisoft.com/bash/tip_colors_and_formatting
03:42 PM rue_shop3: #define __mylib
03:42 PM rue_shop3: .
03:42 PM rue_shop3: .
03:42 PM rue_shop3: .
03:42 PM rue_shop3: #endif
03:42 PM RonoldoMoon: oh i got a slightly diff answer from stack overflow
03:43 PM RonoldoMoon: foo.h
03:43 PM RonoldoMoon: #ifndef FOO_H_ /* Include guard */
03:43 PM RonoldoMoon: #define FOO_H_
03:43 PM RonoldoMoon: int foo(int x); /* An example function declaration */
03:43 PM RonoldoMoon: #endif // FOO_H_
03:43 PM rue_shop3: same
03:43 PM RonoldoMoon: k
03:44 PM RonoldoMoon: FOO_H_ arbituary?
03:44 PM rue_shop3: as is __blabla
03:44 PM RonoldoMoon: not have to match libname ?
03:44 PM rue_shop3: nope
03:44 PM RonoldoMoon: oh ok i thought it had a format and had to mach libname :P
03:45 PM rue_shop3: no
03:45 PM RonoldoMoon: cool
04:26 PM rue_shop3: the code that watches the sync line is missing edges
05:52 PM RonoldoMoon: how?
05:53 PM rue_mohr: when the adc was doing its interurpt routine, it detoured the processor just long enough that it didn't notice the pin change
05:53 PM RonoldoMoon: so the edge detection doesnt have its own iterupt?
05:57 PM rue_mohr: there isn't one for the pin I'm on
06:19 PM RonoldoMoon: :(
06:28 PM jym: am I here?
06:39 PM rue_mohr: no, your there
08:58 PM rue_shop1: ok, I did stuff, I worked out what I need done this week
08:59 PM rue_shop1: supper is cooking
10:20 PM Tom_L: don't burn it this time
10:20 PM Tom_L: not quite as tasty