> : PWM_init
>   PWM_A pin_output       \ Set pin 9 (PB1) to output
>   %10100000 TCCR1A c!    \ Store constant
>   %00010001 TCCR1B c!    \ Store constant

This stores a byte, &400 is beyond 8bits. Try ! instead

>   &400 OCR1A c!           \ Store constant

Matthias



_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to