Add multitone support for loudspeaker
This commit is contained in:
		| @@ -58,10 +58,11 @@ int led_get(uint8_t num); | ||||
| #define LOUDSPEAKER_PORT GPIOB | ||||
| #define LOUDSPEAKER_RCC_MASK RCC_AHB1ENR_GPIOBEN | ||||
| #define LOUDSPEAKER_PIN 1 | ||||
| #define LOUDSPEAKER_MULTIFREQ 1 | ||||
|  | ||||
| void loudspeaker_setup(); | ||||
| void loudspeaker_set(int val); | ||||
| int loudspeaker_get(); | ||||
| void loudspeaker_set(uint16_t val); | ||||
| uint16_t loudspeaker_get(); | ||||
|  | ||||
|  | ||||
| #endif /* __DIGIO_H__ */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user