Windows10/AdaFruit PWM


6 posts
by jamie.dixon » Sat Sep 05, 2015 2:33 pm
I purchased an adafruit PWM board that I attached to a RP2 running Win10. https://www.adafruit.com/products/815
I now need some .NET code samples to control the PWMs. Does anyone have any offhand that they don't mind sharing?

Thanks
Posts: 3
Joined: Sat Sep 05, 2015 2:31 pm
by beta-tester » Sat Sep 05, 2015 3:52 pm
i guess PWM is not implemented in Win IoT for RPi2 yet.
(except pwm for audio on the 3.5 mm jack, but there you have no control)
[I only give negative feedback]
RPi Model B (rev1, 256MB) & B (rev2, 512MB) & B+, RPi2B (1GB), 64GB microSDXC1 class 10, HDMI 1920x1080, keyboard-mouse-combo (wireless), PiCamera, ethernet-cable, 5V/1.2A power supply, Wifi dongle (rt5370)
Posts: 911
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE
by fruitoftheloom » Sat Sep 05, 2015 3:59 pm
jamie.dixon wrote:I purchased an adafruit PWM board that I attached to a RP2 running Win10. https://www.adafruit.com/products/815
I now need some .NET code samples to control the PWMs. Does anyone have any offhand that they don't mind sharing?

Thanks

Windows 10 IoT Core has limitations, awaiting MS to develop further:

http://ms-iot.github.io/content/en-US/w ... Coding.htm
.
Ex Computer Repair & Service Technician.
RPi 3B, HP Envy 4500 Wireless Printer, Google Chromecast, Android Smart Phone, HD 1080p TV and 3/4G Mobile Internet make ideal companions.
Posts: 14156
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK
by deivid77 » Wed Jan 27, 2016 2:51 pm
Hi,

With latest release it seem RPI supports PWM.

Did you achieve this?

Best regards

jamie.dixon wrote:I purchased an adafruit PWM board that I attached to a RP2 running Win10. https://www.adafruit.com/products/815
I now need some .NET code samples to control the PWMs. Does anyone have any offhand that they don't mind sharing?

Thanks
Posts: 30
Joined: Wed Jun 24, 2015 6:09 pm
Location: Spain
by joan » Wed Jan 27, 2016 2:59 pm
IoT support of PWM is irrelevant to the linked Adafruit device. The device generates the PWM itself. What is needed is IoT support of I2C and then for someone to write the code to use I2C to talk to the device.
User avatar
Posts: 12702
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK
by ricl » Wed Jan 27, 2016 9:57 pm
IoT supports in all UWP languages the below (if you include the IoT extensions)

I2C
SPI
GPIO
UART
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am