-California dials for readability
-Interrupts in physical computing
-akin to mouse handlers in Javascript
-akin to callback function
-external interrupts: can detect rising, falling, and high/low state change
-internal interrupts: our counter in the program goes to 100, interrupt at 101
-you can refer to variables that are only in the interrupt routine without ever calling it. you can put it in setup or loop
-when things are pushed, that springiness of the button can cause bouncing as no signals are ever square. they are up and down and the interrupt is so fast (almost instantaneous), it can catch it. However, that means we get a false change so we need to code for mechanical noise aka debounce code
-interrupt service routine in the arduino core and is like a handler for physical computing. we change code from always asking, for example, the state to only checking when there is a change in state. it’s like doing this instead of an if statement in the loop function. it’s also really fast
attachInterrupt(digitalPinToInterrupt(a pin), a function, a constant (like high or low) that is the state we want our interrupt to attach to) if high or low changes with the pin, the function the middle will run automatically. we don’t need to ever literally call it. The function should do as little as possible and quickly as possible and the variables in it need to a modifier volatile int volatile bool. You don’t want serial information to get stuck when the interrupt is called so it has to be simple and fast.
-Encoders
-library needs interrupts because it is turned so fast it can be missed otherwise. all encoder pins need to be attached to interrupts to work.
-encoder gives rotation info
-potentiometer creates analog voltage but the encoder tells the computer that it is rotating one tick in whatever direction. so you can get speed and stuff
-absolute encoder has a system that knows where it has been rotated to
-relative encoder lets you distinguish clockwise and counterclockwise rotation using A or B signals
-Oscilloscope is a tool for seeing time
-Microcontrollers
-go very fast
-can see voltage
-has a memory
-Symbol grounding problem
-if you have a system that just manipulates numbers, how does that attach to meaning in the world
-how did we get the symbol of the real world in our brains
-https://plato.stanford.edu/entries/chinese-room/
-proposed solution: embodied cognition
-History and time needed to understand and make higher level calls? even for body? AI and time
-“..any tenfold quantitative change is a qualitative change…” The Clock of the Long Now. it’s a new idea, a revolution
-COME UP WITH OWN TIMEKEEPING SYSTEM -Opi
Eliza program was to emulate a therapist that asks you a lot of therapist-esque questions
https://plato.stanford.edu/entries/chinese-room/
Focus on idea, development, presentation and ways to move forward rather than finishing