]> www.fi.muni.cz Git - bike-lights.git/log
bike-lights.git
11 years agoadc.c: configurable number of pre-readings
Jan "Yenya" Kasprzak [Sun, 17 Mar 2013 16:59:23 +0000 (17:59 +0100)]
adc.c: configurable number of pre-readings

When there is a supposed ADC noise problem, it is handful to drop
several first readings, and even discharge the ADC capacitor
by reading the single-ended wire connected to zero. This commit
rewrites the ADC handling to allow exactly this, for each ADC input.

11 years agobuttons.c: magnet for the Hall probe not present?
Jan "Yenya" Kasprzak [Thu, 14 Mar 2013 21:12:33 +0000 (22:12 +0100)]
buttons.c: magnet for the Hall probe not present?

Handle the case when the Hall probe magnet is not present.

11 years agocontrol.c: reset the braking variable
Jan "Yenya" Kasprzak [Thu, 14 Mar 2013 21:12:13 +0000 (22:12 +0100)]
control.c: reset the braking variable

11 years agoadc: fix the button adc number
Jan "Yenya" Kasprzak [Thu, 14 Mar 2013 19:20:48 +0000 (20:20 +0100)]
adc: fix the button adc number

... and use symbolic constants in the switch statement to avoid
this kind of bugs in the future.

11 years agoadc: missing break statement
Jan "Yenya" Kasprzak [Thu, 14 Mar 2013 18:07:02 +0000 (19:07 +0100)]
adc: missing break statement

oh well.

11 years agofirmware: buttons + hall probe via ADC
Jan "Yenya" Kasprzak [Fri, 8 Mar 2013 21:52:16 +0000 (22:52 +0100)]
firmware: buttons + hall probe via ADC

11 years agobattery.c: adjustment for 1.1V internal reference
Jan "Yenya" Kasprzak [Wed, 6 Mar 2013 23:19:43 +0000 (00:19 +0100)]
battery.c: adjustment for 1.1V internal reference

11 years agopattern.c: shorten the final delay
Jan "Yenya" Kasprzak [Wed, 6 Mar 2013 21:54:02 +0000 (22:54 +0100)]
pattern.c: shorten the final delay

Shorten tne final delay in number patterns and off_pattern.

11 years agopattern.c: synchronized patterns
Jan "Yenya" Kasprzak [Wed, 6 Mar 2013 21:51:55 +0000 (22:51 +0100)]
pattern.c: synchronized patterns

- status LEDs should not blink together
- PWM LEDs should start synchronized, in order to allow for compensation
of battery voltage variations when one output is on
compared to when more outputs are on

11 years agoRemove unused PATTERN_FOREVER
Jan "Yenya" Kasprzak [Wed, 6 Mar 2013 10:41:19 +0000 (11:41 +0100)]
Remove unused PATTERN_FOREVER

This is not used by any pattern anymore - remove it.

11 years agoMakefile: handlebar schematics for the web pages
Jan "Yenya" Kasprzak [Tue, 5 Mar 2013 13:09:49 +0000 (14:09 +0100)]
Makefile: handlebar schematics for the web pages

11 years agoambient zones adjusted
Jan "Yenya" Kasprzak [Wed, 6 Mar 2013 15:05:10 +0000 (16:05 +0100)]
ambient zones adjusted

11 years agoHandlebar switches
Jan "Yenya" Kasprzak [Tue, 5 Mar 2013 12:54:34 +0000 (13:54 +0100)]
Handlebar switches

I have decided to implement a brake light, which I want to trigger using
Hall-effect sensor mounted in the brake lever. Unfortunately I still
have only three wires for two switches and a Hall-effect sensor, so I
would have to change the digital switch readings (on/off) to ADC
readings (voltages selected using voltage split on resistors).

Here is the schematics for the whole handlebar electronics, and the
symbol file and datasheet for the Honeywell SS341RT Hall-effect sensor.

11 years agolights.h: fix prototype name
Jan "Yenya" Kasprzak [Thu, 28 Feb 2013 00:11:46 +0000 (01:11 +0100)]
lights.h: fix prototype name

11 years agocontrol.c: handle "battery critical" state
Jan "Yenya" Kasprzak [Thu, 28 Feb 2013 00:00:57 +0000 (01:00 +0100)]
control.c: handle "battery critical" state

11 years agocontrol.c: display battery status on status led by default
Jan "Yenya" Kasprzak [Wed, 27 Feb 2013 23:58:04 +0000 (00:58 +0100)]
control.c: display battery status on status led by default

11 years agopattern.c: num_pattern(10) is also allowed
Jan "Yenya" Kasprzak [Wed, 27 Feb 2013 23:57:35 +0000 (00:57 +0100)]
pattern.c: num_pattern(10) is also allowed

11 years agobattery.c: rework
Jan "Yenya" Kasprzak [Wed, 27 Feb 2013 23:56:55 +0000 (00:56 +0100)]
battery.c: rework

We can use values in mV instead of 100 mV. We can also provide
the battery level on scale from 1 to 10.

11 years agoadc.c: more measurements of ambient light
Jan "Yenya" Kasprzak [Wed, 27 Feb 2013 22:28:35 +0000 (23:28 +0100)]
adc.c: more measurements of ambient light

11 years agoambient.c: zone adjustments
Jan "Yenya" Kasprzak [Wed, 27 Feb 2013 22:28:16 +0000 (23:28 +0100)]
ambient.c: zone adjustments

11 years agobattery.c: priority of operations
Jan "Yenya" Kasprzak [Wed, 27 Feb 2013 22:27:46 +0000 (23:27 +0100)]
battery.c: priority of operations

... in order to fit to an 8-bit value.

11 years agoRevert "adc.c: make the ADC handlers non-atomic"
Jan "Yenya" Kasprzak [Wed, 27 Feb 2013 21:49:42 +0000 (22:49 +0100)]
Revert "adc.c: make the ADC handlers non-atomic"

This reverts commit eb2f91ea7806fd8f5b9a5597fcf5c13855911d71.

We will probably not need non-atomic handlers.

11 years agopattern: laser diodes as gpio 4
Jan "Yenya" Kasprzak [Wed, 20 Feb 2013 21:49:36 +0000 (22:49 +0100)]
pattern: laser diodes as gpio 4

11 years agopwmled.c: shut down the boost converter later
Jan "Yenya" Kasprzak [Wed, 20 Feb 2013 21:47:24 +0000 (22:47 +0100)]
pwmled.c: shut down the boost converter later

11 years agopins.txt: converter response times
Jan "Yenya" Kasprzak [Fri, 18 Jan 2013 21:52:35 +0000 (22:52 +0100)]
pins.txt: converter response times

11 years agoambient.c: zones adjusted for photoresistor
Jan "Yenya" Kasprzak [Fri, 18 Jan 2013 21:51:40 +0000 (22:51 +0100)]
ambient.c: zones adjusted for photoresistor

11 years agoMerge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/bike-lights
Jan "Yenya" Kasprzak [Fri, 18 Jan 2013 21:50:50 +0000 (22:50 +0100)]
Merge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/bike-lights

Conflicts:
firmware/adc.c

11 years agoadc.c: make the ADC handlers non-atomic
Jan "Yenya" Kasprzak [Fri, 4 Jan 2013 16:26:08 +0000 (17:26 +0100)]
adc.c: make the ADC handlers non-atomic

will it work?

11 years agoadc.c: routine for synchronous conversion
Jan "Yenya" Kasprzak [Fri, 4 Jan 2013 14:50:14 +0000 (15:50 +0100)]
adc.c: routine for synchronous conversion

11 years agocontrol.c: blinking modes update
Jan "Yenya" Kasprzak [Sun, 16 Dec 2012 16:32:32 +0000 (17:32 +0100)]
control.c: blinking modes update

11 years agocontrol.c: on_patterns should not last forever
Jan "Yenya" Kasprzak [Sun, 16 Dec 2012 16:31:18 +0000 (17:31 +0100)]
control.c: on_patterns should not last forever

11 years agoambient light: make three measurements
Jan "Yenya" Kasprzak [Sun, 16 Dec 2012 16:29:53 +0000 (17:29 +0100)]
ambient light: make three measurements

11 years agopwmled.c: do not regulate just after mode change
Jan "Yenya" Kasprzak [Sun, 16 Dec 2012 16:28:39 +0000 (17:28 +0100)]
pwmled.c: do not regulate just after mode change

11 years agopwmled.c: disable the disconnected step-up earlier
Jan "Yenya" Kasprzak [Sun, 16 Dec 2012 16:26:50 +0000 (17:26 +0100)]
pwmled.c: disable the disconnected step-up earlier

11 years agopattern.c: off_pattern should not last forever
Jan "Yenya" Kasprzak [Sun, 16 Dec 2012 16:22:26 +0000 (17:22 +0100)]
pattern.c: off_pattern should not last forever

11 years agobuttons.c: longer keypress
Jan "Yenya" Kasprzak [Sat, 15 Dec 2012 21:22:02 +0000 (22:22 +0100)]
buttons.c: longer keypress

... after we have increased the clock frequency

11 years agoambient.c: ambient light hysteresis
Jan "Yenya" Kasprzak [Sat, 15 Dec 2012 21:21:25 +0000 (22:21 +0100)]
ambient.c: ambient light hysteresis

11 years agoschematics: more low-pass filters, fuse removed
Jan "Yenya" Kasprzak [Sat, 15 Dec 2012 20:51:23 +0000 (21:51 +0100)]
schematics: more low-pass filters, fuse removed

11 years agoMerge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/bike-lights
Jan "Yenya" Kasprzak [Wed, 12 Dec 2012 04:03:59 +0000 (05:03 +0100)]
Merge branch 'master' of ssh://anxur.fi.muni.cz/~kas/html/git/bike-lights

11 years agoschematics: bug fixes
Jan "Yenya" Kasprzak [Tue, 11 Dec 2012 16:16:29 +0000 (17:16 +0100)]
schematics: bug fixes

- low-pass filters added to the ADC pins measuring LED current
- prog_ena jumper changed to disconnect pwm0 only, as this is what makes
problem during in-system programming
- labels for LED and battery connectors moved outside the footprint

11 years agopwm.c: maximum TOP value of T/C 1 is 0x3FF.
Jan "Yenya" Kasprzak [Mon, 10 Dec 2012 21:00:28 +0000 (22:00 +0100)]
pwm.c: maximum TOP value of T/C 1 is 0x3FF.

11 years agobuttons.c - the correct IRQ is PCIE1
Jan "Yenya" Kasprzak [Sat, 8 Dec 2012 21:32:40 +0000 (22:32 +0100)]
buttons.c - the correct IRQ is PCIE1

11 years agoAbility to quickly build testing firmware
Jan "Yenya" Kasprzak [Sat, 8 Dec 2012 19:36:27 +0000 (20:36 +0100)]
Ability to quickly build testing firmware

Testing is actually development,
and non-testing is "safe" for production use, even with some
features disabled. At least for now :-)

11 years agoADC measurements in mA
Jan "Yenya" Kasprzak [Sat, 8 Dec 2012 19:27:41 +0000 (20:27 +0100)]
ADC measurements in mA

11 years agopwm.c: publish only PWM_MAX as non-internal value
Jan "Yenya" Kasprzak [Fri, 7 Dec 2012 22:03:55 +0000 (23:03 +0100)]
pwm.c: publish only PWM_MAX as non-internal value

The TOP value of Timer/Counter 1 is computed inside pwm.c and it is
purely internal to this module.

11 years agopwmled.c: factored out probing to a separate function
Jan "Yenya" Kasprzak [Fri, 7 Dec 2012 21:51:20 +0000 (22:51 +0100)]
pwmled.c: factored out probing to a separate function

11 years agopwmled.c: save error sum between mode switches
Jan "Yenya" Kasprzak [Fri, 7 Dec 2012 21:03:49 +0000 (22:03 +0100)]
pwmled.c: save error sum between mode switches

otherwise it leads to instability when during short blink the error
sum does not manage to increase the stride.

Also, use 32-bit ints to simplify the code and save some branches.

11 years agopwm.c: make it usable from non-atomic blocks
Jan "Yenya" Kasprzak [Thu, 6 Dec 2012 23:10:20 +0000 (00:10 +0100)]
pwm.c: make it usable from non-atomic blocks

11 years agopwm.c - remove unused code
Jan "Yenya" Kasprzak [Thu, 6 Dec 2012 20:38:03 +0000 (21:38 +0100)]
pwm.c - remove unused code

11 years agopwm.c: PLL clock enabling code
Jan "Yenya" Kasprzak [Thu, 6 Dec 2012 20:34:00 +0000 (21:34 +0100)]
pwm.c: PLL clock enabling code

- factored out from init_pwm() in order to be able to suspend PLL also
during normal operation
- use _delay_us(100) instead of _delay_ms(1) as recommended by datasheet
- disable PLL in susp_pwm()

11 years agofirmware: control logic moved to a separate module
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 16:37:53 +0000 (17:37 +0100)]
firmware: control logic moved to a separate module

- buttons.c now controls status LEDs only when setting parameters
- pattern.c:
can use NULL instead of off_pattern
has number_pattern() than can also set up inverted patterns
contains only number and boot patterns as static variables
can reload all patterns if some state changes
- ambient.c resets all patterns when ambient zone changes
- control.c:
- now contains almost all pattern strings, only those needed by
other modules are exported
- status LED and illumination LED can be controlled by buttons.c
- separate _pattern_select() function for each LED

11 years agoadc: always-running ADC
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 10:23:27 +0000 (11:23 +0100)]
adc: always-running ADC

Don't rely on the timer IRQ to start next round of ADC measurements,
start it immediately after the previous one finishes.

11 years agologging: consistent init function naming
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 10:13:15 +0000 (11:13 +0100)]
logging: consistent init function naming

11 years agopatterns: consistent init function naming
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 10:10:04 +0000 (11:10 +0100)]
patterns: consistent init function naming

11 years agoambient light: consistent init function naming
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 10:09:11 +0000 (11:09 +0100)]
ambient light: consistent init function naming

11 years agogpio: consistent init function naming
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 10:08:33 +0000 (11:08 +0100)]
gpio: consistent init function naming

11 years agopwmled: consistent init function naming
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 10:07:02 +0000 (11:07 +0100)]
pwmled: consistent init function naming

11 years agogpio: rework
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 10:05:36 +0000 (11:05 +0100)]
gpio: rework

use correct swtiching between pin input and output
(as per the datasheet, section 10.1.2),
remove old logic of wakeup LED notifications

11 years agobuttons, wakeup rework
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 09:58:31 +0000 (10:58 +0100)]
buttons, wakeup rework

Set up all the pin-change interrupts even for shutdown,
fix the old pins used in the code (main.c),
factor out waiting for button release from main.c to buttons.c,
fix the status LED notification during wake-up.

11 years agopwmled.c: rework
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 01:23:45 +0000 (02:23 +0100)]
pwmled.c: rework

Probing and time-averaging works, but several corner cases need to be
polished.

11 years agomake timer faster, sub-1 LSB PWM values need it
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 01:22:58 +0000 (02:22 +0100)]
make timer faster, sub-1 LSB PWM values need it

otherwise, the step-up blinks with low pwm settings

11 years agopattern.c: call pwmled.c unconditionally
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 01:14:57 +0000 (02:14 +0100)]
pattern.c: call pwmled.c unconditionally

- no not query whether the LED is alive - pwmled.c will handle this
in that case.

11 years agopattern.c: mode1_pattern out of modes 1 and 2 instead of 1 and 4
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 01:14:30 +0000 (02:14 +0100)]
pattern.c: mode1_pattern out of modes 1 and 2 instead of 1 and 4

11 years agoadc: measure gain stage offset _slowly_
Jan "Yenya" Kasprzak [Fri, 30 Nov 2012 01:12:05 +0000 (02:12 +0100)]
adc: measure gain stage offset _slowly_

use running sum of 1<<6 measurements, and do only one measurement
per loop in order to not disturb other measurements. Also, do not log
timer overruns for ADC, as we do most of the processing in ADC IRQs now.

11 years agopwm.c: typo fixes
Jan "Yenya" Kasprzak [Thu, 29 Nov 2012 20:07:51 +0000 (21:07 +0100)]
pwm.c: typo fixes

11 years agofirmware: emulate higher resolution of PWM
Jan "Yenya" Kasprzak [Thu, 29 Nov 2012 13:36:45 +0000 (14:36 +0100)]
firmware: emulate higher resolution of PWM

Emulate the sub-1 LSB resolution of PWM by updating the PWM values
in the timer interrupt routine

11 years agoadc.c: keep ADC enabled
Jan "Yenya" Kasprzak [Thu, 29 Nov 2012 13:05:08 +0000 (14:05 +0100)]
adc.c: keep ADC enabled

12 years agopwmled: more logging
Jan "Yenya" Kasprzak [Thu, 22 Nov 2012 22:00:00 +0000 (23:00 +0100)]
pwmled: more logging

12 years agopwmled: remove old unused function
Jan "Yenya" Kasprzak [Thu, 22 Nov 2012 21:26:08 +0000 (22:26 +0100)]
pwmled: remove old unused function

12 years agoambient: new zones
Jan "Yenya" Kasprzak [Thu, 22 Nov 2012 00:11:31 +0000 (01:11 +0100)]
ambient: new zones

12 years agobuttons.c: param setup fixes
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 23:58:01 +0000 (00:58 +0100)]
buttons.c: param setup fixes

12 years agopatterns: zero pattern
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 23:57:03 +0000 (00:57 +0100)]
patterns: zero pattern

similar to off, but does not last forever

12 years agopwmled: regulation using sum of differences
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 23:34:48 +0000 (00:34 +0100)]
pwmled: regulation using sum of differences

12 years agoadc: log missed timer interrupts
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 23:28:29 +0000 (00:28 +0100)]
adc: log missed timer interrupts

12 years agopattern.c: remove unused function
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 22:15:36 +0000 (23:15 +0100)]
pattern.c: remove unused function

12 years agopatterns: use mode1_pattern for all PWM LEDs for now
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 22:14:26 +0000 (23:14 +0100)]
patterns: use mode1_pattern for all PWM LEDs for now

12 years agobuttons.c: fix for setup timeout
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 22:12:31 +0000 (23:12 +0100)]
buttons.c: fix for setup timeout

we need to test whether the timeout is reached only when the setup
is in progress ;-)

12 years agolights.h: PWM_MAX for better measurements
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 22:08:22 +0000 (23:08 +0100)]
lights.h: PWM_MAX for better measurements

The PWM frequency should be different than the ADC frequency (125 kHz)
in order to measure in different parts of the PWM cycle (I should have
added a low-pass filter to the ADC inputs, but whatever :-)

12 years agoadc: measure the offset of the gain-20 stage
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 22:07:17 +0000 (23:07 +0100)]
adc: measure the offset of the gain-20 stage

We measure the offset of the ADC1:ADC1 gain 20 stage and subtract it
from ADC0:ADC1 and ADC2:ADC1 differential readings.

12 years agoadc: only 4 measurements for single-ended pwm
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 22:06:04 +0000 (23:06 +0100)]
adc: only 4 measurements for single-ended pwm

12 years agobuttons: init state when suspended during user params setup
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 20:12:26 +0000 (21:12 +0100)]
buttons: init state when suspended during user params setup

12 years agomain.c: disable also the analog comparator
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 17:14:09 +0000 (18:14 +0100)]
main.c: disable also the analog comparator

12 years agoadc: average several measurements
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 17:10:40 +0000 (18:10 +0100)]
adc: average several measurements

Also do not define the MUX values in the table in order to be able
to set also GSEL and ADMUX5 if needed.

Disable the ADC between the conversions.

12 years agofirmware: button/status LEDs
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 16:06:20 +0000 (17:06 +0100)]
firmware: button/status LEDs

(maybe the status led handling should be done in a separate module?)

12 years agopatterns: PATTERN_FOREVER
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 15:30:08 +0000 (16:30 +0100)]
patterns: PATTERN_FOREVER

12 years agofirmware: buttons-press and pwrdown rework
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 15:05:37 +0000 (16:05 +0100)]
firmware: buttons-press and pwrdown rework

Reworked short and long button presses. The long press is now also
reported only _after_ release, which allows us to simplify the power-down
case in buttons.c, and even in main.c.

12 years agofirmware/buttons.c: preliminary user params setup
Jan "Yenya" Kasprzak [Wed, 21 Nov 2012 14:32:21 +0000 (15:32 +0100)]
firmware/buttons.c: preliminary user params setup

12 years agopwmled.c: use mA-based values instead of PWM value-based
Jan "Yenya" Kasprzak [Sat, 17 Nov 2012 22:34:41 +0000 (23:34 +0100)]
pwmled.c: use mA-based values instead of PWM value-based

12 years agopins.txt: current ranges for 0.033 Ohm sensing resistor
Jan "Yenya" Kasprzak [Sat, 17 Nov 2012 21:58:15 +0000 (22:58 +0100)]
pins.txt: current ranges for 0.033 Ohm sensing resistor

12 years agofirmware/battery: init function, new resistor sizes
Jan "Yenya" Kasprzak [Sat, 17 Nov 2012 21:21:35 +0000 (22:21 +0100)]
firmware/battery: init function, new resistor sizes

12 years agofirmware: move PWM_MAX to lights.h
Jan "Yenya" Kasprzak [Sat, 17 Nov 2012 21:15:46 +0000 (22:15 +0100)]
firmware: move PWM_MAX to lights.h

12 years agoadc.c: MUX for LED 3 is on its final position
Jan "Yenya" Kasprzak [Sat, 17 Nov 2012 13:00:33 +0000 (14:00 +0100)]
adc.c: MUX for LED 3 is on its final position

12 years agopattern.c: make patterns accessible from other modules
Jan "Yenya" Kasprzak [Wed, 14 Nov 2012 00:11:36 +0000 (01:11 +0100)]
pattern.c: make patterns accessible from other modules

12 years agopattern.c: start numeric pattern with pause
Jan "Yenya" Kasprzak [Mon, 12 Nov 2012 22:51:55 +0000 (23:51 +0100)]
pattern.c: start numeric pattern with pause

12 years agoMakefile: schematics file printing
Jan "Yenya" Kasprzak [Tue, 30 Oct 2012 15:41:15 +0000 (16:41 +0100)]
Makefile: schematics file printing

The image.scm file taken from geda sources, in order to be independent
on actual geda install directories.

12 years agoschematics: .gitignore web images
Jan "Yenya" Kasprzak [Tue, 30 Oct 2012 15:41:01 +0000 (16:41 +0100)]
schematics: .gitignore web images

12 years agobattery voltage sensor
Jan "Yenya" Kasprzak [Mon, 12 Nov 2012 22:47:06 +0000 (23:47 +0100)]
battery voltage sensor

12 years agonum_pattern: longer delay
Jan "Yenya" Kasprzak [Sun, 11 Nov 2012 20:21:14 +0000 (21:21 +0100)]
num_pattern: longer delay

12 years agoAmbient light values for 300K/1M5 resistors
Jan "Yenya" Kasprzak [Sun, 11 Nov 2012 20:10:47 +0000 (21:10 +0100)]
Ambient light values for 300K/1M5 resistors

12 years agofirmware: move buttons and GPIO LEDs
Jan "Yenya" Kasprzak [Sun, 11 Nov 2012 18:17:27 +0000 (19:17 +0100)]
firmware: move buttons and GPIO LEDs

Move buttons to PA3, PA4, and GPIO LEDs to PB0,2,4,6 (as in schematics).